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