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/native_widget_private.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
« no previous file with comments | « ui/views/widget/native_widget_mac.mm ('k') | ui/views/widget/root_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_NATIVE_WIDGET_PRIVATE_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 const gfx::Vector2d& drag_offset, 217 const gfx::Vector2d& drag_offset,
218 Widget::MoveLoopSource source, 218 Widget::MoveLoopSource source,
219 Widget::MoveLoopEscapeBehavior escape_behavior) = 0; 219 Widget::MoveLoopEscapeBehavior escape_behavior) = 0;
220 virtual void EndMoveLoop() = 0; 220 virtual void EndMoveLoop() = 0;
221 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; 221 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0;
222 virtual void SetVisibilityAnimationDuration( 222 virtual void SetVisibilityAnimationDuration(
223 const base::TimeDelta& duration) = 0; 223 const base::TimeDelta& duration) = 0;
224 virtual void SetVisibilityAnimationTransition( 224 virtual void SetVisibilityAnimationTransition(
225 Widget::VisibilityTransition transition) = 0; 225 Widget::VisibilityTransition transition) = 0;
226 virtual ui::NativeTheme* GetNativeTheme() const = 0; 226 virtual ui::NativeTheme* GetNativeTheme() const = 0;
227 virtual void OnRootViewLayout() = 0;
228 virtual bool IsTranslucentWindowOpacitySupported() const = 0; 227 virtual bool IsTranslucentWindowOpacitySupported() const = 0;
229 virtual void OnSizeConstraintsChanged() = 0; 228 virtual void OnSizeConstraintsChanged() = 0;
230 229
231 // Repost an unhandled event to the native widget for default OS processing. 230 // Repost an unhandled event to the native widget for default OS processing.
232 virtual void RepostNativeEvent(gfx::NativeEvent native_event) = 0; 231 virtual void RepostNativeEvent(gfx::NativeEvent native_event) = 0;
233 232
234 // Returns an internal name that matches the name of the associated Widget. 233 // Returns an internal name that matches the name of the associated Widget.
235 virtual std::string GetName() const = 0; 234 virtual std::string GetName() const = 0;
236 235
237 // Overridden from NativeWidget: 236 // Overridden from NativeWidget:
238 internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override; 237 internal::NativeWidgetPrivate* AsNativeWidgetPrivate() override;
239 }; 238 };
240 239
241 } // namespace internal 240 } // namespace internal
242 } // namespace views 241 } // namespace views
243 242
244 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 243 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_mac.mm ('k') | ui/views/widget/root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698