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

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: Removed stray method declaration 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
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;
};

Powered by Google App Engine
This is Rietveld 408576698