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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl

Issue 2713553010: Migrate performance monitor to inspector instrumentation. (Closed)
Patch Set: Introduce progress monitor Created 3 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 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 [DOMDebugger] 131 [DOMDebugger]
132 void didFireWebGLError(Element*, const String& errorName); 132 void didFireWebGLError(Element*, const String& errorName);
133 133
134 [DOMDebugger] 134 [DOMDebugger]
135 void didFireWebGLWarning(Element*); 135 void didFireWebGLWarning(Element*);
136 136
137 [DOMDebugger] 137 [DOMDebugger]
138 void didFireWebGLErrorOrWarning(Element*, const String& message); 138 void didFireWebGLErrorOrWarning(Element*, const String& message);
139 139
140 [Page] 140 [Performance]
141 void willUpdateLayout(Document*);
142
143 [Page, Performance]
141 void didUpdateLayout(LocalFrame*); 144 void didUpdateLayout(LocalFrame*);
142 145
143 [Page] 146 [Page]
144 void didResizeMainFrame(LocalFrame*); 147 void didResizeMainFrame(LocalFrame*);
145 148
146 [LayerTree] 149 [LayerTree]
147 void didPaint(LocalFrame*, const GraphicsLayer*, GraphicsContext&, const Lay outRect&); 150 void didPaint(LocalFrame*, const GraphicsLayer*, GraphicsContext&, const Lay outRect&);
148 151
149 [Network] 152 [Network]
150 void didScheduleStyleRecalculation([Keep] Document*); 153 void didScheduleStyleRecalculation([Keep] Document*);
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 314
312 [Animation] 315 [Animation]
313 void animationPlayStateChanged(Document*, Animation*, Animation::AnimationPl ayState oldPlayState, Animation::AnimationPlayState newPlayState); 316 void animationPlayStateChanged(Document*, Animation*, Animation::AnimationPl ayState oldPlayState, Animation::AnimationPlayState newPlayState);
314 317
315 [Page] 318 [Page]
316 void windowCreated(LocalFrame* opener, LocalFrame* created); 319 void windowCreated(LocalFrame* opener, LocalFrame* created);
317 320
318 [Log] 321 [Log]
319 void consoleMessageAdded(ExecutionContext*, ConsoleMessage*); 322 void consoleMessageAdded(ExecutionContext*, ConsoleMessage*);
320 323
321 [Network] 324 [Network, Performance]
322 void willRecalculateStyle([Keep] Document*); 325 void willRecalculateStyle([Keep] Document*);
323 326
324 [Page, Network] 327 [Page, Network, Performance]
325 void didRecalculateStyle(Document*); 328 void didRecalculateStyle(Document*);
326 329
327 [Page] 330 [Page]
328 void willRunJavaScriptDialog(LocalFrame* frame, const String& message, Chrom eClient::DialogType dialogType); 331 void willRunJavaScriptDialog(LocalFrame* frame, const String& message, Chrom eClient::DialogType dialogType);
329 332
330 [Page] 333 [Page]
331 void didRunJavaScriptDialog(LocalFrame* frame, bool result); 334 void didRunJavaScriptDialog(LocalFrame* frame, bool result);
335
336 [Performance]
337 void willExecuteScript([Keep] ExecutionContext*);
338
339 [Performance]
340 void didExecuteScript(ExecutionContext*);
341
342 [Performance]
343 void willCallFunction([Keep] ExecutionContext*);
344
345 [Performance]
346 void didCallFunction([Keep] ExecutionContext*, v8::Local<v8::Function>);
347
348 [Performance]
349 void documentWriteFetchScript([Keep] Document*);
332 } 350 }
333 351
334 interface InspectorOverrides { 352 interface InspectorOverrides {
335 [CSS] 353 [CSS]
336 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState); 354 bool forcePseudoState([Keep] Element* element, CSSSelector::PseudoType pseud oState);
337 355
338 [Worker] 356 [Worker]
339 bool shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context); 357 bool shouldWaitForDebuggerOnWorkerStart(ExecutionContext* context);
340 358
341 [Network] 359 [Network]
342 bool shouldForceCORSPreflight(Document*); 360 bool shouldForceCORSPreflight(Document*);
343 361
344 [Network] 362 [Network]
345 bool shouldBlockRequest(LocalFrame*, const ResourceRequest&); 363 bool shouldBlockRequest(LocalFrame*, const ResourceRequest&);
346 } 364 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698