Title: [87877] trunk/Source/WebCore
Revision
87877
Author
[email protected]
Date
2011-06-01 21:21:26 -0700 (Wed, 01 Jun 2011)

Log Message

2011-06-01  Jaehun Lim  <[email protected]>

        Reviewed by Eric Seidel.

        [EFL] Add adjustMenuListButtonStyle and paintMenuListButton functions
        https://bugs.webkit.org/show_bug.cgi?id=61836

        Add functions for rendering drop-down list when style attributes are applied.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::adjustMenuListButtonStyle):
        (WebCore::RenderThemeEfl::paintMenuListButton):
        * platform/efl/RenderThemeEfl.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (87876 => 87877)


--- trunk/Source/WebCore/ChangeLog	2011-06-02 02:53:13 UTC (rev 87876)
+++ trunk/Source/WebCore/ChangeLog	2011-06-02 04:21:26 UTC (rev 87877)
@@ -1,3 +1,17 @@
+2011-06-01  Jaehun Lim  <[email protected]>
+
+        Reviewed by Eric Seidel.
+
+        [EFL] Add adjustMenuListButtonStyle and paintMenuListButton functions
+        https://bugs.webkit.org/show_bug.cgi?id=61836
+
+        Add functions for rendering drop-down list when style attributes are applied.
+
+        * platform/efl/RenderThemeEfl.cpp:
+        (WebCore::RenderThemeEfl::adjustMenuListButtonStyle):
+        (WebCore::RenderThemeEfl::paintMenuListButton):
+        * platform/efl/RenderThemeEfl.h:
+
 2011-06-01  Yuta Kitamura  <[email protected]>
 
         Reviewed by Kent Tamura.

Modified: trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp (87876 => 87877)


--- trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp	2011-06-02 02:53:13 UTC (rev 87876)
+++ trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp	2011-06-02 04:21:26 UTC (rev 87877)
@@ -925,6 +925,16 @@
     return paintThemePart(object, ComboBox, info, rect);
 }
 
+void RenderThemeEfl::adjustMenuListButtonStyle(CSSStyleSelector* selector, RenderStyle* style, Element* element) const
+{
+    adjustMenuListStyle(selector, style, element);
+}
+
+bool RenderThemeEfl::paintMenuListButton(RenderObject* object, const PaintInfo& info, const IntRect& rect)
+{
+    return paintMenuList(object, info, rect);
+}
+
 void RenderThemeEfl::adjustTextFieldStyle(CSSStyleSelector* selector, RenderStyle* style, Element* element) const
 {
     if (!m_page && element && element->document()->page()) {

Modified: trunk/Source/WebCore/platform/efl/RenderThemeEfl.h (87876 => 87877)


--- trunk/Source/WebCore/platform/efl/RenderThemeEfl.h	2011-06-02 02:53:13 UTC (rev 87876)
+++ trunk/Source/WebCore/platform/efl/RenderThemeEfl.h	2011-06-02 04:21:26 UTC (rev 87877)
@@ -134,6 +134,9 @@
     virtual void adjustMenuListStyle(CSSStyleSelector*, RenderStyle*, Element*) const;
     virtual bool paintMenuList(RenderObject*, const PaintInfo&, const IntRect&);
 
+    virtual void adjustMenuListButtonStyle(CSSStyleSelector*, RenderStyle*, Element*) const;
+    virtual bool paintMenuListButton(RenderObject*, const PaintInfo&, const IntRect&);
+
     virtual void adjustSearchFieldResultsDecorationStyle(CSSStyleSelector*, RenderStyle*, Element*) const;
     virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInfo&, const IntRect&);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to