| 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 43d368168f19f3f10837d0645615453c5546c027..2c9a76e1a0075c2585ce225c4445f68e4dd25c2e 100644
|
| --- a/content/browser/web_contents/web_contents_view_aura.cc
|
| +++ b/content/browser/web_contents/web_contents_view_aura.cc
|
| @@ -1149,11 +1149,17 @@ void WebContentsViewAura::ShowPopupMenu(RenderFrameHost* render_frame_host,
|
| const std::vector<MenuItem>& items,
|
| bool right_aligned,
|
| bool allow_multiple_selection) {
|
| - NOTIMPLEMENTED() << " show " << items.size() << " menu items";
|
| + if (delegate_) {
|
| + delegate_->ShowPopupMenu(render_frame_host, bounds, item_height,
|
| + item_font_size, selected_item, items,
|
| + right_aligned, allow_multiple_selection);
|
| + }
|
| }
|
|
|
| void WebContentsViewAura::HidePopupMenu() {
|
| - NOTIMPLEMENTED();
|
| + if (delegate_) {
|
| + delegate_->HidePopupMenu();
|
| + }
|
| }
|
| #endif
|
|
|
|
|