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

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

Issue 2694213003: mash: wires up shadows for mash (Closed)
Patch Set: cleanup 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
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_WINDOW_TREE_HOST_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ui/aura/window_event_dispatcher.h" 10 #include "ui/aura/window_event_dispatcher.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 virtual void SizeConstraintsChanged() = 0; 160 virtual void SizeConstraintsChanged() = 0;
161 161
162 // Returns true if the transparency of the DesktopNativeWidgetAura's 162 // Returns true if the transparency of the DesktopNativeWidgetAura's
163 // |content_window_| should change. 163 // |content_window_| should change.
164 virtual bool ShouldUpdateWindowTransparency() const = 0; 164 virtual bool ShouldUpdateWindowTransparency() const = 0;
165 165
166 // A return value of true indicates DesktopNativeCursorManager should be 166 // A return value of true indicates DesktopNativeCursorManager should be
167 // used, a return value of false indicates the DesktopWindowTreeHost manages 167 // used, a return value of false indicates the DesktopWindowTreeHost manages
168 // cursors itself. 168 // cursors itself.
169 virtual bool ShouldUseDesktopNativeCursorManager() const = 0; 169 virtual bool ShouldUseDesktopNativeCursorManager() const = 0;
170
171 // Returns whether a VisibilityController should be created.
172 virtual bool ShouldCreateVisibiltyController() const = 0;
msw 2017/02/15 01:37:29 nit: VisibilityController (missing an 'i')
sky 2017/02/15 03:58:25 Done.
170 }; 173 };
171 174
172 } // namespace views 175 } // namespace views
173 176
174 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ 177 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698