| OLD | NEW |
| 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 "base/gtest_prod_util.h" | |
| 9 #include "content/browser/renderer_host/overscroll_controller_delegate.h" | 8 #include "content/browser/renderer_host/overscroll_controller_delegate.h" |
| 10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 11 #include "ui/compositor/layer_animation_observer.h" | 10 #include "ui/compositor/layer_animation_observer.h" |
| 12 | 11 |
| 13 namespace aura { | 12 namespace aura { |
| 14 class Window; | 13 class Window; |
| 15 } | 14 } |
| 16 | 15 |
| 17 namespace ui { | 16 namespace ui { |
| 18 class Layer; | 17 class Layer; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 // Indicates if the current slide has been cancelled. True while the cancel | 120 // Indicates if the current slide has been cancelled. True while the cancel |
| 122 // animation is in progress. | 121 // animation is in progress. |
| 123 bool overscroll_cancelled_; | 122 bool overscroll_cancelled_; |
| 124 | 123 |
| 125 DISALLOW_COPY_AND_ASSIGN(OverscrollWindowAnimation); | 124 DISALLOW_COPY_AND_ASSIGN(OverscrollWindowAnimation); |
| 126 }; | 125 }; |
| 127 | 126 |
| 128 } // namespace content | 127 } // namespace content |
| 129 | 128 |
| 130 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_WINDOW_ANIMATION_H_ | 129 #endif // CONTENT_BROWSER_WEB_CONTENTS_AURA_OVERSCROLL_WINDOW_ANIMATION_H_ |
| OLD | NEW |