| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_EVENT_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_EVENT_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_EVENT_HANDLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_EVENT_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 class WebTouchEvent; | 26 class WebTouchEvent; |
| 27 } // namespace blink | 27 } // namespace blink |
| 28 | 28 |
| 29 namespace ui { | 29 namespace ui { |
| 30 class TextInputClient; | 30 class TextInputClient; |
| 31 class TouchSelectionController; | 31 class TouchSelectionController; |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace content { | 34 namespace content { |
| 35 | 35 |
| 36 // The duration after which a synthetic wheel with zero deltas and | |
| 37 // phase = |kPhaseEnded| will be sent after the last wheel event. | |
| 38 const int64_t kDefaultMouseWheelLatchingTransactionMs = 100; | |
| 39 | |
| 40 struct ContextMenuParams; | 36 struct ContextMenuParams; |
| 41 class OverscrollController; | 37 class OverscrollController; |
| 42 class RenderWidgetHostImpl; | 38 class RenderWidgetHostImpl; |
| 43 class RenderWidgetHostViewBase; | 39 class RenderWidgetHostViewBase; |
| 44 class TouchSelectionControllerClientAura; | 40 class TouchSelectionControllerClientAura; |
| 45 | 41 |
| 46 // Provides an implementation of ui::EventHandler for use with | 42 // Provides an implementation of ui::EventHandler for use with |
| 47 // RenderWidgetHostViewBase. A delegate is required in order to provide platform | 43 // RenderWidgetHostViewBase. A delegate is required in order to provide platform |
| 48 // specific functionality. | 44 // specific functionality. |
| 49 // | 45 // |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 aura::Window* window_; | 257 aura::Window* window_; |
| 262 | 258 |
| 263 base::OneShotTimer mouse_wheel_end_dispatch_timer_; | 259 base::OneShotTimer mouse_wheel_end_dispatch_timer_; |
| 264 | 260 |
| 265 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewEventHandler); | 261 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewEventHandler); |
| 266 }; | 262 }; |
| 267 | 263 |
| 268 } // namespace content | 264 } // namespace content |
| 269 | 265 |
| 270 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_EVENT_HANDLER_H
_ | 266 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_EVENT_HANDLER_H
_ |
| OLD | NEW |