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

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

Issue 2569273002: Add constructors to WebInputEvents and setters so we can work at cleaning up these public structs. (Closed)
Patch Set: Fix mouse up event sender not modifying modifiers Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | blimp/engine/browser_tests/input_browsertest.cc » ('j') | blimp/net/input_message_unittest.cc » ('J')
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 66c0d0514e3176125c38dbdc99aaf9c0374e0e7d..5b2b3867622fa46062852e0cdac0c58423e38b91 100644
--- a/blimp/client/core/input/blimp_input_manager.cc
+++ b/blimp/client/core/input/blimp_input_manager.cc
@@ -81,7 +81,7 @@ void BlimpInputManager::OnGestureEvent(const ui::GestureEventData& gesture) {
// See crbug.com/443247.
if (web_gesture.type == blink::WebInputEvent::GestureTap &&
web_gesture.modifiers == blink::WebInputEvent::ShiftKey) {
- web_gesture.modifiers = 0;
+ web_gesture.setModifiers(0);
majidvp 2016/12/19 20:09:52 s/0/NoModifiers/
dtapuska 2016/12/20 19:49:21 Done.
}
compositor_task_runner_->PostTask(
« no previous file with comments | « no previous file | blimp/engine/browser_tests/input_browsertest.cc » ('j') | blimp/net/input_message_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698