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

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 10735061: Move ExtensionWindowController and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 months 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: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 4a3d15db8a1e7e5c98bd76e2f9728746f7db8b03..6d9fa26426817bc21d0ae7c5a11f46a5a9338510 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -20,7 +20,6 @@
class Browser;
class BrowserWindow;
-class ExtensionWindowController;
class GURL;
class NativePanel;
class PanelHost;
@@ -34,6 +33,10 @@ class WebContents;
struct NativeWebKeyboardEvent;
}
+namespace extensions {
+class WindowController;
+}
+
// A platform independent implementation of BaseWindow for Panels.
// This class gets the first crack at all the BaseWindow calls for Panels and
// does one or more of the following:
@@ -74,7 +77,7 @@ class Panel : public BaseWindow,
const std::string& app_name() const { return app_name_; }
const SessionID& session_id() const { return session_id_; }
- ExtensionWindowController* extension_window_controller() const {
+ extensions::WindowController* extension_window_controller() const {
return extension_window_controller_.get();
}
const std::string extension_id() const;
@@ -375,7 +378,7 @@ class Panel : public BaseWindow,
content::NotificationRegistrar registrar_;
const SessionID session_id_;
- scoped_ptr<ExtensionWindowController> extension_window_controller_;
+ scoped_ptr<extensions::WindowController> extension_window_controller_;
scoped_ptr<PanelHost> panel_host_;
DISALLOW_COPY_AND_ASSIGN(Panel);
« no previous file with comments | « chrome/browser/ui/intents/web_intent_inline_disposition_delegate.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698