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

Unified Diff: Source/core/inspector/InspectorInstrumentation.idl

Issue 146683003: Settings should not call into inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
Index: Source/core/inspector/InspectorInstrumentation.idl
diff --git a/Source/core/inspector/InspectorInstrumentation.idl b/Source/core/inspector/InspectorInstrumentation.idl
old mode 100644
new mode 100755
index faa792a91594fd18790bdb043f87cc1bfe2a1b43..2be095332637e0f379ce9eb2310e0b64387dd9d8
--- a/Source/core/inspector/InspectorInstrumentation.idl
+++ b/Source/core/inspector/InspectorInstrumentation.idl
@@ -217,8 +217,14 @@ interface InspectorInstrumentation {
[Timeline, Inline=FastReturn]
void didEvaluateScript(const InspectorInstrumentationCookie&);
- [Page, Inline=FastReturn]
- void scriptsEnabled(Page*, bool isEnabled);
+ [PageRuntime, Inline=FastReturn]
+ void scriptsEnabled([Keep] Frame*, bool isEnabled);
+
+ [PageRuntime, Inline=FastReturn]
+ void fontScaleFactor([Keep] Frame*, float fontScaleFactor);
+
+ [PageRuntime, Inline=FastReturn]
+ void textAutosizingEnabled([Keep] Frame*, bool textAutosizing);
[PageRuntime, Inline=FastReturn]
void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*);
@@ -537,12 +543,6 @@ interface InspectorOverrides {
[Page, Inline=FastReturn]
GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn] GeolocationPosition* position);
-
- [Page, Inline=FastReturn]
- float overrideFontScaleFactor(Page* page, [DefaultReturn] float fontScaleFactor);
-
- [Page, Inline=FastReturn]
- bool overrideTextAutosizing(Page* page, [DefaultReturn] bool textAutosizing);
}

Powered by Google App Engine
This is Rietveld 408576698