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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 [Debugger, Inline=FastReturn] 211 [Debugger, Inline=FastReturn]
212 void didPerformPromiseTask(const InspectorInstrumentationCookie&); 212 void didPerformPromiseTask(const InspectorInstrumentationCookie&);
213 213
214 [Timeline, Inline=FastReturn] 214 [Timeline, Inline=FastReturn]
215 InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const Strin g& url, int lineNumber); 215 InspectorInstrumentationCookie willEvaluateScript([Keep] Frame*, const Strin g& url, int lineNumber);
216 216
217 [Timeline, Inline=FastReturn] 217 [Timeline, Inline=FastReturn]
218 void didEvaluateScript(const InspectorInstrumentationCookie&); 218 void didEvaluateScript(const InspectorInstrumentationCookie&);
219 219
220 [Page, Inline=FastReturn] 220 [PageRuntime, Inline=FastReturn]
221 void scriptsEnabled(Page*, bool isEnabled); 221 void scriptsEnabled([Keep] Frame*, bool isEnabled);
222
223 [PageRuntime, Inline=FastReturn]
224 void fontScaleFactor([Keep] Frame*, float fontScaleFactor);
225
226 [PageRuntime, Inline=FastReturn]
227 void textAutosizingEnabled([Keep] Frame*, bool textAutosizing);
222 228
223 [PageRuntime, Inline=FastReturn] 229 [PageRuntime, Inline=FastReturn]
224 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); 230 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*);
225 231
226 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] 232 [DOMDebugger, Debugger, Timeline, Inline=FastReturn]
227 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t imerId); 233 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t imerId);
228 234
229 [Debugger, Timeline, Inline=FastReturn] 235 [Debugger, Timeline, Inline=FastReturn]
230 void didFireTimer(const InspectorInstrumentationCookie&); 236 void didFireTimer(const InspectorInstrumentationCookie&);
231 237
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 536
531 interface InspectorOverrides { 537 interface InspectorOverrides {
532 [CSS, Inline=FastReturn] 538 [CSS, Inline=FastReturn]
533 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 539 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
534 540
535 [Worker, Inline=FastReturn] 541 [Worker, Inline=FastReturn]
536 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 542 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
537 543
538 [Page, Inline=FastReturn] 544 [Page, Inline=FastReturn]
539 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn] GeolocationPosition* position); 545 GeolocationPosition* overrideGeolocationPosition(Page* page, [DefaultReturn] GeolocationPosition* position);
540
541 [Page, Inline=FastReturn]
542 float overrideFontScaleFactor(Page* page, [DefaultReturn] float fontScaleFac tor);
543
544 [Page, Inline=FastReturn]
545 bool overrideTextAutosizing(Page* page, [DefaultReturn] bool textAutosizing) ;
546 } 546 }
547 547
548 548
549 interface InspectorCanvasInstrumentation { 549 interface InspectorCanvasInstrumentation {
550 550
551 #include "bindings/v8/ScriptObject.h" 551 #include "bindings/v8/ScriptObject.h"
552 552
553 [Canvas] 553 [Canvas]
554 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 554 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
555 555
556 [Canvas] 556 [Canvas]
557 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 557 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
558 } 558 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698