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

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

Issue 2645253002: DesktopAura: Track windows "owned" via the DesktopWindowTreeHost (Closed)
Patch Set: Add context, comment 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 a list of DesktopWindowTreeHost owned by |this|. That is, hosts
172 // that are automatically destroyed along with |this|.
173 virtual std::vector<DesktopWindowTreeHost*> GetOwnedTopLevelHosts() const = 0;
170 }; 174 };
171 175
172 } // namespace views 176 } // namespace views
173 177
174 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ 178 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698