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

Unified Diff: ui/views/widget/native_widget_aura.h

Issue 693523003: MacViews: Put wm window animation calls behind an interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views-clipboard
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/native_widget_aura.h
diff --git a/ui/views/widget/native_widget_aura.h b/ui/views/widget/native_widget_aura.h
index bdd92e4c0afa792ca911c7dbaa0e106f4b4c7287..f503712dd7383470c46241035cf1af5d79911b77 100644
--- a/ui/views/widget/native_widget_aura.h
+++ b/ui/views/widget/native_widget_aura.h
@@ -129,6 +129,7 @@ class VIEWS_EXPORT NativeWidgetAura
Widget::MoveLoopEscapeBehavior escape_behavior) override;
void EndMoveLoop() override;
void SetVisibilityChangedAnimationsEnabled(bool value) override;
+ Widget::VisibilityAnimation* GetVisibilityAnimation() const override;
ui::NativeTheme* GetNativeTheme() const override;
void OnRootViewLayout() override;
bool IsTranslucentWindowOpacitySupported() const override;
@@ -223,6 +224,8 @@ class VIEWS_EXPORT NativeWidgetAura
scoped_ptr<DropHelper> drop_helper_;
int last_drop_operation_;
+ scoped_ptr<Widget::VisibilityAnimation> visibility_animation_;
+
// The following factory is used for calls to close the NativeWidgetAura
// instance.
base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_;

Powered by Google App Engine
This is Rietveld 408576698