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

Side by Side Diff: content/browser/web_contents/aura/overscroll_window_animation.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_WINDOW_ANIMATION_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_WINDOW_ANIMATION_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_WINDOW_ANIMATION_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_WINDOW_ANIMATION_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "content/browser/renderer_host/overscroll_controller_delegate.h" 11 #include "content/browser/renderer_host/overscroll_controller_delegate.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "ui/compositor/layer_animation_observer.h" 13 #include "ui/compositor/layer_animation_observer.h"
14 14
15 namespace aura { 15 namespace aura {
16 class Window; 16 class Window;
17 } 17 }
18 18
19 namespace ui { 19 namespace ui {
20 class Layer; 20 class Layer;
21 class LayerAnimator;
22 } 21 }
23 22
24 namespace content { 23 namespace content {
25 24
26 class ShadowLayerDelegate; 25 class ShadowLayerDelegate;
27 class WebContentsImpl;
28 26
29 // Manages the animation of a window sliding on top or behind another one. The 27 // Manages the animation of a window sliding on top or behind another one. The
30 // main window, which is the one displayed before the animation starts, is not 28 // main window, which is the one displayed before the animation starts, is not
31 // owned by OverscrollWindowAnimation, while the slide window, created at the 29 // owned by OverscrollWindowAnimation, while the slide window, created at the
32 // start of the animation, is owned by us for its duration. 30 // start of the animation, is owned by us for its duration.
33 class CONTENT_EXPORT OverscrollWindowAnimation 31 class CONTENT_EXPORT OverscrollWindowAnimation
34 : public OverscrollControllerDelegate, 32 : public OverscrollControllerDelegate,
35 ui::ImplicitAnimationObserver { 33 ui::ImplicitAnimationObserver {
36 public: 34 public:
37 // The direction of this animation. SLIDE_FRONT indicates that the slide 35 // The direction of this animation. SLIDE_FRONT indicates that the slide
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // Indicates if the current slide has been cancelled. True while the cancel 122 // Indicates if the current slide has been cancelled. True while the cancel
125 // animation is in progress. 123 // animation is in progress.
126 bool overscroll_cancelled_; 124 bool overscroll_cancelled_;
127 125
128 DISALLOW_COPY_AND_ASSIGN(OverscrollWindowAnimation); 126 DISALLOW_COPY_AND_ASSIGN(OverscrollWindowAnimation);
129 }; 127 };
130 128
131 } // namespace content 129 } // namespace content
132 130
133 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_WINDOW_ANIMATION_H_ 131 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_WINDOW_ANIMATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698