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

Unified Diff: blimp/client/core/input/blimp_input_manager.cc

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Fix nits Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/client/core/input/blimp_input_handler_wrapper.cc ('k') | blimp/engine/session/tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/input/blimp_input_manager.cc
diff --git a/blimp/client/core/input/blimp_input_manager.cc b/blimp/client/core/input/blimp_input_manager.cc
index 0d4702aba378bf9dac15067da1c9dc276a9139da..000db1d8016ff626534341957549afd711c5347e 100644
--- a/blimp/client/core/input/blimp_input_manager.cc
+++ b/blimp/client/core/input/blimp_input_manager.cc
@@ -79,8 +79,8 @@ void BlimpInputManager::OnGestureEvent(const ui::GestureEventData& gesture) {
// to stop providing shift meta values to synthetic MotionEvents. This
// prevents unintended shift+click interpretation of all accessibility clicks.
// See crbug.com/443247.
- if (web_gesture.type == blink::WebInputEvent::GestureTap &&
- web_gesture.modifiers == blink::WebInputEvent::ShiftKey) {
+ if (web_gesture.type() == blink::WebInputEvent::GestureTap &&
+ web_gesture.modifiers() == blink::WebInputEvent::ShiftKey) {
web_gesture.setModifiers(blink::WebInputEvent::NoModifiers);
}
« no previous file with comments | « blimp/client/core/input/blimp_input_handler_wrapper.cc ('k') | blimp/engine/session/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698