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

Side by Side Diff: ui/views/widget/native_widget_aura.h

Issue 2625113004: Unify window fullscreen and minimizing implementation (Closed)
Patch Set: Fix review issue Created 3 years, 10 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/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/widget/native_widget_aura.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_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 aura::Window* window_; 211 aura::Window* window_;
212 212
213 // See class documentation for Widget in widget.h for a note about ownership. 213 // See class documentation for Widget in widget.h for a note about ownership.
214 Widget::InitParams::Ownership ownership_; 214 Widget::InitParams::Ownership ownership_;
215 215
216 // Are we in the destructor? 216 // Are we in the destructor?
217 bool destroying_; 217 bool destroying_;
218 218
219 gfx::NativeCursor cursor_; 219 gfx::NativeCursor cursor_;
220 220
221 // The saved window state for exiting full screen state.
222 ui::WindowShowState saved_window_state_;
223
224 std::unique_ptr<TooltipManagerAura> tooltip_manager_; 221 std::unique_ptr<TooltipManagerAura> tooltip_manager_;
225 222
226 // Reorders child windows of |window_| associated with a view based on the 223 // Reorders child windows of |window_| associated with a view based on the
227 // order of the associated views in the widget's view hierarchy. 224 // order of the associated views in the widget's view hierarchy.
228 std::unique_ptr<WindowReorderer> window_reorderer_; 225 std::unique_ptr<WindowReorderer> window_reorderer_;
229 226
230 std::unique_ptr<DropHelper> drop_helper_; 227 std::unique_ptr<DropHelper> drop_helper_;
231 int last_drop_operation_; 228 int last_drop_operation_;
232 229
233 // Native widget's handler to receive events before the event target. 230 // Native widget's handler to receive events before the event target.
234 std::unique_ptr<FocusManagerEventHandler> focus_manager_event_handler_; 231 std::unique_ptr<FocusManagerEventHandler> focus_manager_event_handler_;
235 232
236 // The following factory is used for calls to close the NativeWidgetAura 233 // The following factory is used for calls to close the NativeWidgetAura
237 // instance. 234 // instance.
238 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; 235 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
239 236
240 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 237 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
241 }; 238 };
242 239
243 } // namespace views 240 } // namespace views
244 241
245 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 242 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698