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

Side by Side Diff: content/browser/renderer_host/input/input_router_impl.h

Issue 1528153004: Look Up on Force Touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 const ui::LatencyInfo& latency_info); 116 const ui::LatencyInfo& latency_info);
117 117
118 // IPC message handlers 118 // IPC message handlers
119 void OnInputEventAck(const InputEventAck& ack); 119 void OnInputEventAck(const InputEventAck& ack);
120 void OnDidOverscroll(const DidOverscrollParams& params); 120 void OnDidOverscroll(const DidOverscrollParams& params);
121 void OnMsgMoveCaretAck(); 121 void OnMsgMoveCaretAck();
122 void OnSelectMessageAck(); 122 void OnSelectMessageAck();
123 void OnHasTouchEventHandlers(bool has_handlers); 123 void OnHasTouchEventHandlers(bool has_handlers);
124 void OnSetTouchAction(TouchAction touch_action); 124 void OnSetTouchAction(TouchAction touch_action);
125 void OnDidStopFlinging(); 125 void OnDidStopFlinging();
126 void OnDidSelectWordAtCoordinates();
126 127
127 // Indicates the source of an ack provided to |ProcessInputEventAck()|. 128 // Indicates the source of an ack provided to |ProcessInputEventAck()|.
128 // The source is tracked by |current_ack_source_|, which aids in ack routing. 129 // The source is tracked by |current_ack_source_|, which aids in ack routing.
129 enum AckSource { 130 enum AckSource {
130 RENDERER, 131 RENDERER,
131 CLIENT, 132 CLIENT,
132 IGNORING_DISPOSITION, 133 IGNORING_DISPOSITION,
133 ACK_SOURCE_NONE 134 ACK_SOURCE_NONE
134 }; 135 };
135 // Note: This function may result in |this| being deleted, and as such 136 // Note: This function may result in |this| being deleted, and as such
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 InputEventStreamValidator output_stream_validator_; 254 InputEventStreamValidator output_stream_validator_;
254 255
255 float device_scale_factor_; 256 float device_scale_factor_;
256 257
257 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl); 258 DISALLOW_COPY_AND_ASSIGN(InputRouterImpl);
258 }; 259 };
259 260
260 } // namespace content 261 } // namespace content
261 262
262 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_ 263 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698