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

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: rebase & incorporated review comments Created 6 years, 10 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]
221 void scriptsEnabled(Page*, bool isEnabled);
222
223 [PageRuntime, Inline=FastReturn] 220 [PageRuntime, Inline=FastReturn]
224 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*); 221 void didCreateIsolatedContext([Keep] Frame*, ScriptState*, SecurityOrigin*);
225 222
226 [DOMDebugger, Debugger, Timeline, Inline=FastReturn] 223 [DOMDebugger, Debugger, Timeline, Inline=FastReturn]
227 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t imerId); 224 InspectorInstrumentationCookie willFireTimer([Keep] ExecutionContext*, int t imerId);
228 225
229 [Debugger, Timeline, Inline=FastReturn] 226 [Debugger, Timeline, Inline=FastReturn]
230 void didFireTimer(const InspectorInstrumentationCookie&); 227 void didFireTimer(const InspectorInstrumentationCookie&);
231 228
232 [Timeline, Inline=FastReturn] 229 [Timeline, Inline=FastReturn]
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 [Database] 524 [Database]
528 void didOpenDatabase(ExecutionContext* context, PassRefPtr<Database> databas e, const String& domain, const String& name, const String& version); 525 void didOpenDatabase(ExecutionContext* context, PassRefPtr<Database> databas e, const String& domain, const String& name, const String& version);
529 } 526 }
530 527
531 interface InspectorOverrides { 528 interface InspectorOverrides {
532 [CSS, Inline=FastReturn] 529 [CSS, Inline=FastReturn]
533 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 530 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
534 531
535 [Worker, Inline=FastReturn] 532 [Worker, Inline=FastReturn]
536 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context); 533 bool shouldPauseDedicatedWorkerOnStart(ExecutionContext* context);
537
538 [Page, Inline=FastReturn]
539 float overrideFontScaleFactor(Page* page, [DefaultReturn] float fontScaleFac tor);
540
541 [Page, Inline=FastReturn]
542 bool overrideTextAutosizing(Page* page, [DefaultReturn] bool textAutosizing) ;
543 } 534 }
544 535
545 536
546 interface InspectorCanvasInstrumentation { 537 interface InspectorCanvasInstrumentation {
547 538
548 #include "bindings/v8/ScriptObject.h" 539 #include "bindings/v8/ScriptObject.h"
549 540
550 [Canvas] 541 [Canvas]
551 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&); 542 ScriptObject wrapCanvas2DRenderingContextForInstrumentation(Document*, const ScriptObject&);
552 543
553 [Canvas] 544 [Canvas]
554 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&); 545 ScriptObject wrapWebGLRenderingContextForInstrumentation(Document*, const Sc riptObject&);
555 } 546 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698