Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: ui/platform_window/win/win_window.h

Issue 2741533002: Fix AshWindowTreeHost shutdown for Ozone X11. (Closed)
Patch Set: Add to other PlatformWindow implementations. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/platform_window/stub/stub_window.cc ('k') | ui/platform_window/win/win_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/gfx/win/window_impl.h" 10 #include "ui/gfx/win/window_impl.h"
(...skipping 10 matching lines...) Expand all
21 WinWindow(PlatformWindowDelegate* delegate, const gfx::Rect& bounds); 21 WinWindow(PlatformWindowDelegate* delegate, const gfx::Rect& bounds);
22 ~WinWindow() override; 22 ~WinWindow() override;
23 23
24 private: 24 private:
25 void Destroy(); 25 void Destroy();
26 26
27 // PlatformWindow: 27 // PlatformWindow:
28 void Show() override; 28 void Show() override;
29 void Hide() override; 29 void Hide() override;
30 void Close() override; 30 void Close() override;
31 void PrepareForShutdown() override;
31 void SetBounds(const gfx::Rect& bounds) override; 32 void SetBounds(const gfx::Rect& bounds) override;
32 gfx::Rect GetBounds() override; 33 gfx::Rect GetBounds() override;
33 void SetTitle(const base::string16& title) override; 34 void SetTitle(const base::string16& title) override;
34 void SetCapture() override; 35 void SetCapture() override;
35 void ReleaseCapture() override; 36 void ReleaseCapture() override;
36 void ToggleFullscreen() override; 37 void ToggleFullscreen() override;
37 void Maximize() override; 38 void Maximize() override;
38 void Minimize() override; 39 void Minimize() override;
39 void Restore() override; 40 void Restore() override;
40 void SetCursor(PlatformCursor cursor) override; 41 void SetCursor(PlatformCursor cursor) override;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Set true to let WindowTreeHostWin use a popup window 86 // Set true to let WindowTreeHostWin use a popup window
86 // with no frame/title so that the window size and test's 87 // with no frame/title so that the window size and test's
87 // expectations matches. 88 // expectations matches.
88 WIN_WINDOW_EXPORT void SetUsePopupAsRootWindowForTest(bool use); 89 WIN_WINDOW_EXPORT void SetUsePopupAsRootWindowForTest(bool use);
89 90
90 } // namespace test 91 } // namespace test
91 92
92 } // namespace ui 93 } // namespace ui
93 94
94 #endif // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_ 95 #endif // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/platform_window/stub/stub_window.cc ('k') | ui/platform_window/win/win_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698