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

Side by Side Diff: ui/views/mus/desktop_window_tree_host_mus.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_MUS_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void SetOpacity(float opacity) override; 115 void SetOpacity(float opacity) override;
116 void SetWindowIcons(const gfx::ImageSkia& window_icon, 116 void SetWindowIcons(const gfx::ImageSkia& window_icon,
117 const gfx::ImageSkia& app_icon) override; 117 const gfx::ImageSkia& app_icon) override;
118 void InitModalType(ui::ModalType modal_type) override; 118 void InitModalType(ui::ModalType modal_type) override;
119 void FlashFrame(bool flash_frame) override; 119 void FlashFrame(bool flash_frame) override;
120 bool IsAnimatingClosed() const override; 120 bool IsAnimatingClosed() const override;
121 bool IsTranslucentWindowOpacitySupported() const override; 121 bool IsTranslucentWindowOpacitySupported() const override;
122 void SizeConstraintsChanged() override; 122 void SizeConstraintsChanged() override;
123 bool ShouldUpdateWindowTransparency() const override; 123 bool ShouldUpdateWindowTransparency() const override;
124 bool ShouldUseDesktopNativeCursorManager() const override; 124 bool ShouldUseDesktopNativeCursorManager() const override;
125 std::vector<DesktopWindowTreeHost*> GetOwnedTopLevelHosts() const override;
125 126
126 // MusClientObserver: 127 // MusClientObserver:
127 void OnWindowManagerFrameValuesChanged() override; 128 void OnWindowManagerFrameValuesChanged() override;
128 129
129 // WidgetObserver: 130 // WidgetObserver:
130 void OnWidgetActivationChanged(Widget* widget, bool active) override; 131 void OnWidgetActivationChanged(Widget* widget, bool active) override;
131 132
132 // WindowTreeHostMus: 133 // WindowTreeHostMus:
133 void ShowImpl() override; 134 void ShowImpl() override;
134 void HideImpl() override; 135 void HideImpl() override;
(...skipping 25 matching lines...) Expand all
160 161
161 // Used so that Close() isn't immediate. 162 // Used so that Close() isn't immediate.
162 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; 163 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); 165 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus);
165 }; 166 };
166 167
167 } // namespace views 168 } // namespace views
168 169
169 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 170 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
OLDNEW
« no previous file with comments | « ui/views/accessibility/native_view_accessibility.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698