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

Unified Diff: Source/core/testing/InternalSettings.h

Issue 853483003: Add support for 'display-mode' MQ defined in Manifest spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 11 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 | « Source/core/frame/Settings.in ('k') | Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/InternalSettings.h
diff --git a/Source/core/testing/InternalSettings.h b/Source/core/testing/InternalSettings.h
index 7fd050c816d3a2f12ed5294e292f697f904b564e..bb0884f898e5d63af9275ef02b4edb2b8c718a21 100644
--- a/Source/core/testing/InternalSettings.h
+++ b/Source/core/testing/InternalSettings.h
@@ -28,6 +28,7 @@
#define InternalSettings_h
#include "core/InternalSettingsGenerated.h"
+#include "core/css/DisplayModeProperties.h"
#include "core/editing/EditingBehaviorTypes.h"
#include "platform/geometry/IntSize.h"
#include "platform/graphics/ImageAnimationPolicy.h"
@@ -65,6 +66,7 @@ public:
IntSize m_originalTextAutosizingWindowSizeOverride;
float m_originalAccessibilityFontScaleFactor;
String m_originalMediaTypeOverride;
+ DisplayMode m_originalDisplayModeOverride;
bool m_originalMockScrollbarsEnabled;
bool m_originalMockGestureTapHighlightsEnabled;
bool m_langAttributeAwareFormControlUIEnabled;
@@ -101,6 +103,7 @@ public:
void setEditingBehavior(const String&, ExceptionState&);
void setImagesEnabled(bool, ExceptionState&);
void setMediaTypeOverride(const String& mediaType, ExceptionState&);
+ void setDisplayModeOverride(const String& displayMode, ExceptionState&);
void setMockScrollbarsEnabled(bool, ExceptionState&);
void setMockGestureTapHighlightsEnabled(bool, ExceptionState&);
void setTextAutosizingEnabled(bool, ExceptionState&);
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/core/testing/InternalSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698