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

Unified Diff: components/renderer_context_menu/render_view_context_menu_base.h

Issue 2385363002: Pass the RenderProcessHost id on retargeting. (Closed)
Patch Set: Address review feedback and compile problem. Created 4 years, 2 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: components/renderer_context_menu/render_view_context_menu_base.h
diff --git a/components/renderer_context_menu/render_view_context_menu_base.h b/components/renderer_context_menu/render_view_context_menu_base.h
index 60f3129258c2d349589bcab1efd82a1bc7f1e21a..d8ac4221f13fe2aabd63fcc683b39cdf5f90fbf7 100644
--- a/components/renderer_context_menu/render_view_context_menu_base.h
+++ b/components/renderer_context_menu/render_view_context_menu_base.h
@@ -183,6 +183,9 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate,
// Renderer's frame id.
const int render_frame_id_;
+ // The RenderFrameHost's IDs.
+ const int render_process_id_;
+
// Our observers.
mutable base::ObserverList<RenderViewContextMenuObserver> observers_;
@@ -195,9 +198,6 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate,
private:
bool AppendCustomItems();
- // The RenderFrameHost's IDs.
- const int render_process_id_;
-
std::unique_ptr<ToolkitDelegate> toolkit_delegate_;
ScopedVector<ui::SimpleMenuModel> custom_submenus_;

Powered by Google App Engine
This is Rietveld 408576698