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

Side by Side Diff: webkit/glue/webdevtoolsfrontend_impl.h

Issue 460018: DevTools: make possible profiling of scripts doing heavy calculations. (Closed)
Patch Set: Comments addressed Created 11 years 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 | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/glue/webdevtoolsfrontend_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSFRONTEND_IMPL_H_ 5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSFRONTEND_IMPL_H_
6 #define WEBKIT_GLUE_WEBDEVTOOLSFRONTEND_IMPL_H_ 6 #define WEBKIT_GLUE_WEBDEVTOOLSFRONTEND_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include <wtf/HashMap.h> 10 #include <wtf/HashMap.h>
(...skipping 11 matching lines...) Expand all
22 class String; 22 class String;
23 } 23 }
24 24
25 namespace WebKit { 25 namespace WebKit {
26 class WebViewImpl; 26 class WebViewImpl;
27 } 27 }
28 28
29 class BoundObject; 29 class BoundObject;
30 class JsDebuggerAgentBoundObj; 30 class JsDebuggerAgentBoundObj;
31 class JsNetAgentBoundObj; 31 class JsNetAgentBoundObj;
32 class JsProfilerAgentBoundObj;
32 class JsToolsAgentBoundObj; 33 class JsToolsAgentBoundObj;
33 class ToolsAgentNativeDelegateImpl; 34 class ToolsAgentNativeDelegateImpl;
34 class WebDevToolsClientDelegate; 35 class WebDevToolsClientDelegate;
35 36
36 class WebDevToolsFrontendImpl : public WebKit::WebDevToolsFrontend, 37 class WebDevToolsFrontendImpl : public WebKit::WebDevToolsFrontend,
37 public DevToolsRpc::Delegate, 38 public DevToolsRpc::Delegate,
38 public Noncopyable { 39 public Noncopyable {
39 public: 40 public:
40 WebDevToolsFrontendImpl( 41 WebDevToolsFrontendImpl(
41 WebKit::WebViewImpl* web_view_impl, 42 WebKit::WebViewImpl* web_view_impl,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 static v8::Handle<v8::Value> JsDebuggerPauseScript( 89 static v8::Handle<v8::Value> JsDebuggerPauseScript(
89 const v8::Arguments& args); 90 const v8::Arguments& args);
90 static v8::Handle<v8::Value> JsWindowUnloading( 91 static v8::Handle<v8::Value> JsWindowUnloading(
91 const v8::Arguments& args); 92 const v8::Arguments& args);
92 93
93 WebKit::WebViewImpl* web_view_impl_; 94 WebKit::WebViewImpl* web_view_impl_;
94 WebKit::WebDevToolsFrontendClient* client_; 95 WebKit::WebDevToolsFrontendClient* client_;
95 String application_locale_; 96 String application_locale_;
96 OwnPtr<BoundObject> debugger_command_executor_obj_; 97 OwnPtr<BoundObject> debugger_command_executor_obj_;
97 OwnPtr<JsDebuggerAgentBoundObj> debugger_agent_obj_; 98 OwnPtr<JsDebuggerAgentBoundObj> debugger_agent_obj_;
99 OwnPtr<JsProfilerAgentBoundObj> profiler_agent_obj_;
98 OwnPtr<JsToolsAgentBoundObj> tools_agent_obj_; 100 OwnPtr<JsToolsAgentBoundObj> tools_agent_obj_;
99 bool loaded_; 101 bool loaded_;
100 Vector<Vector<String> > pending_incoming_messages_; 102 Vector<Vector<String> > pending_incoming_messages_;
101 OwnPtr<BoundObject> dev_tools_host_; 103 OwnPtr<BoundObject> dev_tools_host_;
102 OwnPtr<ToolsAgentNativeDelegateImpl> tools_agent_native_delegate_impl_; 104 OwnPtr<ToolsAgentNativeDelegateImpl> tools_agent_native_delegate_impl_;
103 }; 105 };
104 106
105 #endif // WEBKIT_GLUE_WEBDEVTOOLSFRONTEND_IMPL_H_ 107 #endif // WEBKIT_GLUE_WEBDEVTOOLSFRONTEND_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/glue/webdevtoolsfrontend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698