| 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_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 RenderViewDevToolsAgentHost(RenderViewHost*); | 43 RenderViewDevToolsAgentHost(RenderViewHost*); |
| 44 | 44 |
| 45 void SynchronousSwapCompositorFrame( | 45 void SynchronousSwapCompositorFrame( |
| 46 const cc::CompositorFrameMetadata& frame_metadata); | 46 const cc::CompositorFrameMetadata& frame_metadata); |
| 47 | 47 |
| 48 // DevTooolsAgentHost overrides. | 48 // DevTooolsAgentHost overrides. |
| 49 virtual void DisconnectWebContents() OVERRIDE; | 49 virtual void DisconnectWebContents() OVERRIDE; |
| 50 virtual void ConnectWebContents(WebContents* web_contents) OVERRIDE; | 50 virtual void ConnectWebContents(WebContents* web_contents) OVERRIDE; |
| 51 virtual WebContents* GetWebContents() OVERRIDE; | 51 virtual WebContents* GetWebContents() OVERRIDE; |
| 52 virtual Type GetType() OVERRIDE; |
| 53 virtual std::string GetTitle() OVERRIDE; |
| 54 virtual GURL GetURL() OVERRIDE; |
| 55 virtual bool Activate() OVERRIDE; |
| 56 virtual bool Close() OVERRIDE; |
| 52 | 57 |
| 53 private: | 58 private: |
| 54 friend class DevToolsAgentHost; | 59 friend class DevToolsAgentHost; |
| 55 virtual ~RenderViewDevToolsAgentHost(); | 60 virtual ~RenderViewDevToolsAgentHost(); |
| 56 | 61 |
| 57 // IPCDevToolsAgentHost overrides. | 62 // IPCDevToolsAgentHost overrides. |
| 58 virtual void DispatchProtocolMessage(const std::string& message) OVERRIDE; | 63 virtual void DispatchProtocolMessage(const std::string& message) OVERRIDE; |
| 59 virtual void SendMessageToAgent(IPC::Message* msg) OVERRIDE; | 64 virtual void SendMessageToAgent(IPC::Message* msg) OVERRIDE; |
| 60 virtual void OnClientAttached() OVERRIDE; | 65 virtual void OnClientAttached() OVERRIDE; |
| 61 virtual void OnClientDetached() OVERRIDE; | 66 virtual void OnClientDetached() OVERRIDE; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 std::string state_; | 112 std::string state_; |
| 108 NotificationRegistrar registrar_; | 113 NotificationRegistrar registrar_; |
| 109 bool reattaching_; | 114 bool reattaching_; |
| 110 | 115 |
| 111 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); | 116 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); |
| 112 }; | 117 }; |
| 113 | 118 |
| 114 } // namespace content | 119 } // namespace content |
| 115 | 120 |
| 116 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 121 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |