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

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

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « ash/wm/resize_shadow_controller.cc ('k') | ash/wm/session_state_animator.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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
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| at the end of the animation, if it
196 // is not null. 196 // is not null.
197 virtual void StartAnimationWithCallback( 197 virtual void StartAnimationWithCallback(int container_mask,
198 int container_mask, 198 AnimationType type,
199 AnimationType type, 199 AnimationSpeed speed,
200 AnimationSpeed speed, 200 base::Closure callback) = 0;
201 base::Closure callback) = 0;
202 201
203 // 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
204 // a group of animations are completed. See AnimationSequence documentation 203 // a group of animations are completed. See AnimationSequence documentation
205 // for more details. 204 // for more details.
206 virtual AnimationSequence* BeginAnimationSequence( 205 virtual AnimationSequence* BeginAnimationSequence(base::Closure callback) = 0;
207 base::Closure callback) = 0;
208 206
209 // Retruns true if the background is hidden. 207 // Retruns true if the background is hidden.
210 virtual bool IsBackgroundHidden() const = 0; 208 virtual bool IsBackgroundHidden() const = 0;
211 209
212 // Shows the background immediately. 210 // Shows the background immediately.
213 virtual void ShowBackground() = 0; 211 virtual void ShowBackground() = 0;
214 212
215 // Hides the background immediately. 213 // Hides the background immediately.
216 virtual void HideBackground() = 0; 214 virtual void HideBackground() = 0;
217 215
218 private: 216 private:
219 DISALLOW_COPY_AND_ASSIGN(SessionStateAnimator); 217 DISALLOW_COPY_AND_ASSIGN(SessionStateAnimator);
220 }; 218 };
221 219
222 } // namespace ash 220 } // namespace ash
223 221
224 #endif // ASH_WM_SESSION_STATE_ANIMATOR_H_ 222 #endif // ASH_WM_SESSION_STATE_ANIMATOR_H_
OLDNEW
« no previous file with comments | « ash/wm/resize_shadow_controller.cc ('k') | ash/wm/session_state_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698