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

Unified Diff: chrome/browser/ui/gtk/extensions/shell_window_gtk.cc

Issue 10119003: Pull shell window stuff out of ExtensionHost and put in ShellWindow (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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/gtk/extensions/shell_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/extensions/shell_window_gtk.cc b/chrome/browser/ui/gtk/extensions/shell_window_gtk.cc
index 4fb7e61c7fec3f4dc3e0bc6faead532d13050218..740f3f0e3dbb20dca4d7ee4ad0c04ff4a3653363 100644
--- a/chrome/browser/ui/gtk/extensions/shell_window_gtk.cc
+++ b/chrome/browser/ui/gtk/extensions/shell_window_gtk.cc
@@ -4,13 +4,13 @@
#include "chrome/browser/ui/gtk/extensions/shell_window_gtk.h"
-#include "chrome/browser/extensions/extension_host.h"
+#include "chrome/browser/extensions/platform_app_host.h"
#include "chrome/common/extensions/extension.h"
#include "content/public/browser/render_widget_host_view.h"
#include "ui/base/x/active_window_watcher_x.h"
#include "ui/gfx/rect.h"
-ShellWindowGtk::ShellWindowGtk(ExtensionHost* host)
+ShellWindowGtk::ShellWindowGtk(PlatformAppHost* host)
: ShellWindow(host),
state_(GDK_WINDOW_STATE_WITHDRAWN),
is_active_(!ui::ActiveWindowWatcherX::WMSupportsActivation()) {
@@ -186,6 +186,6 @@ gboolean ShellWindowGtk::OnWindowState(GtkWidget* sender,
}
// static
-ShellWindow* ShellWindow::CreateShellWindow(ExtensionHost* host) {
+ShellWindow* ShellWindow::CreateShellWindow(PlatformAppHost* host) {
return new ShellWindowGtk(host);
}

Powered by Google App Engine
This is Rietveld 408576698