OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_BROWSER_FRAME_ASHWIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASHWIN_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASHWIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASHWIN_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/ui/views/frame/browser_frame_ash.h" | 9 #include "chrome/browser/ui/views/frame/browser_frame_ash.h" |
9 | 10 |
10 // A NativeWidgetAura subclass that provides Windows-specific behavior on the | 11 // A NativeWidgetAura subclass that provides Windows-specific behavior on the |
11 // Ash desktop for Metro mode. | 12 // Ash desktop for Metro mode. |
12 class BrowserFrameAshWin : public BrowserFrameAsh { | 13 class BrowserFrameAshWin : public BrowserFrameAsh { |
13 public: | 14 public: |
14 BrowserFrameAshWin(BrowserFrame* browser_frame, BrowserView* browser_view); | 15 BrowserFrameAshWin(BrowserFrame* browser_frame, BrowserView* browser_view); |
15 | 16 |
16 protected: | 17 protected: |
17 ~BrowserFrameAshWin() override; | 18 ~BrowserFrameAshWin() override; |
18 | 19 |
19 // Overridden from aura::client::ActivationChangeObserver: | 20 // Overridden from aura::client::ActivationChangeObserver: |
20 void OnWindowFocused(aura::Window* gained_focus, | 21 void OnWindowFocused(aura::Window* gained_focus, |
21 aura::Window* lost_focus) override; | 22 aura::Window* lost_focus) override; |
22 | 23 |
23 private: | 24 private: |
24 DISALLOW_COPY_AND_ASSIGN(BrowserFrameAshWin); | 25 DISALLOW_COPY_AND_ASSIGN(BrowserFrameAshWin); |
25 }; | 26 }; |
26 | 27 |
27 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASHWIN_H_ | 28 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASHWIN_H_ |
OLD | NEW |