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

Unified Diff: apps/ui/views/native_app_window_views.h

Issue 494033002: Move AppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded include in chrome_shell_delegate.cc Created 6 years, 4 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
« no previous file with comments | « apps/ui/apps_client.cc ('k') | apps/ui/views/native_app_window_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/ui/views/native_app_window_views.h
diff --git a/apps/ui/views/native_app_window_views.h b/apps/ui/views/native_app_window_views.h
index 94bc96008e9d8b06ed7db3b422dcc92b77f3b2d3..9988b1771473a8eac371ad1d7f0c7b3d8bdb512e 100644
--- a/apps/ui/views/native_app_window_views.h
+++ b/apps/ui/views/native_app_window_views.h
@@ -5,9 +5,9 @@
#ifndef APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
#define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
-#include "apps/app_window.h"
#include "base/observer_list.h"
#include "content/public/browser/web_contents_observer.h"
+#include "extensions/browser/app_window/app_window.h"
#include "extensions/browser/app_window/native_app_window.h"
#include "extensions/browser/app_window/size_constraints.h"
#include "ui/gfx/rect.h"
@@ -50,8 +50,8 @@ class NativeAppWindowViews : public extensions::NativeAppWindow,
public:
NativeAppWindowViews();
virtual ~NativeAppWindowViews();
- void Init(AppWindow* app_window,
- const AppWindow::CreateParams& create_params);
+ void Init(extensions::AppWindow* app_window,
+ const extensions::AppWindow::CreateParams& create_params);
// Signal that CanHaveTransparentBackground has changed.
void OnCanHaveAlphaEnabledChanged();
@@ -62,16 +62,17 @@ class NativeAppWindowViews : public extensions::NativeAppWindow,
void set_web_view_for_testing(views::WebView* view) { web_view_ = view; }
protected:
- AppWindow* app_window() { return app_window_; }
- const AppWindow* app_window() const { return app_window_; }
+ extensions::AppWindow* app_window() { return app_window_; }
+ const extensions::AppWindow* app_window() const { return app_window_; }
const views::Widget* widget() const { return widget_; }
views::WebView* web_view() { return web_view_; }
// Initializes |widget_| for |app_window|.
- virtual void InitializeWindow(AppWindow* app_window,
- const AppWindow::CreateParams& create_params);
+ virtual void InitializeWindow(
+ extensions::AppWindow* app_window,
+ const extensions::AppWindow::CreateParams& create_params);
// ui::BaseWindow implementation.
virtual bool IsActive() const OVERRIDE;
@@ -174,7 +175,7 @@ class NativeAppWindowViews : public extensions::NativeAppWindow,
// Informs modal dialogs that they need to update their positions.
void OnViewWasResized();
- AppWindow* app_window_; // Not owned.
+ extensions::AppWindow* app_window_; // Not owned.
views::WebView* web_view_;
views::Widget* widget_;
« no previous file with comments | « apps/ui/apps_client.cc ('k') | apps/ui/views/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698