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

Unified Diff: content/browser/web_contents/touch_editable_impl_aura.h

Issue 183923030: Almost finish moving context_menu_node_ from RenderViewImpl to RenderFrameImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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/web_contents/touch_editable_impl_aura.h
===================================================================
--- content/browser/web_contents/touch_editable_impl_aura.h (revision 254898)
+++ content/browser/web_contents/touch_editable_impl_aura.h (working copy)
@@ -50,6 +50,8 @@
virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE;
virtual void GestureEventAck(int gesture_event_type) OVERRIDE;
virtual void OnViewDestroyed() OVERRIDE;
+ virtual void SetContextMenuRenderFrameID(int render_process_id,
+ int render_frame_id) OVERRIDE;
// Overridden from ui::TouchEditable:
virtual void SelectRect(const gfx::Point& start,
@@ -87,6 +89,10 @@
RenderWidgetHostViewAura* rwhva_;
scoped_ptr<ui::TouchSelectionController> touch_selection_controller_;
+ // The IDs of the RenderFrameHost where the context menu is over.
+ int menu_render_process_id_;
+ int menu_render_frame_id_;
+
// True if |rwhva_| is currently handling a gesture that could result in a
// change in selection (long press, double tap or triple tap).
bool selection_gesture_in_process_;

Powered by Google App Engine
This is Rietveld 408576698