| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ | 5 #ifndef CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ |
| 6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ | 6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // WebDevToolsAgentClient implementation | 50 // WebDevToolsAgentClient implementation |
| 51 virtual void sendMessageToInspectorFrontend(const blink::WebString& data); | 51 virtual void sendMessageToInspectorFrontend(const blink::WebString& data); |
| 52 | 52 |
| 53 virtual long processId() OVERRIDE; | 53 virtual long processId() OVERRIDE; |
| 54 virtual int debuggerId() OVERRIDE; | 54 virtual int debuggerId() OVERRIDE; |
| 55 virtual void saveAgentRuntimeState(const blink::WebString& state) OVERRIDE; | 55 virtual void saveAgentRuntimeState(const blink::WebString& state) OVERRIDE; |
| 56 virtual blink::WebDevToolsAgentClient::WebKitClientMessageLoop* | 56 virtual blink::WebDevToolsAgentClient::WebKitClientMessageLoop* |
| 57 createClientMessageLoop() OVERRIDE; | 57 createClientMessageLoop() OVERRIDE; |
| 58 virtual void willEnterDebugLoop() OVERRIDE; | 58 virtual void willEnterDebugLoop() OVERRIDE; |
| 59 virtual void didExitDebugLoop() OVERRIDE; | 59 virtual void didExitDebugLoop() OVERRIDE; |
| 60 virtual void visitAllocatedObjects(AllocatedObjectVisitor* visitor) OVERRIDE; | |
| 61 | 60 |
| 62 typedef void (*TraceEventCallback)( | 61 typedef void (*TraceEventCallback)( |
| 63 char phase, const unsigned char*, const char* name, unsigned long long id, | 62 char phase, const unsigned char*, const char* name, unsigned long long id, |
| 64 int numArgs, const char* const* argNames, const unsigned char* argTypes, | 63 int numArgs, const char* const* argNames, const unsigned char* argTypes, |
| 65 const unsigned long long* argValues, | 64 const unsigned long long* argValues, |
| 66 unsigned char flags, double timestamp); | 65 unsigned char flags, double timestamp); |
| 67 virtual void resetTraceEventCallback() OVERRIDE; | 66 virtual void resetTraceEventCallback() OVERRIDE; |
| 68 virtual void setTraceEventCallback(const blink::WebString& category_filter, | 67 virtual void setTraceEventCallback(const blink::WebString& category_filter, |
| 69 TraceEventCallback cb) OVERRIDE; | 68 TraceEventCallback cb) OVERRIDE; |
| 70 virtual void enableTracing(const blink::WebString& category_filter) OVERRIDE; | 69 virtual void enableTracing(const blink::WebString& category_filter) OVERRIDE; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 bool paused_in_mouse_move_; | 105 bool paused_in_mouse_move_; |
| 107 | 106 |
| 108 static base::subtle::AtomicWord /* TraceEventCallback */ event_callback_; | 107 static base::subtle::AtomicWord /* TraceEventCallback */ event_callback_; |
| 109 | 108 |
| 110 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); | 109 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); |
| 111 }; | 110 }; |
| 112 | 111 |
| 113 } // namespace content | 112 } // namespace content |
| 114 | 113 |
| 115 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ | 114 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ |
| OLD | NEW |