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

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: add even more comments about why we have special logic for the layout tests 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
Index: public/platform/default/WebThemeEngine.h
diff --git a/public/platform/default/WebThemeEngine.h b/public/platform/default/WebThemeEngine.h
index f84f292d7f878e30ee3498089c8d976c15e8044b..f78147a72194a65bee318c84948dfd35637779a7 100644
--- a/public/platform/default/WebThemeEngine.h
+++ b/public/platform/default/WebThemeEngine.h
@@ -71,11 +71,16 @@ public:
StateHover,
StateNormal,
StatePressed,
+ StateFocused,
+ StateReadonly,
+ StateHot,
};
// Extra parameters for drawing the PartScrollbarHorizontalTrack and
// PartScrollbarVerticalTrack.
struct ScrollbarTrackExtraParams {
+ bool isBack; // Whether this is the 'back' part or the 'forward' part.
jamesr 2013/11/06 21:54:09 in other parts of theming code, this is handled by
Dirk Pranke 2013/11/06 22:29:11 Yup. I was trying to avoid changes to the WebTheme
+
// The bounds of the entire track, as opposed to the part being painted.
int trackX;
int trackY;
@@ -105,7 +110,9 @@ public:
bool hasBorderRadius;
int arrowX;
int arrowY;
+ int arrowHeight;
WebColor backgroundColor;
+ bool fillContentArea;
};
// Extra parameters for PartSliderTrack and PartSliderThumb
« Source/testing/runner/WebTestThemeEngineMock.cpp ('K') | « Source/testing/runner/runner.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698