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

Unified Diff: Source/web/DevToolsEmulator.h

Issue 1182663009: [DevTools] Disable plugins when emulating mobile. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « no previous file | Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/DevToolsEmulator.h
diff --git a/Source/web/DevToolsEmulator.h b/Source/web/DevToolsEmulator.h
index 45eaba5cbdf0db78fa7744257fc44a4909278181..b9307b27b9e8d5a302b5344741bad6de9b6f002b 100644
--- a/Source/web/DevToolsEmulator.h
+++ b/Source/web/DevToolsEmulator.h
@@ -30,6 +30,7 @@ public:
void setDeviceScaleAdjustment(float);
void setPreferCompositingToLCDTextEnabled(bool);
void setUseMobileViewportStyle(bool);
+ void setPluginsEnabled(bool);
void setScriptEnabled(bool);
void setDoubleTapToZoomEnabled(bool);
bool doubleTapToZoomEnabled() const;
@@ -58,6 +59,7 @@ private:
float m_embedderDeviceScaleAdjustment;
bool m_embedderPreferCompositingToLCDTextEnabled;
bool m_embedderUseMobileViewport;
+ bool m_embedderPluginsEnabled;
bool m_touchEventEmulationEnabled;
bool m_doubleTapToZoomEnabled;
« no previous file with comments | « no previous file | Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698