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

Unified Diff: content/public/browser/devtools_frontend_window_delegate.h

Issue 8549022: Define DevTools content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jam's comments addressed Created 9 years, 1 month 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
« no previous file with comments | « content/public/browser/devtools_frontend_window.h ('k') | content/public/browser/devtools_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/devtools_frontend_window_delegate.h
diff --git a/content/public/browser/devtools_frontend_window_delegate.h b/content/public/browser/devtools_frontend_window_delegate.h
deleted file mode 100644
index 06463eeb88e58bc6c15f66e4a0b94d0690720202..0000000000000000000000000000000000000000
--- a/content/public/browser/devtools_frontend_window_delegate.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2011 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_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_DELEGATE_H_
-#define CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_DELEGATE_H_
-#pragma once
-
-#include <string>
-
-namespace IPC {
-class Message;
-}
-
-namespace content {
-
-// Clients that want to use default DevTools front-end implementation should
-// implement this interface to provide access to the embedding browser from
-// the front-end.
-class DevToolsFrontendWindowDelegate {
- public:
- virtual ~DevToolsFrontendWindowDelegate() {}
-
- // Routes message to the corresponding agent.
- virtual void ForwardToDevToolsAgent(const IPC::Message& message) = 0;
-
- // Should bring DevTools window to front.
- virtual void ActivateWindow() = 0;
-
- // Closes DevTools front-end window.
- virtual void CloseWindow() = 0;
-
- // Moves DevTols front-end windo.
- virtual void MoveWindow(int x, int y) = 0;
-
- // Attaches DevTools front-end to the inspected page.
- virtual void DockWindow() = 0;
-
- // Detaches DevTools front-end from the inspected page and places it in its
- // own window.
- virtual void UndockWindow() = 0;
-
- // Shows "Save As..." dialog to save |content|.
- virtual void SaveToFile(const std::string& suggested_file_name,
- const std::string& content) = 0;
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_FRONTEND_WINDOW_DELEGATE_H_
« no previous file with comments | « content/public/browser/devtools_frontend_window.h ('k') | content/public/browser/devtools_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698