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

Unified Diff: content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.h

Issue 501583003: Move external popup menus from WebViewClient to WebFrameClient, part 3/3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/browser_plugin/browser_plugin_popup_menu_helper_mac.h
diff --git a/content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.h b/content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.h
index 2b4623710017e825f264d939bd89036f9ea784b1..fd920744359e8e510f3cea99f64c54bcd723acb1 100644
--- a/content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.h
+++ b/content/browser/browser_plugin/browser_plugin_popup_menu_helper_mac.h
@@ -5,21 +5,24 @@
#ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_POPUP_MENU_HELPER_MAC_H_
#define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_POPUP_MENU_HELPER_MAC_H_
-#include "content/browser/renderer_host/popup_menu_helper_mac.h"
+#include "content/browser/frame_host/popup_menu_helper_mac.h"
namespace content {
+
class RenderViewHost;
class RenderViewHostImpl;
+class RenderFrameHost;
+class RenderFrameHostImpl;
// This class is similiar to PopupMenuHelperMac but positions the popup relative
// to the embedder, and issues a reply to the guest.
class BrowserPluginPopupMenuHelper : public PopupMenuHelper {
public:
// Creates a BrowserPluginPopupMenuHelper that positions popups relative to
- // |embedder_rvh| and will notify |guest_rvh| when a user selects or cancels
+ // |embedder_rvh| and will notify |guest_rfh| when a user selects or cancels
// the popup.
BrowserPluginPopupMenuHelper(RenderViewHost* embedder_rvh,
- RenderViewHost* guest_rvh);
+ RenderFrameHost* guest_rfh);
private:
virtual RenderWidgetHostViewMac* GetRenderWidgetHostView() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698