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

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

Issue 2823343006: cros: Fix unlock crash with multi-display (Closed)
Patch Set: add comment for test Created 3 years, 8 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
« no previous file with comments | « no previous file | ash/wm/session_state_animator_impl.cc » ('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/callback.h" 9 #include "base/callback.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Reports animation duration for |speed|. 185 // Reports animation duration for |speed|.
186 virtual base::TimeDelta GetDuration(AnimationSpeed speed); 186 virtual base::TimeDelta GetDuration(AnimationSpeed speed);
187 187
188 // Apply animation |type| to all containers included in |container_mask| with 188 // Apply animation |type| to all containers included in |container_mask| with
189 // specified |speed|. 189 // specified |speed|.
190 virtual void StartAnimation(int container_mask, 190 virtual void StartAnimation(int container_mask,
191 AnimationType type, 191 AnimationType type,
192 AnimationSpeed speed) = 0; 192 AnimationSpeed speed) = 0;
193 193
194 // Apply animation |type| to all containers included in |container_mask| with 194 // Apply animation |type| to all containers included in |container_mask| with
195 // specified |speed| and call a |callback| at the end of the animation, if it 195 // specified |speed| and call a |callback| once at the end of the animations,
196 // is not null. 196 // if it is not null.
197 virtual void StartAnimationWithCallback(int container_mask, 197 virtual void StartAnimationWithCallback(int container_mask,
198 AnimationType type, 198 AnimationType type,
199 AnimationSpeed speed, 199 AnimationSpeed speed,
200 base::Closure callback) = 0; 200 base::Closure callback) = 0;
201 201
202 // Begins an animation sequence. Use this when you need to be notified when 202 // Begins an animation sequence. Use this when you need to be notified when
203 // a group of animations are completed. See AnimationSequence documentation 203 // a group of animations are completed. See AnimationSequence documentation
204 // for more details. 204 // for more details.
205 virtual AnimationSequence* BeginAnimationSequence(base::Closure callback) = 0; 205 virtual AnimationSequence* BeginAnimationSequence(base::Closure callback) = 0;
206 206
207 // Retruns true if the wallpaper is hidden. 207 // Retruns true if the wallpaper is hidden.
208 virtual bool IsWallpaperHidden() const = 0; 208 virtual bool IsWallpaperHidden() const = 0;
209 209
210 // Shows the wallpaper immediately. 210 // Shows the wallpaper immediately.
211 virtual void ShowWallpaper() = 0; 211 virtual void ShowWallpaper() = 0;
212 212
213 // Hides the wallpaper immediately. 213 // Hides the wallpaper immediately.
214 virtual void HideWallpaper() = 0; 214 virtual void HideWallpaper() = 0;
215 215
216 private: 216 private:
217 DISALLOW_COPY_AND_ASSIGN(SessionStateAnimator); 217 DISALLOW_COPY_AND_ASSIGN(SessionStateAnimator);
218 }; 218 };
219 219
220 } // namespace ash 220 } // namespace ash
221 221
222 #endif // ASH_WM_SESSION_STATE_ANIMATOR_H_ 222 #endif // ASH_WM_SESSION_STATE_ANIMATOR_H_
OLDNEW
« no previous file with comments | « no previous file | ash/wm/session_state_animator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698