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

Side by Side Diff: webkit/glue/devtools/debugger_agent_impl.h

Issue 159395: DevTools: make pause work for script evaluations (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 // 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_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_ 5 #ifndef WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_
6 #define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_ 6 #define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include <wtf/HashSet.h> 10 #include <wtf/HashSet.h>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // Executes function with the given name in the utility context. Passes node 51 // Executes function with the given name in the utility context. Passes node
52 // and json args as parameters. Note that the function called must be 52 // and json args as parameters. Note that the function called must be
53 // implemented in the inject.js file. 53 // implemented in the inject.js file.
54 WebCore::String ExecuteUtilityFunction( 54 WebCore::String ExecuteUtilityFunction(
55 v8::Handle<v8::Context> context, 55 v8::Handle<v8::Context> context,
56 const WebCore::String& function_name, 56 const WebCore::String& function_name,
57 const WebCore::String& json_args, 57 const WebCore::String& json_args,
58 WebCore::String* exception); 58 WebCore::String* exception);
59 59
60 WebCore::String EvaluateJavaScript(
61 v8::Handle<v8::Context> utility_context,
62 const WebCore::String& source,
63 WebCore::String* exception);
64
60 WebCore::Page* GetPage(); 65 WebCore::Page* GetPage();
61 WebDevToolsAgentImpl* webdevtools_agent() { return webdevtools_agent_; }; 66 WebDevToolsAgentImpl* webdevtools_agent() { return webdevtools_agent_; };
62 67
63 WebViewImpl* web_view() { return web_view_impl_; } 68 WebViewImpl* web_view() { return web_view_impl_; }
64 69
65 private: 70 private:
66 WebViewImpl* web_view_impl_; 71 WebViewImpl* web_view_impl_;
67 DebuggerAgentDelegate* delegate_; 72 DebuggerAgentDelegate* delegate_;
68 WebDevToolsAgentImpl* webdevtools_agent_; 73 WebDevToolsAgentImpl* webdevtools_agent_;
69 int profiler_log_position_; 74 int profiler_log_position_;
70 75
71 DISALLOW_COPY_AND_ASSIGN(DebuggerAgentImpl); 76 DISALLOW_COPY_AND_ASSIGN(DebuggerAgentImpl);
72 }; 77 };
73 78
74 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_ 79 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/debugger/devtools_sanity_unittest.cc ('k') | webkit/glue/devtools/debugger_agent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698