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

Unified Diff: content/renderer/render_widget.h

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Remove WVI call to WFWI. 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/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index bbd098ff4322a9b776201a66b41933eca4311a27..636d79fd7c49c2a2029a69cea7025a8eaac72fc2 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -505,6 +505,9 @@ class CONTENT_EXPORT RenderWidget
void OnCreateVideoAck(int32_t video_id);
void OnUpdateVideoAck(int32_t video_id);
void OnRequestMoveAck();
+ // Request from browser to show context menu.
+ virtual void OnShowContextMenu(ui::MenuSourceType source_type,
+ const gfx::Point& location);
virtual void OnImeSetComposition(
const base::string16& text,
const std::vector<blink::WebCompositionUnderline>& underlines,

Powered by Google App Engine
This is Rietveld 408576698