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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2026813003: Enable external popup menu in Blimp, part 2/2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/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 95e6c634e6fc96492e6ca25bd79c58f1f63522ef..63a21fcff6f95e8006dcffbc973f21528f516fc1 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -150,6 +150,17 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
blink::WebPageVisibilityState GetVisibilityState() override;
bool IsRenderFrameLive() override;
int GetProxyCount() override;
+#if defined(USE_EXTERNAL_POPUP_MENU)
+#if defined(OS_MACOSX)
+ // Select popup menu related methods (for external popup menus).
+ void DidSelectPopupMenuItem(int selected_index) override;
+ void DidCancelPopupMenu() override;
+#else
+ void DidSelectPopupMenuItems(
+ const std::vector<int>& selected_indices) override;
+ void DidCancelPopupMenu() override;
+#endif
+#endif
// IPC::Sender
bool Send(IPC::Message* msg) override;
@@ -496,17 +507,6 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
no_create_browser_accessibility_manager_for_testing_ = flag;
}
-#if defined(USE_EXTERNAL_POPUP_MENU)
-#if defined(OS_MACOSX)
- // Select popup menu related methods (for external popup menus).
- void DidSelectPopupMenuItem(int selected_index);
- void DidCancelPopupMenu();
-#else
- void DidSelectPopupMenuItems(const std::vector<int>& selected_indices);
- void DidCancelPopupMenu();
-#endif
-#endif
-
// PlzNavigate: Indicates that a navigation is ready to commit and can be
// handled by this RenderFrame.
void CommitNavigation(ResourceResponse* response,
« no previous file with comments | « blimp/engine/session/blimp_engine_session.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698