| Index: content/public/browser/render_frame_host.h
|
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
|
| index 980704cf16b18af25807b656539ea3bc0105cdc3..dc8799282471ce6a7abecc335e80014b33e1a78b 100644
|
| --- a/content/public/browser/render_frame_host.h
|
| +++ b/content/public/browser/render_frame_host.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
|
|
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/callback_forward.h"
|
| #include "build/build_config.h"
|
| @@ -181,6 +182,18 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
|
| // use by resource metrics.
|
| virtual int GetProxyCount() = 0;
|
|
|
| +#if defined(USE_EXTERNAL_POPUP_MENU)
|
| +#if defined(OS_MACOSX)
|
| + // Select popup menu related methods (for external popup menus).
|
| + virtual void DidSelectPopupMenuItem(int selected_index) = 0;
|
| + virtual void DidCancelPopupMenu() = 0;
|
| +#else
|
| + virtual void DidSelectPopupMenuItems(
|
| + const std::vector<int>& selected_indices) = 0;
|
| + virtual void DidCancelPopupMenu() = 0;
|
| +#endif
|
| +#endif
|
| +
|
| private:
|
| // This interface should only be implemented inside content.
|
| friend class RenderFrameHostImpl;
|
|
|