Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: public/platform/WebThemeEngine.h

Issue 644223002: Remove WebThemeEngine::paintScrollbarThumb. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebThemeEngine.h
diff --git a/public/platform/WebThemeEngine.h b/public/platform/WebThemeEngine.h
index aa3fe1c66830e18e3312cd5062f4298902de2793..5e285d09e1cc95f313571b29ca5dbe60e84bfba8 100644
--- a/public/platform/WebThemeEngine.h
+++ b/public/platform/WebThemeEngine.h
@@ -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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698