| Index: content/browser/frame_host/render_frame_host_impl.h
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
|
| index 6f56a6c20406acf723987d9bbeebf1e79edef95b..2f6a5c4ab7ab9b93488af66e3b4b38b7afa748de 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -32,6 +32,9 @@ struct FrameHostMsg_DidFailProvisionalLoadWithError_Params;
|
| struct FrameHostMsg_OpenURL_Params;
|
| struct FrameHostMsg_BeginNavigation_Params;
|
| struct FrameMsg_Navigate_Params;
|
| +#if defined(OS_MACOSX) || defined(OS_ANDROID)
|
| +struct FrameHostMsg_ShowPopup_Params;
|
| +#endif
|
|
|
| namespace base {
|
| class FilePath;
|
| @@ -270,6 +273,17 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| gfx::NativeViewAccessible GetParentNativeViewAccessible() const;
|
| #endif
|
|
|
| +#if defined(OS_MACOSX)
|
| + // Select popup menu related methods (for external popup menus).
|
| + void DidSelectPopupMenuItem(int selected_index);
|
| + void DidCancelPopupMenu();
|
| +#endif
|
| +
|
| +#if defined(OS_ANDROID)
|
| + void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
|
| + void DidCancelPopupMenu();
|
| +#endif
|
| +
|
| protected:
|
| friend class RenderFrameHostFactory;
|
|
|
| @@ -346,6 +360,11 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| void OnAccessibilityLocationChanges(
|
| const std::vector<AccessibilityHostMsg_LocationChangeParams>& params);
|
|
|
| +#if defined(OS_MACOSX) || defined(OS_ANDROID)
|
| + void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
|
| + void OnHidePopup();
|
| +#endif
|
| +
|
| // Returns whether the given URL is allowed to commit in the current process.
|
| // This is a more conservative check than RenderProcessHost::FilterURL, since
|
| // it will be used to kill processes that commit unauthorized URLs.
|
|
|