Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index ae5dae610bcbd9de9ba20f004a593cc36d2a9c78..6f52d2e94c684f80858f141cddbeef8a20de33f9 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -364,7 +364,7 @@ class CONTENT_EXPORT RenderFrameImpl |
// NULL. |
MediaStreamDispatcher* GetMediaStreamDispatcher(); |
-#if defined(OS_MACOSX) || defined(OS_ANDROID) |
+#if defined(USE_EXTERNAL_POPUP_MENU) |
void DidHideExternalPopupMenu(); |
#endif |
@@ -819,10 +819,18 @@ class CONTENT_EXPORT RenderFrameImpl |
#if defined(OS_ANDROID) |
void OnActivateNearestFindResult(int request_id, float x, float y); |
void OnFindMatchRects(int current_version); |
+#endif |
+ |
+#if defined(USE_EXTERNAL_POPUP_MENU) |
+#if defined(OS_MACOSX) |
+ void OnSelectPopupMenuItem(int selected_index); |
+#else |
void OnSelectPopupMenuItems(bool canceled, |
const std::vector<int>& selected_indices); |
-#elif defined(OS_MACOSX) |
- void OnSelectPopupMenuItem(int selected_index); |
+#endif |
+#endif |
+ |
+#if defined(OS_MACOSX) |
void OnCopyToFindPboard(); |
#endif |
@@ -1214,7 +1222,7 @@ class CONTENT_EXPORT RenderFrameImpl |
// stack that interferes with swapping out. |
bool suppress_further_dialogs_; |
-#if defined(OS_MACOSX) || defined(OS_ANDROID) |
+#if defined(USE_EXTERNAL_POPUP_MENU) |
// The external popup for the currently showing select popup. |
std::unique_ptr<ExternalPopupMenu> external_popup_menu_; |
#endif |