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

Side by Side Diff: ash/wm/session_state_animator.h

Issue 11087021: Cleanup: IWYU for base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | base/message_pump_android.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 ASH_WM_SESSION_STATE_ANIMATOR_H_ 5 #ifndef ASH_WM_SESSION_STATE_ANIMATOR_H_
6 #define ASH_WM_SESSION_STATE_ANIMATOR_H_ 6 #define ASH_WM_SESSION_STATE_ANIMATOR_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/time.h"
12 #include "base/timer.h" 11 #include "base/timer.h"
13 #include "ui/aura/root_window_observer.h" 12 #include "ui/aura/root_window_observer.h"
14 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
15 14
16 namespace gfx { 15 namespace gfx {
17 class Rect; 16 class Rect;
18 class Size; 17 class Size;
19 } 18 }
20 19
21 namespace ui { 20 namespace ui {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual ~SessionStateAnimator(); 102 virtual ~SessionStateAnimator();
104 103
105 // Shows or hides |black_layer_|. The show method creates and 104 // Shows or hides |black_layer_|. The show method creates and
106 // initializes the layer if it doesn't already exist. 105 // initializes the layer if it doesn't already exist.
107 void ShowBlackLayer(); 106 void ShowBlackLayer();
108 void DropBlackLayer(); 107 void DropBlackLayer();
109 108
110 // Drops back layer after |UNDO_SLOW_CLOSE| animation delay. 109 // Drops back layer after |UNDO_SLOW_CLOSE| animation delay.
111 void ScheduleDropBlackLayer(); 110 void ScheduleDropBlackLayer();
112 111
113 // Apply animation |type| to all containers included in |container_mask|. 112 // Apply animation |type| to all containers included in |container_mask|.
114 void StartAnimation(int container_mask, 113 void StartAnimation(int container_mask,
115 AnimationType type); 114 AnimationType type);
116 115
117 // Fills |containers| with the containers included in |container_mask|. 116 // Fills |containers| with the containers included in |container_mask|.
118 void GetContainers(int container_mask, 117 void GetContainers(int container_mask,
119 aura::Window::Windows* containers); 118 aura::Window::Windows* containers);
120 119
121 // aura::RootWindowObserver overrides: 120 // aura::RootWindowObserver overrides:
122 virtual void OnRootWindowResized(const aura::RootWindow* root, 121 virtual void OnRootWindowResized(const aura::RootWindow* root,
123 const gfx::Size& old_size) OVERRIDE; 122 const gfx::Size& old_size) OVERRIDE;
(...skipping 11 matching lines...) Expand all
135 // screen. 134 // screen.
136 base::OneShotTimer<SessionStateAnimator> hide_black_layer_timer_; 135 base::OneShotTimer<SessionStateAnimator> hide_black_layer_timer_;
137 136
138 DISALLOW_COPY_AND_ASSIGN(SessionStateAnimator); 137 DISALLOW_COPY_AND_ASSIGN(SessionStateAnimator);
139 }; 138 };
140 139
141 } // namespace internal 140 } // namespace internal
142 } // namespace ash 141 } // namespace ash
143 142
144 #endif // ASH_WM_SESSION_STATE_ANIMATOR_H_ 143 #endif // ASH_WM_SESSION_STATE_ANIMATOR_H_
OLDNEW
« no previous file with comments | « no previous file | base/message_pump_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698