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

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

Issue 2864833002: Tapping handle shouldn't select misspelled word (Closed)
Patch Set: yosin's nits 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 3e055ea9e36ab52ad7702f571be515bcd918d7b1..c57121607c538eb9b04280ee1bd7e4e41151d83e 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.cc
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc
@@ -19,6 +19,7 @@
#include "content/public/common/content_features.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"
@@ -218,7 +219,7 @@ void RenderWidgetHostViewBase::AccessibilityShowMenu(const gfx::Point& point) {
impl = RenderWidgetHostImpl::From(GetRenderWidgetHost());
if (impl)
- impl->ShowContextMenuAtPoint(point);
+ impl->ShowContextMenuAtPoint(point, ui::MENU_SOURCE_NONE);
}
gfx::Point RenderWidgetHostViewBase::AccessibilityOriginInScreen(

Powered by Google App Engine
This is Rietveld 408576698