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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.cc

Issue 2864833002: Tapping handle shouldn't select misspelled word (Closed)
Patch Set: Mac test 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/render_widget_host_view_base.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
index 86a78504f2e40e068307aca9e6933cafe6a49954..914da12b63084c9412a4093884c7facb00dc24c0 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.cc
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc
@@ -18,6 +18,7 @@
#include "content/common/content_switches_internal.h"
#include "media/base/video_frame.h"
#include "ui/base/layout.h"
+#include "ui/base/ui_base_types.h"
#include "ui/display/screen.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/size_conversions.h"
@@ -215,7 +216,7 @@ void RenderWidgetHostViewBase::AccessibilityShowMenu(const gfx::Point& point) {
impl = RenderWidgetHostImpl::From(GetRenderWidgetHost());
if (impl)
- impl->ShowContextMenuAtPoint(point);
+ impl->ShowContextMenuAtPoint(point, ui::MENU_SOURCE_MOUSE);
bokan 2017/05/23 14:06:02 I think this shouldn't be mouse - I'm assuming Acc
amaralp 2017/05/23 19:37:53 Done.
}
gfx::Point RenderWidgetHostViewBase::AccessibilityOriginInScreen(

Powered by Google App Engine
This is Rietveld 408576698