Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebThemeEngine.h
index aa3fe1c..5e285d0 100644 (file)
@@ -39,8 +39,6 @@ namespace blink {
 
 struct WebRect;
 
-// FIXME: crbug.com/327471. We need to merge the Apple and non-Apple implementations.
-
 class WebThemeEngine {
 public:
     // The current state of the associated Part.
@@ -55,35 +53,6 @@ public:
         StateActive, // Apple-specific
     };
 
-    // FIXME: The next section describes stuff only used on the Apple port.
-    enum Size {
-        SizeRegular,
-        SizeSmall,
-    };
-
-    enum ScrollbarOrientation {
-        ScrollbarOrientationHorizontal,
-        ScrollbarOrientationVertical,
-    };
-
-    enum ScrollbarParent {
-        ScrollbarParentScrollView,
-        ScrollbarParentRenderLayer,
-    };
-
-    struct ScrollbarInfo {
-        ScrollbarOrientation orientation;
-        ScrollbarParent parent;
-        int maxValue;
-        int currentValue;
-        int visibleSize;
-        int totalSize;
-    };
-
-    virtual void paintScrollbarThumb(WebCanvas*, State, Size, const WebRect&, const ScrollbarInfo&) { }
-
-    // FIXME: The remaining definitions are only used on the non-Apple ports.
-
     // The UI part which is being accessed.
     enum Part {
         // ScrollbarTheme parts
@@ -109,7 +78,6 @@ public:
         PartProgressBar
     };
 
-
     // Extra parameters for drawing the PartScrollbarHorizontalTrack and
     // PartScrollbarVerticalTrack.
     struct ScrollbarTrackExtraParams {