| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "content/browser/debugger/devtools_agent_host.h" | 12 #include "content/browser/debugger/devtools_agent_host.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 #include "content/public/browser/render_view_host_observer.h" | 14 #include "content/public/browser/render_view_host_observer.h" |
| 15 | 15 |
| 16 class RenderViewHost; | |
| 17 class TabContents; | 16 class TabContents; |
| 18 | 17 |
| 19 namespace content { | 18 namespace content { |
| 20 | 19 |
| 20 class RenderViewHost; |
| 21 |
| 21 class CONTENT_EXPORT RenderViewDevToolsAgentHost | 22 class CONTENT_EXPORT RenderViewDevToolsAgentHost |
| 22 : public DevToolsAgentHost, | 23 : public DevToolsAgentHost, |
| 23 private content::RenderViewHostObserver { | 24 private content::RenderViewHostObserver { |
| 24 public: | 25 public: |
| 25 RenderViewDevToolsAgentHost(RenderViewHost*); | 26 RenderViewDevToolsAgentHost(RenderViewHost*); |
| 26 | 27 |
| 27 private: | 28 private: |
| 28 virtual ~RenderViewDevToolsAgentHost(); | 29 virtual ~RenderViewDevToolsAgentHost(); |
| 29 | 30 |
| 30 // DevToolsAgentHost implementation. | 31 // DevToolsAgentHost implementation. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 42 void OnClearBrowserCookies(); | 43 void OnClearBrowserCookies(); |
| 43 | 44 |
| 44 RenderViewHost* render_view_host_; | 45 RenderViewHost* render_view_host_; |
| 45 | 46 |
| 46 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); | 47 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 } // namespace content | 50 } // namespace content |
| 50 | 51 |
| 51 #endif // CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ | 52 #endif // CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ |
| OLD | NEW |