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

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

Issue 11419271: Revert "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"
11 #include "ui/base/win/window_impl.h" 10 #include "ui/base/win/window_impl.h"
12 11
13 namespace aura { 12 namespace aura {
14 13
15 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl { 14 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl {
16 public: 15 public:
17 RootWindowHostWin(const gfx::Rect& bounds); 16 RootWindowHostWin(const gfx::Rect& bounds);
18 virtual ~RootWindowHostWin(); 17 virtual ~RootWindowHostWin();
19 // RootWindowHost: 18 // RootWindowHost:
20 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; 19 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 81
83 bool fullscreen_; 82 bool fullscreen_;
84 bool has_capture_; 83 bool has_capture_;
85 RECT saved_window_rect_; 84 RECT saved_window_rect_;
86 DWORD saved_window_style_; 85 DWORD saved_window_style_;
87 DWORD saved_window_ex_style_; 86 DWORD saved_window_ex_style_;
88 87
89 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin); 88 DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
90 }; 89 };
91 90
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
101 } // namespace aura 91 } // namespace aura
102 92
103 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ 93 #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