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/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 bool has_fling_animation_started_; | 133 bool has_fling_animation_started_; |
134 | 134 |
135 // Non-zero only within the scope of |scrollBy|. | 135 // Non-zero only within the scope of |scrollBy|. |
136 gfx::Vector2dF current_fling_velocity_; | 136 gfx::Vector2dF current_fling_velocity_; |
137 | 137 |
138 // Used to animate rubber-band over-scroll effect on Mac. | 138 // Used to animate rubber-band over-scroll effect on Mac. |
139 scoped_ptr<InputScrollElasticityController> scroll_elasticity_controller_; | 139 scoped_ptr<InputScrollElasticityController> scroll_elasticity_controller_; |
140 | 140 |
141 bool smooth_scroll_enabled_; | 141 bool smooth_scroll_enabled_; |
142 | 142 |
| 143 bool uma_latency_reporting_enabled_; |
| 144 |
143 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); | 145 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); |
144 }; | 146 }; |
145 | 147 |
146 } // namespace content | 148 } // namespace content |
147 | 149 |
148 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ | 150 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_H_ |
OLD | NEW |