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