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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.h

Issue 1690493002: Switch to LayoutThemeMobile when emulating mobile device in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more mac compile Created 4 years, 10 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
Index: third_party/WebKit/Source/core/layout/LayoutTheme.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.h b/third_party/WebKit/Source/core/layout/LayoutTheme.h
index bab7c4d71755405f87ac3d977da8538c289c2e0e..dd91cfa83d22d7641227947953c410dea33aff97 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.h
@@ -48,8 +48,6 @@ protected:
public:
virtual ~LayoutTheme() { }
- // This function is to be implemented in your platform-specific theme implementation to hand back the
- // appropriate platform theme.
static LayoutTheme& theme();
virtual ThemePainter& painter() = 0;
@@ -240,6 +238,10 @@ public:
static bool isReadOnlyControl(const LayoutObject&);
private:
+ // This function is to be implemented in your platform-specific theme implementation to hand back the
+ // appropriate platform theme.
+ static LayoutTheme& nativeTheme();
+
Color m_customFocusRingColor;
bool m_hasCustomFocusRingColor;

Powered by Google App Engine
This is Rietveld 408576698