Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1314)

Unified Diff: content/browser/debugger/devtools_frontend_host.h

Issue 11630004: DevTools: rename debugger/ to devtools/, move DevTools files into content/renderer/devtools. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: For landing Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/debugger/devtools_frontend_host.h
diff --git a/content/browser/debugger/devtools_frontend_host.h b/content/browser/debugger/devtools_frontend_host.h
deleted file mode 100644
index fd04fd19c18e38cde79e6fad47c878d024a9f588..0000000000000000000000000000000000000000
--- a/content/browser/debugger/devtools_frontend_host.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2012 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_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
-#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "content/public/browser/devtools_client_host.h"
-#include "content/public/browser/render_view_host_observer.h"
-
-namespace content {
-
-class DevToolsFrontendHostDelegate;
-class WebContentsImpl;
-
-// This class handles messages from DevToolsClient and calls corresponding
-// methods on DevToolsFrontendHostDelegate which is implemented by the
-// embedder. This allows us to avoid exposing DevTools client messages through
-// the content public API.
-class DevToolsFrontendHost : public DevToolsClientHost,
- public RenderViewHostObserver {
- public:
- DevToolsFrontendHost(WebContentsImpl* web_contents,
- DevToolsFrontendHostDelegate* delegate);
-
- private:
- virtual ~DevToolsFrontendHost();
-
- // DevToolsClientHost implementation.
- virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE;
- virtual void InspectedContentsClosing() OVERRIDE;
- virtual void FrameNavigating(const std::string& url) OVERRIDE;
- virtual void ContentsReplaced(WebContents* new_contents) OVERRIDE;
- virtual void ReplacedWithAnotherClient() OVERRIDE;
-
- // RenderViewHostObserver overrides.
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
-
- void OnDispatchOnInspectorBackend(const std::string& message);
- void OnActivateWindow();
- void OnCloseWindow();
- void OnMoveWindow(int x, int y);
- void OnRequestSetDockSide(const std::string& side);
- void OnOpenInNewTab(const std::string& url);
- void OnSave(const std::string& url, const std::string& content, bool save_as);
- void OnAppend(const std::string& url, const std::string& content);
-
- WebContentsImpl* web_contents_;
- DevToolsFrontendHostDelegate* delegate_;
- DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_
« no previous file with comments | « content/browser/debugger/devtools_browser_target.cc ('k') | content/browser/debugger/devtools_frontend_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698