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

Side by Side Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h

Issue 947343003: Split out Ash/Aura parts of ChromeNativeAppWindowViews. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ready for review. Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_WIN_H_
7 7
8 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h" 8 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.h"
9 9
10 namespace web_app { 10 namespace web_app {
11 struct ShortcutInfo; 11 struct ShortcutInfo;
12 } 12 }
13 13
14 class GlassAppWindowFrameViewWin; 14 class GlassAppWindowFrameViewWin;
15 15
16 // Windows-specific parts of the views-backed native shell window implementation 16 // Windows-specific parts of the views-backed native shell window implementation
17 // for packaged apps. 17 // for packaged apps.
18 class ChromeNativeAppWindowViewsWin : public ChromeNativeAppWindowViews { 18 class ChromeNativeAppWindowViewsWin : public ChromeNativeAppWindowViewsAura {
19 public: 19 public:
20 ChromeNativeAppWindowViewsWin(); 20 ChromeNativeAppWindowViewsWin();
21 21
22 GlassAppWindowFrameViewWin* glass_frame_view() { 22 GlassAppWindowFrameViewWin* glass_frame_view() {
23 return glass_frame_view_; 23 return glass_frame_view_;
24 } 24 }
25 25
26 private: 26 private:
27 void ActivateParentDesktopIfNecessary(); 27 void ActivateParentDesktopIfNecessary();
28 28
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Whether the InitParams indicated that this window should be translucent. 63 // Whether the InitParams indicated that this window should be translucent.
64 bool is_translucent_; 64 bool is_translucent_;
65 65
66 base::WeakPtrFactory<ChromeNativeAppWindowViewsWin> weak_ptr_factory_; 66 base::WeakPtrFactory<ChromeNativeAppWindowViewsWin> weak_ptr_factory_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsWin); 68 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsWin);
69 }; 69 };
70 70
71 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_WIN_H_ 71 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698