OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_ | 5 #ifndef UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_ |
6 #define UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_ | 6 #define UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "ui/gfx/win/window_impl.h" | 9 #include "ui/gfx/win/window_impl.h" |
10 #include "ui/platform_window/platform_window.h" | 10 #include "ui/platform_window/types/platform_window.h" |
11 #include "ui/platform_window/win/win_window_export.h" | 11 #include "ui/platform_window/win/win_window_export.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 | 14 |
15 class WIN_WINDOW_EXPORT WinWindow : public NON_EXPORTED_BASE(PlatformWindow), | 15 class WIN_WINDOW_EXPORT WinWindow : public NON_EXPORTED_BASE(PlatformWindow), |
16 public gfx::WindowImpl { | 16 public gfx::WindowImpl { |
17 public: | 17 public: |
18 WinWindow(PlatformWindowDelegate* delegate, const gfx::Rect& bounds); | 18 WinWindow(PlatformWindowDelegate* delegate, const gfx::Rect& bounds); |
19 virtual ~WinWindow(); | 19 virtual ~WinWindow(); |
20 | 20 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // Set true to let WindowTreeHostWin use a popup window | 77 // Set true to let WindowTreeHostWin use a popup window |
78 // with no frame/title so that the window size and test's | 78 // with no frame/title so that the window size and test's |
79 // expectations matches. | 79 // expectations matches. |
80 WIN_WINDOW_EXPORT void SetUsePopupAsRootWindowForTest(bool use); | 80 WIN_WINDOW_EXPORT void SetUsePopupAsRootWindowForTest(bool use); |
81 | 81 |
82 } // namespace test | 82 } // namespace test |
83 | 83 |
84 } // namespace ui | 84 } // namespace ui |
85 | 85 |
86 #endif // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_ | 86 #endif // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_ |
OLD | NEW |