Index: Source/core/inspector/InspectorPageAgent.h |
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h |
index 6b61c7750167ae6e87904c98e3fc94864269ebc9..a730a92dd61b53b70dbb9f1f41f2388b2f6d06f2 100644 |
--- a/Source/core/inspector/InspectorPageAgent.h |
+++ b/Source/core/inspector/InspectorPageAgent.h |
@@ -58,7 +58,6 @@ class LocalFrame; |
class Page; |
class LayoutObject; |
class SharedBuffer; |
-class StyleResolver; |
class TextResourceDecoder; |
typedef String ErrorString; |
@@ -86,6 +85,7 @@ public: |
void setTextAutosizingEnabled(bool); |
void setDeviceScaleAdjustment(float); |
void setPreferCompositingToLCDTextEnabled(bool); |
+ void setUseMobileViewportStyle(bool); |
static Vector<Document*> importsForFrame(LocalFrame*); |
static bool cachedResourceContent(Resource*, String* result, bool* base64Encoded); |
@@ -143,7 +143,6 @@ public: |
void frameClearedScheduledNavigation(LocalFrame*); |
void willRunJavaScriptDialog(const String& message); |
void didRunJavaScriptDialog(); |
- bool applyViewportStyleOverride(StyleResolver*); |
void applyEmulatedMedia(String*); |
void didPaint(LayoutObject*, const GraphicsLayer*, GraphicsContext*, const LayoutRect&); |
void didLayout(); |
@@ -220,10 +219,12 @@ private: |
bool m_originalDeviceSupportsTouch; |
int m_originalMaxTouchPoints; |
- bool m_embedderTextAutosizingEnabled; |
double m_embedderFontScaleFactor; |
+ |
+ bool m_embedderTextAutosizingEnabled; |
bool m_embedderPreferCompositingToLCDTextEnabled; |
bool m_reloading; |
+ bool m_embedderUseMobileViewport; |
OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceContentLoader; |
}; |