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

Side by Side Diff: ash/rotator/screen_rotation_animator_observer.h

Issue 2728803002: Handles users rotating screen too early (Closed)
Patch Set: Rebased to commit. Created 3 years, 9 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
OLDNEW
(Empty)
1 // Copyright 2017 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 ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H
6 #define ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H
7
8 #include "ash/ash_export.h"
9
10 namespace ash {
11
12 class ScreenRotationAnimator;
13
14 class ASH_EXPORT ScreenRotationAnimatorObserver {
15 public:
16 ScreenRotationAnimatorObserver() {}
17
18 // This will be called when the animation is ended or aborted.
19 virtual void OnScreenRotationAnimationFinished(
20 ScreenRotationAnimator* animator) = 0;
21
22 protected:
23 virtual ~ScreenRotationAnimatorObserver() {}
24 };
25
26 } // namespace ash
27
28 #endif // ASH_ROTATOR_SCREEN_ROTATION_ANIMATOR_OBSERVER_H
OLDNEW
« no previous file with comments | « ash/rotator/screen_rotation_animator.cc ('k') | ash/rotator/screen_rotation_animator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698