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

Side by Side Diff: content/renderer/input/input_handler_proxy.h

Issue 764403002: Expand UMA coverage for compositor-handled events and fling FPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years 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 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698