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

Side by Side Diff: ui/views/widget/window_visibility_animation_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, 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_WIDGET_WINDOW_VISIBILITY_ANIMATION_AURA_H_
6 #define UI_VIEWS_WIDGET_WINDOW_VISIBILITY_ANIMATION_AURA_H_
7
8 #include "ui/views/widget/widget.h"
9
10 namespace aura {
11 class Window;
12 }
13
14 namespace views {
15
16 class WindowVisibilityAnimationAura : public Widget::VisibilityAnimation {
17 public:
18 WindowVisibilityAnimationAura(aura::Window* window);
19 virtual ~WindowVisibilityAnimationAura();
20
21 void SetDuration(const base::TimeDelta& duration) override;
22 void SetTransition(Transition transition) override;
23
24 private:
25 aura::Window* window_; // Weak. Owned by our owner.
26
27 DISALLOW_COPY_AND_ASSIGN(WindowVisibilityAnimationAura);
28 };
29
30 } // namespace views
31
32 #endif // UI_VIEWS_WIDGET_WINDOW_VISIBILITY_ANIMATION_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698