Index: content/shell/shell_devtools_frontend.h |
diff --git a/content/shell/shell_devtools_frontend.h b/content/shell/shell_devtools_frontend.h |
deleted file mode 100644 |
index a76cbc3b993cef93e436483513f410c5621d023b..0000000000000000000000000000000000000000 |
--- a/content/shell/shell_devtools_frontend.h |
+++ /dev/null |
@@ -1,73 +0,0 @@ |
-// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CONTENT_SHELL_SHELL_DEVTOOLS_FRONTEND_H_ |
-#define CONTENT_SHELL_SHELL_DEVTOOLS_FRONTEND_H_ |
- |
-#include "base/basictypes.h" |
-#include "base/compiler_specific.h" |
-#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
-#include "content/public/browser/devtools_agent_host.h" |
-#include "content/public/browser/devtools_client_host.h" |
-#include "content/public/browser/devtools_frontend_host_delegate.h" |
-#include "content/public/browser/web_contents_observer.h" |
- |
-namespace content { |
- |
-class RenderViewHost; |
-class Shell; |
-class WebContents; |
- |
-class ShellDevToolsFrontend : public WebContentsObserver, |
- public DevToolsFrontendHostDelegate { |
- public: |
- static ShellDevToolsFrontend* Show(WebContents* inspected_contents); |
- void Focus(); |
- void Close(); |
- |
- Shell* frontend_shell() const { return frontend_shell_; } |
- |
- private: |
- ShellDevToolsFrontend(Shell* frontend_shell, DevToolsAgentHost* agent_host); |
- virtual ~ShellDevToolsFrontend(); |
- |
- // WebContentsObserver overrides |
- virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; |
- virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; |
- |
- // DevToolsFrontendHostDelegate implementation |
- virtual void ActivateWindow() OVERRIDE {} |
- virtual void ChangeAttachedWindowHeight(unsigned height) OVERRIDE {} |
- virtual void CloseWindow() OVERRIDE {} |
- virtual void MoveWindow(int x, int y) OVERRIDE {} |
- virtual void SetDockSide(const std::string& side) OVERRIDE {} |
- virtual void OpenInNewTab(const std::string& url) OVERRIDE {} |
- virtual void SaveToFile(const std::string& url, |
- const std::string& content, |
- bool save_as) OVERRIDE {} |
- virtual void AppendToFile(const std::string& url, |
- const std::string& content) OVERRIDE {} |
- virtual void RequestFileSystems() OVERRIDE {} |
- virtual void AddFileSystem() OVERRIDE {} |
- virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE {} |
- virtual void IndexPath(int request_id, |
- const std::string& file_system_path) OVERRIDE {} |
- virtual void StopIndexing(int request_id) OVERRIDE {} |
- virtual void SearchInPath(int request_id, |
- const std::string& file_system_path, |
- const std::string& query) OVERRIDE {} |
- |
- virtual void InspectedContentsClosing() OVERRIDE; |
- |
- Shell* frontend_shell_; |
- scoped_refptr<DevToolsAgentHost> agent_host_; |
- scoped_ptr<DevToolsClientHost> frontend_host_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ShellDevToolsFrontend); |
-}; |
- |
-} // namespace content |
- |
-#endif // CONTENT_SHELL_SHELL_DEVTOOLS_FRONTEND_H_ |