OLD | NEW |
| (Empty) |
1 // Copyright 2016 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 ASH_HOST_ASH_WINDOW_TREE_HOST_WIN_H_ | |
6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_WIN_H_ | |
7 | |
8 #include "ash/host/ash_window_tree_host_platform.h" | |
9 | |
10 namespace ash { | |
11 | |
12 class AshWindowTreeHostWin : public AshWindowTreeHostPlatform { | |
13 public: | |
14 explicit AshWindowTreeHostWin(const gfx::Rect& initial_bounds); | |
15 ~AshWindowTreeHostWin() override; | |
16 | |
17 private: | |
18 // AshWindowTreeHost: | |
19 void ToggleFullScreen() override; | |
20 | |
21 // WindowTreeHost: | |
22 void SetBoundsInPixels(const gfx::Rect& bounds) override; | |
23 | |
24 bool fullscreen_; | |
25 RECT saved_window_rect_; | |
26 DWORD saved_window_style_; | |
27 DWORD saved_window_ex_style_; | |
28 | |
29 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostWin); | |
30 }; | |
31 | |
32 } // namespace ash | |
33 | |
34 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_WIN_H_ | |
OLD | NEW |