class SpellCheckerSubMenuObserver;
namespace content {
+class RenderFrameHost;
class RenderViewHost;
class WebContents;
}
public:
static const size_t kMaxSelectionTextLength;
- RenderViewContextMenu(content::WebContents* web_contents,
+ RenderViewContextMenu(content::RenderFrameHost* render_frame_host,
const content::ContextMenuParams& params);
virtual ~RenderViewContextMenu();
content::ContextMenuParams params_;
content::WebContents* source_web_contents_;
+ // The RenderFrameHost's IDs.
+ int render_process_id_;
+ int render_frame_id_;
Profile* profile_;
ui::SimpleMenuModel menu_model_;