Commit 2d203aa7 authored by skobes@chromium.org's avatar skobes@chromium.org

Remove WebThemeEngine::paintScrollbarThumb.

BUG=327471

Review URL: https://codereview.chromium.org/644223002

git-svn-id: svn://svn.chromium.org/blink/trunk@183581 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 683511a6
...@@ -39,8 +39,6 @@ namespace blink { ...@@ -39,8 +39,6 @@ namespace blink {
struct WebRect; struct WebRect;
// FIXME: crbug.com/327471. We need to merge the Apple and non-Apple implementations.
class WebThemeEngine { class WebThemeEngine {
public: public:
// The current state of the associated Part. // The current state of the associated Part.
...@@ -55,35 +53,6 @@ public: ...@@ -55,35 +53,6 @@ public:
StateActive, // Apple-specific 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. // The UI part which is being accessed.
enum Part { enum Part {
// ScrollbarTheme parts // ScrollbarTheme parts
...@@ -109,7 +78,6 @@ public: ...@@ -109,7 +78,6 @@ public:
PartProgressBar PartProgressBar
}; };
// Extra parameters for drawing the PartScrollbarHorizontalTrack and // Extra parameters for drawing the PartScrollbarHorizontalTrack and
// PartScrollbarVerticalTrack. // PartScrollbarVerticalTrack.
struct ScrollbarTrackExtraParams { struct ScrollbarTrackExtraParams {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment