| OLD | NEW |
| 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 <wtf/HashSet.h> | 8 #include <wtf/HashSet.h> |
| 9 #include <wtf/Noncopyable.h> | 9 #include <wtf/Noncopyable.h> |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 v8::Persistent<v8::Context>* context); | 31 v8::Persistent<v8::Context>* context); |
| 32 | 32 |
| 33 DebuggerAgentImpl(WebKit::WebViewImpl* web_view_impl, | 33 DebuggerAgentImpl(WebKit::WebViewImpl* web_view_impl, |
| 34 DebuggerAgentDelegate* delegate, | 34 DebuggerAgentDelegate* delegate, |
| 35 WebDevToolsAgentImpl* webdevtools_agent); | 35 WebDevToolsAgentImpl* webdevtools_agent); |
| 36 virtual ~DebuggerAgentImpl(); | 36 virtual ~DebuggerAgentImpl(); |
| 37 | 37 |
| 38 // DebuggerAgent implementation. | 38 // DebuggerAgent implementation. |
| 39 virtual void GetContextId(); | 39 virtual void GetContextId(); |
| 40 | 40 |
| 41 virtual void StartProfiling(int flags); |
| 42 |
| 43 virtual void StopProfiling(int flags); |
| 44 |
| 45 virtual void GetActiveProfilerModules(); |
| 46 |
| 47 virtual void GetNextLogLines(); |
| 48 |
| 41 void DebuggerOutput(const WebCore::String& out); | 49 void DebuggerOutput(const WebCore::String& out); |
| 42 | 50 |
| 43 void set_auto_continue_on_exception(bool auto_continue) { | 51 void set_auto_continue_on_exception(bool auto_continue) { |
| 44 auto_continue_on_exception_ = auto_continue; | 52 auto_continue_on_exception_ = auto_continue; |
| 45 } | 53 } |
| 46 | 54 |
| 47 bool auto_continue_on_exception() { return auto_continue_on_exception_; } | 55 bool auto_continue_on_exception() { return auto_continue_on_exception_; } |
| 48 | 56 |
| 49 // Executes function with the given name in the utility context. Passes node | 57 // Executes function with the given name in the utility context. Passes node |
| 50 // and json args as parameters. Note that the function called must be | 58 // and json args as parameters. Note that the function called must be |
| (...skipping 14 matching lines...) Expand all Loading... |
| 65 | 73 |
| 66 WebCore::Page* GetPage(); | 74 WebCore::Page* GetPage(); |
| 67 WebDevToolsAgentImpl* webdevtools_agent() { return webdevtools_agent_; }; | 75 WebDevToolsAgentImpl* webdevtools_agent() { return webdevtools_agent_; }; |
| 68 | 76 |
| 69 WebKit::WebViewImpl* web_view() { return web_view_impl_; } | 77 WebKit::WebViewImpl* web_view() { return web_view_impl_; } |
| 70 | 78 |
| 71 private: | 79 private: |
| 72 WebKit::WebViewImpl* web_view_impl_; | 80 WebKit::WebViewImpl* web_view_impl_; |
| 73 DebuggerAgentDelegate* delegate_; | 81 DebuggerAgentDelegate* delegate_; |
| 74 WebDevToolsAgentImpl* webdevtools_agent_; | 82 WebDevToolsAgentImpl* webdevtools_agent_; |
| 83 int profiler_log_position_; |
| 75 bool auto_continue_on_exception_; | 84 bool auto_continue_on_exception_; |
| 76 }; | 85 }; |
| 77 | 86 |
| 78 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_ | 87 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_IMPL_H_ |
| OLD | NEW |