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

Unified Diff: ui/views/widget/desktop_aura/desktop_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/desktop_aura/desktop_native_widget_aura.h
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
index 1400235d3aae60d8493059c45a19a783aa0ecaaf..64c95d3bb0e1719be68c1b9ee3912766ba61fb07 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
@@ -173,6 +173,7 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
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;
@@ -308,6 +309,8 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
// See class documentation for Widget in widget.h for a note about type.
Widget::InitParams::Type widget_type_;
+ scoped_ptr<Widget::VisibilityAnimation> visibility_animation_;
+
// The following factory is used for calls to close the NativeWidgetAura
// instance.
base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_;

Powered by Google App Engine
This is Rietveld 408576698