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

Unified Diff: content/renderer/render_widget.h

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Don't fall back to mainframe, formatting. 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 de53c102a602adc1219fffc394ec2f7e8851bdc4..004ea1a782c70f6d8ce1f095abd35c0af7681104 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