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

Side by Side Diff: Source/WebCore/inspector/InjectedScriptCanvasModule.h

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 22 matching lines...) Expand all
33 33
34 #include "InjectedScriptModule.h" 34 #include "InjectedScriptModule.h"
35 #include "ScriptState.h" 35 #include "ScriptState.h"
36 #include <wtf/text/WTFString.h> 36 #include <wtf/text/WTFString.h>
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class InjectedScriptManager; 40 class InjectedScriptManager;
41 class ScriptObject; 41 class ScriptObject;
42 42
43 #if ENABLE(INSPECTOR)
44 43
45 class InjectedScriptCanvasModule : public InjectedScriptModule { 44 class InjectedScriptCanvasModule : public InjectedScriptModule {
46 public: 45 public:
47 InjectedScriptCanvasModule(); 46 InjectedScriptCanvasModule();
48 47
49 virtual String source() const; 48 virtual String source() const;
50 49
51 static InjectedScriptCanvasModule moduleForState(InjectedScriptManager*, Scr iptState*); 50 static InjectedScriptCanvasModule moduleForState(InjectedScriptManager*, Scr iptState*);
52 51
53 ScriptObject wrapCanvas2DContext(const ScriptObject&); 52 ScriptObject wrapCanvas2DContext(const ScriptObject&);
(...skipping 10 matching lines...) Expand all
64 void replayTraceLog(ErrorString*, const TypeBuilder::Canvas::TraceLogId&, in t, RefPtr<TypeBuilder::Canvas::ResourceState>*); 63 void replayTraceLog(ErrorString*, const TypeBuilder::Canvas::TraceLogId&, in t, RefPtr<TypeBuilder::Canvas::ResourceState>*);
65 void resourceInfo(ErrorString*, const TypeBuilder::Canvas::ResourceId&, RefP tr<TypeBuilder::Canvas::ResourceInfo>*); 64 void resourceInfo(ErrorString*, const TypeBuilder::Canvas::ResourceId&, RefP tr<TypeBuilder::Canvas::ResourceInfo>*);
66 void resourceState(ErrorString*, const TypeBuilder::Canvas::TraceLogId&, con st TypeBuilder::Canvas::ResourceId&, RefPtr<TypeBuilder::Canvas::ResourceState>* ); 65 void resourceState(ErrorString*, const TypeBuilder::Canvas::TraceLogId&, con st TypeBuilder::Canvas::ResourceId&, RefPtr<TypeBuilder::Canvas::ResourceState>* );
67 66
68 private: 67 private:
69 ScriptObject callWrapContextFunction(const String&, const ScriptObject&); 68 ScriptObject callWrapContextFunction(const String&, const ScriptObject&);
70 void callStartCapturingFunction(const String&, ErrorString*, String*); 69 void callStartCapturingFunction(const String&, ErrorString*, String*);
71 void callVoidFunctionWithTraceLogIdArgument(const String&, ErrorString*, con st String&); 70 void callVoidFunctionWithTraceLogIdArgument(const String&, ErrorString*, con st String&);
72 }; 71 };
73 72
74 #endif
75 73
76 } // namespace WebCore 74 } // namespace WebCore
77 75
78 #endif // !defined(InjectedScriptCanvasModule_h) 76 #endif // !defined(InjectedScriptCanvasModule_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698