| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ |
| 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ | 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/containers/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 bool disallow_horizontal_fling_scroll_; | 109 bool disallow_horizontal_fling_scroll_; |
| 110 bool disallow_vertical_fling_scroll_; | 110 bool disallow_vertical_fling_scroll_; |
| 111 | 111 |
| 112 // Whether an active fling has seen an |Animate()| call. This is useful for | 112 // Whether an active fling has seen an |Animate()| call. This is useful for |
| 113 // determining if the fling start time should be re-initialized. | 113 // determining if the fling start time should be re-initialized. |
| 114 bool has_fling_animation_started_; | 114 bool has_fling_animation_started_; |
| 115 | 115 |
| 116 // Non-zero only within the scope of |scrollBy|. | 116 // Non-zero only within the scope of |scrollBy|. |
| 117 gfx::Vector2dF current_fling_velocity_; | 117 gfx::Vector2dF current_fling_velocity_; |
| 118 | 118 |
| 119 bool smooth_scroll_enabled_; |
| 120 |
| 119 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); | 121 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); |
| 120 }; | 122 }; |
| 121 | 123 |
| 122 } // namespace content | 124 } // namespace content |
| 123 | 125 |
| 124 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ | 126 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ |
| OLD | NEW |