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

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

Issue 361143002: Impl thread smooth scrolling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 5 months 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 | Annotate | Revision Log
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/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/renderer/input/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698