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

Unified Diff: Source/core/inspector/InspectorPageAgent.h

Issue 979033003: Move code from StyleResolver to ViewportStyleResolver. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 5 years, 9 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/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index 29d92dd7d25f4d919f076c25731dc037294d11a0..c7c6bb94bca77f8005a49ebee2258343581d43ee 100644
--- a/Source/core/inspector/InspectorPageAgent.h
+++ b/Source/core/inspector/InspectorPageAgent.h
@@ -57,7 +57,6 @@ class LocalFrame;
class Page;
class LayoutObject;
class SharedBuffer;
-class StyleResolver;
class TextResourceDecoder;
typedef String ErrorString;
@@ -105,6 +104,7 @@ public:
void setDeviceScaleAdjustment(float);
void setPreferCompositingToLCDTextEnabled(bool);
void setScriptEnabled(bool);
+ void setUseMobileViewportStyle(bool);
static Vector<Document*> importsForFrame(LocalFrame*);
static bool cachedResourceContent(Resource*, String* result, bool* base64Encoded);
@@ -161,7 +161,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();
@@ -235,11 +234,13 @@ private:
bool m_originalDeviceSupportsTouch;
int m_originalMaxTouchPoints;
- bool m_embedderTextAutosizingEnabled;
double m_embedderFontScaleFactor;
+
+ bool m_embedderTextAutosizingEnabled;
bool m_embedderPreferCompositingToLCDTextEnabled;
bool m_embedderScriptEnabled;
bool m_reloading;
+ bool m_embedderUseMobileViewport;
OwnPtrWillBeMember<InspectorResourceContentLoader> m_inspectorResourceContentLoader;
};
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698