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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.h

Issue 2541163006: Wire up CursorManager for DesktopWindowTreeHostMus (Closed)
Patch Set: Created 4 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
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_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 std::unique_ptr<wm::ShadowController> shadow_controller_; 301 std::unique_ptr<wm::ShadowController> shadow_controller_;
302 302
303 // Reorders child windows of |window_| associated with a view based on the 303 // Reorders child windows of |window_| associated with a view based on the
304 // order of the associated views in the widget's view hierarchy. 304 // order of the associated views in the widget's view hierarchy.
305 std::unique_ptr<WindowReorderer> window_reorderer_; 305 std::unique_ptr<WindowReorderer> window_reorderer_;
306 306
307 // See class documentation for Widget in widget.h for a note about type. 307 // See class documentation for Widget in widget.h for a note about type.
308 Widget::InitParams::Type widget_type_; 308 Widget::InitParams::Type widget_type_;
309 309
310 // See DesktopWindowTreeHost::ShouldUseDesktopNativeCursorManager().
311 bool use_desktop_native_cursor_manager_ = false;
312
310 // The following factory is used for calls to close the NativeWidgetAura 313 // The following factory is used for calls to close the NativeWidgetAura
311 // instance. 314 // instance.
312 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; 315 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_;
313 316
314 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); 317 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura);
315 }; 318 };
316 319
317 } // namespace views 320 } // namespace views
318 321
319 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ 322 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698