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

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

Issue 2507403002: Remove Widget::OnRootViewLayout(). (Closed)
Patch Set: Created 4 years, 1 month 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 virtual void SetOpacity(float opacity) = 0; 141 virtual void SetOpacity(float opacity) = 0;
142 142
143 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 143 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
144 const gfx::ImageSkia& app_icon) = 0; 144 const gfx::ImageSkia& app_icon) = 0;
145 145
146 virtual void InitModalType(ui::ModalType modal_type) = 0; 146 virtual void InitModalType(ui::ModalType modal_type) = 0;
147 147
148 virtual void FlashFrame(bool flash_frame) = 0; 148 virtual void FlashFrame(bool flash_frame) = 0;
149 149
150 virtual void OnRootViewLayout() = 0;
151
152 // Returns true if the Widget was closed but is still showing because of 150 // Returns true if the Widget was closed but is still showing because of
153 // animations. 151 // animations.
154 virtual bool IsAnimatingClosed() const = 0; 152 virtual bool IsAnimatingClosed() const = 0;
155 153
156 // Returns true if the Widget supports translucency. 154 // Returns true if the Widget supports translucency.
157 virtual bool IsTranslucentWindowOpacitySupported() const = 0; 155 virtual bool IsTranslucentWindowOpacitySupported() const = 0;
158 156
159 // Called when the window's size constraints change. 157 // Called when the window's size constraints change.
160 virtual void SizeConstraintsChanged() = 0; 158 virtual void SizeConstraintsChanged() = 0;
161 }; 159 };
162 160
163 } // namespace views 161 } // namespace views
164 162
165 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ 163 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698