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

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

Issue 161753002: Move Windows-specific code into NativeAppWindowViewsWin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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 | « no previous file | chrome/browser/ui/views/apps/native_app_window_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/apps/native_app_window_views.h
diff --git a/chrome/browser/ui/views/apps/native_app_window_views.h b/chrome/browser/ui/views/apps/native_app_window_views.h
index 4bd3fb6d0605135895df1da4ed5a31156c1462ff..20757711e85e91b822c1e0110f46f85e630530d1 100644
--- a/chrome/browser/ui/views/apps/native_app_window_views.h
+++ b/chrome/browser/ui/views/apps/native_app_window_views.h
@@ -18,10 +18,6 @@
#include "ui/views/widget/widget_delegate.h"
#include "ui/views/widget/widget_observer.h"
-#if defined(OS_WIN)
-#include "chrome/browser/shell_integration.h"
-#endif
-
#if defined(USE_ASH)
namespace ash {
class ImmersiveFullscreenController;
@@ -83,14 +79,16 @@ class NativeAppWindowViews : public apps::NativeAppWindow,
const extensions::Extension* extension() {
return shell_window_->extension();
}
+ const views::Widget* window() const { return window_; }
+
+ virtual void InitializeDefaultWindow(
+ const apps::ShellWindow::CreateParams& create_params);
+ virtual void InitializePanelWindow(
+ const apps::ShellWindow::CreateParams& create_params);
private:
friend class ShapedAppWindowTargeterTest;
- void InitializeDefaultWindow(
- const apps::ShellWindow::CreateParams& create_params);
- void InitializePanelWindow(
- const apps::ShellWindow::CreateParams& create_params);
void OnViewWasResized();
bool ShouldUseChromeStyleFrame() const;
@@ -98,12 +96,6 @@ class NativeAppWindowViews : public apps::NativeAppWindow,
// Caller owns the returned object.
apps::ShellWindowFrameView* CreateShellWindowFrameView();
-#if defined(OS_WIN)
- void OnShortcutInfoLoaded(
- const ShellIntegration::ShortcutInfo& shortcut_info);
- HWND GetNativeAppWindowHWND() const;
-#endif
-
// ui::BaseWindow implementation.
virtual bool IsActive() const OVERRIDE;
virtual bool IsMaximized() const OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/ui/views/apps/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698