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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 1992393002: Enable external popup menu in Blimp, part 1/2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index 63856d1e2de32e4050125482d19cbdac4724eb35..f47e07dea9b6d0b0e6512540a69f640942d6447d 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -1134,4 +1134,21 @@ void WebContentsViewAura::OnWindowVisibilityChanged(aura::Window* window,
web_contents_->UpdateWebContentsVisibility(visible);
}
+#if defined(USE_EXTERNAL_POPUP_MENU)
+void WebContentsViewAura::ShowPopupMenu(RenderFrameHost* render_frame_host,
+ const gfx::Rect& bounds,
+ int item_height,
+ double item_font_size,
+ int selected_item,
+ const std::vector<MenuItem>& items,
+ bool right_aligned,
+ bool allow_multiple_selection) {
+ LOG(ERROR) << "ShowPopupMenu " << items.size() << " items";
Avi (use Gerrit) 2016/05/27 02:00:00 NOTIMPLEMENTED() << ...
haibinlu 2016/05/28 01:37:59 Done.
+}
+
+void WebContentsViewAura::HidePopupMenu() {
+ LOG(ERROR) << "HidePopupMenu";
+}
+#endif
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698