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

Unified Diff: content/browser/renderer_host/input/touch_emulator.cc

Issue 2864833002: Tapping handle shouldn't select misspelled word (Closed)
Patch Set: fix naming 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/touch_emulator.cc
diff --git a/content/browser/renderer_host/input/touch_emulator.cc b/content/browser/renderer_host/input/touch_emulator.cc
index c7ec22f1a9203cfb7620ee163cd8c091bcdda889..2fd7619b705fecb7c360f18862eb3da8db1b5109 100644
--- a/content/browser/renderer_host/input/touch_emulator.cc
+++ b/content/browser/renderer_host/input/touch_emulator.cc
@@ -160,8 +160,10 @@ bool TouchEmulator::HandleMouseEvent(const WebMouseEvent& mouse_event) {
if (mouse_event.button == WebMouseEvent::Button::kRight &&
mouse_event.GetType() == WebInputEvent::kMouseDown) {
- client_->ShowContextMenuAtPoint(gfx::Point(
- mouse_event.PositionInWidget().x, mouse_event.PositionInWidget().y));
+ client_->ShowContextMenuAtPoint(
+ gfx::Point(mouse_event.PositionInWidget().x,
+ mouse_event.PositionInWidget().y),
+ false);
}
if (mouse_event.button != WebMouseEvent::Button::kLeft)

Powered by Google App Engine
This is Rietveld 408576698