| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_RENDERER_HOST_SMOOTH_SCROLL_GESTURE_CONTROLLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SMOOTH_SCROLL_GESTURE_CONTROLLER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_SMOOTH_SCROLL_GESTURE_CONTROLLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_SMOOTH_SCROLL_GESTURE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/time.h" | 11 #include "base/time/time.h" |
| 12 #include "base/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 | 14 |
| 15 struct ViewHostMsg_BeginSmoothScroll_Params; | 15 struct ViewHostMsg_BeginSmoothScroll_Params; |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 class RenderWidgetHost; | 19 class RenderWidgetHost; |
| 20 class RenderWidgetHostViewPort; | 20 class RenderWidgetHostViewPort; |
| 21 class SmoothScrollGesture; | 21 class SmoothScrollGesture; |
| 22 | 22 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 43 RenderWidgetHost* rwh_; | 43 RenderWidgetHost* rwh_; |
| 44 | 44 |
| 45 scoped_refptr<SmoothScrollGesture> pending_smooth_scroll_gesture_; | 45 scoped_refptr<SmoothScrollGesture> pending_smooth_scroll_gesture_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(SmoothScrollGestureController); | 47 DISALLOW_COPY_AND_ASSIGN(SmoothScrollGestureController); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace content | 50 } // namespace content |
| 51 | 51 |
| 52 #endif // CONTENT_BROWSER_RENDERER_HOST_SMOOTH_SCROLL_GESTURE_CONTROLLER_H_ | 52 #endif // CONTENT_BROWSER_RENDERER_HOST_SMOOTH_SCROLL_GESTURE_CONTROLLER_H_ |
| OLD | NEW |