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

Side by Side Diff: ui/views/widget/native_widget_aura.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_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 Widget::MoveLoopResult RunMoveLoop( 128 Widget::MoveLoopResult RunMoveLoop(
129 const gfx::Vector2d& drag_offset, 129 const gfx::Vector2d& drag_offset,
130 Widget::MoveLoopSource source, 130 Widget::MoveLoopSource source,
131 Widget::MoveLoopEscapeBehavior escape_behavior) override; 131 Widget::MoveLoopEscapeBehavior escape_behavior) override;
132 void EndMoveLoop() override; 132 void EndMoveLoop() override;
133 void SetVisibilityChangedAnimationsEnabled(bool value) override; 133 void SetVisibilityChangedAnimationsEnabled(bool value) override;
134 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override; 134 void SetVisibilityAnimationDuration(const base::TimeDelta& duration) override;
135 void SetVisibilityAnimationTransition( 135 void SetVisibilityAnimationTransition(
136 Widget::VisibilityTransition transition) override; 136 Widget::VisibilityTransition transition) override;
137 ui::NativeTheme* GetNativeTheme() const override; 137 ui::NativeTheme* GetNativeTheme() const override;
138 void OnRootViewLayout() override;
139 bool IsTranslucentWindowOpacitySupported() const override; 138 bool IsTranslucentWindowOpacitySupported() const override;
140 void OnSizeConstraintsChanged() override; 139 void OnSizeConstraintsChanged() override;
141 void RepostNativeEvent(gfx::NativeEvent native_event) override; 140 void RepostNativeEvent(gfx::NativeEvent native_event) override;
142 std::string GetName() const override; 141 std::string GetName() const override;
143 142
144 // Overridden from aura::WindowDelegate: 143 // Overridden from aura::WindowDelegate:
145 gfx::Size GetMinimumSize() const override; 144 gfx::Size GetMinimumSize() const override;
146 gfx::Size GetMaximumSize() const override; 145 gfx::Size GetMaximumSize() const override;
147 void OnBoundsChanged(const gfx::Rect& old_bounds, 146 void OnBoundsChanged(const gfx::Rect& old_bounds,
148 const gfx::Rect& new_bounds) override; 147 const gfx::Rect& new_bounds) override;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // The following factory is used for calls to close the NativeWidgetAura 232 // The following factory is used for calls to close the NativeWidgetAura
234 // instance. 233 // instance.
235 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; 234 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;
236 235
237 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 236 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
238 }; 237 };
239 238
240 } // namespace views 239 } // namespace views
241 240
242 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 241 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698