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