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

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

Issue 400413002: aura: Use PlatformWindow from WindowTreeHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 | Annotate | Revision Log
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 "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/platform_window.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 LRESULT OnCreate(CREATESTRUCT* create_struct); 65 LRESULT OnCreate(CREATESTRUCT* create_struct);
66 void OnDestroy(); 66 void OnDestroy();
67 void OnPaint(HDC); 67 void OnPaint(HDC);
68 void OnWindowPosChanged(WINDOWPOS* window_pos); 68 void OnWindowPosChanged(WINDOWPOS* window_pos);
69 69
70 PlatformWindowDelegate* delegate_; 70 PlatformWindowDelegate* delegate_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(WinWindow); 72 DISALLOW_COPY_AND_ASSIGN(WinWindow);
73 }; 73 };
74 74
75 namespace test {
76
77 // Set true to let WindowTreeHostWin use a popup window
78 // with no frame/title so that the window size and test's
79 // expectations matches.
80 WIN_WINDOW_EXPORT void SetUsePopupAsRootWindowForTest(bool use);
81
82 } // namespace test
83
75 } // namespace ui 84 } // namespace ui
76 85
77 #endif // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_ 86 #endif // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698