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

Side by Side Diff: ui/aura/root_window_host_win.h

Issue 11428066: Use WS_POPUP for ash_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_win.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AURA_ROOT_WINDOW_HOST_WIN_H_ 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/aura/root_window_host.h" 9 #include "ui/aura/root_window_host.h"
10 #include "ui/base/ui_export.h"
10 #include "ui/base/win/window_impl.h" 11 #include "ui/base/win/window_impl.h"
11 12
12 namespace aura { 13 namespace aura {
13 14
14 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl { 15 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl {
15 public: 16 public:
16 RootWindowHostWin(const gfx::Rect& bounds); 17 RootWindowHostWin(const gfx::Rect& bounds);
17 virtual ~RootWindowHostWin(); 18 virtual ~RootWindowHostWin();
18 // RootWindowHost: 19 // RootWindowHost:
19 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; 20 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 82
82 bool fullscreen_; 83 bool fullscreen_;
83 bool has_capture_; 84 bool has_capture_;
84 RECT saved_window_rect_; 85 RECT saved_window_rect_;
85 DWORD saved_window_style_; 86 DWORD saved_window_style_;
86 DWORD saved_window_ex_style_; 87 DWORD saved_window_ex_style_;
87 88
88 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin); 89 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
89 }; 90 };
90 91
92 namespace test {
93
94 // Set true to let RootWindowHostWin use a popup window
95 // with no frame/title so that the window size and test's
96 // expectations matches.
97 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use);
98
99 } // namespace
100
91 } // namespace aura 101 } // namespace aura
92 102
93 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 103 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/root_window.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698