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

Unified Diff: public/platform/default/WebThemeEngine.h

Issue 41733004: Roll up patch for running layout tests under Aura. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move useMockTheme() into a helper function Created 7 years, 1 month 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 | « Source/testing/runner/runner.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/default/WebThemeEngine.h
diff --git a/public/platform/default/WebThemeEngine.h b/public/platform/default/WebThemeEngine.h
index 448836596fed9b93ec50c7d2005f23836583d3a8..4333baecc208cdb1140cb2cc419f84cf1c139055 100644
--- a/public/platform/default/WebThemeEngine.h
+++ b/public/platform/default/WebThemeEngine.h
@@ -71,11 +71,15 @@ public:
StateHover,
StateNormal,
StatePressed,
+ StateFocused,
+ StateReadonly,
};
// Extra parameters for drawing the PartScrollbarHorizontalTrack and
// PartScrollbarVerticalTrack.
struct ScrollbarTrackExtraParams {
+ bool isBack; // Whether this is the 'back' part or the 'forward' part.
+
// The bounds of the entire track, as opposed to the part being painted.
int trackX;
int trackY;
@@ -105,7 +109,9 @@ public:
bool hasBorderRadius;
int arrowX;
int arrowY;
+ int arrowHeight;
WebColor backgroundColor;
+ bool fillContentArea;
};
// Extra parameters for PartSliderTrack and PartSliderThumb
« no previous file with comments | « Source/testing/runner/runner.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698