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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2902303002: phase based wheel scroll latching for mac (Closed)
Patch Set: review comments addressed. Created 3 years, 7 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_event_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 namespace cc { 61 namespace cc {
62 class SurfaceHittestDelegate; 62 class SurfaceHittestDelegate;
63 } 63 }
64 64
65 namespace ui { 65 namespace ui {
66 class LatencyInfo; 66 class LatencyInfo;
67 struct DidOverscrollParams; 67 struct DidOverscrollParams;
68 } 68 }
69 69
70 namespace content { 70 namespace content {
71
72 // The duration after which a synthetic wheel with zero deltas and
73 // phase = |kPhaseEnded| will be sent after the last wheel event.
74 const int64_t kDefaultMouseWheelLatchingTransactionMs = 100;
75
71 class BrowserAccessibilityDelegate; 76 class BrowserAccessibilityDelegate;
72 class BrowserAccessibilityManager; 77 class BrowserAccessibilityManager;
73 class RenderWidgetHostImpl; 78 class RenderWidgetHostImpl;
74 class RenderWidgetHostViewBaseObserver; 79 class RenderWidgetHostViewBaseObserver;
75 class SyntheticGestureTarget; 80 class SyntheticGestureTarget;
76 class TextInputManager; 81 class TextInputManager;
77 class WebCursor; 82 class WebCursor;
78 struct NativeWebKeyboardEvent; 83 struct NativeWebKeyboardEvent;
79 struct TextInputState; 84 struct TextInputState;
80 85
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 474 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
470 475
471 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 476 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
472 477
473 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 478 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
474 }; 479 };
475 480
476 } // namespace content 481 } // namespace content
477 482
478 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698