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

Side by Side Diff: Source/core/inspector/InspectorInstrumentationCustomInl.h

Issue 1073863003: DevTools: remove Canvas profiler from DevTools source base. See details in the bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tests gone Created 5 years, 8 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
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/devtools/PRESUBMIT.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 23 matching lines...) Expand all
34 #include "bindings/core/v8/ScriptSourceCode.h" 34 #include "bindings/core/v8/ScriptSourceCode.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 namespace InspectorInstrumentation { 38 namespace InspectorInstrumentation {
39 39
40 bool isDebuggerPausedImpl(InstrumentingAgents*); 40 bool isDebuggerPausedImpl(InstrumentingAgents*);
41 bool collectingHTMLParseErrorsImpl(InstrumentingAgents*); 41 bool collectingHTMLParseErrorsImpl(InstrumentingAgents*);
42 void appendAsyncCallStack(ExecutionContext*, ScriptCallStack*); 42 void appendAsyncCallStack(ExecutionContext*, ScriptCallStack*);
43 43
44 bool canvasAgentEnabled(ExecutionContext*);
45 bool consoleAgentEnabled(ExecutionContext*); 44 bool consoleAgentEnabled(ExecutionContext*);
46 45
47 inline bool isDebuggerPaused(LocalFrame* frame) 46 inline bool isDebuggerPaused(LocalFrame* frame)
48 { 47 {
49 FAST_RETURN_IF_NO_FRONTENDS(false); 48 FAST_RETURN_IF_NO_FRONTENDS(false);
50 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(frame) ) 49 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(frame) )
51 return isDebuggerPausedImpl(instrumentingAgents); 50 return isDebuggerPausedImpl(instrumentingAgents);
52 return false; 51 return false;
53 } 52 }
54 53
55 inline bool collectingHTMLParseErrors(Document* document) 54 inline bool collectingHTMLParseErrors(Document* document)
56 { 55 {
57 FAST_RETURN_IF_NO_FRONTENDS(false); 56 FAST_RETURN_IF_NO_FRONTENDS(false);
58 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(docume nt)) 57 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(docume nt))
59 return collectingHTMLParseErrorsImpl(instrumentingAgents); 58 return collectingHTMLParseErrorsImpl(instrumentingAgents);
60 return false; 59 return false;
61 } 60 }
62 61
63 } // namespace InspectorInstrumentation 62 } // namespace InspectorInstrumentation
64 63
65 } // namespace blink 64 } // namespace blink
66 65
67 #endif // InspectorInstrumentationCustom_inl_h 66 #endif // InspectorInstrumentationCustom_inl_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/devtools/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698