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

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 197533008: Mac: ExternalPopupMenu::close should hide a showing popup menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix Created 6 years, 9 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
« no previous file with comments | « no previous file | content/browser/renderer_host/popup_menu_helper_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/interstitial_page_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index af32c0dc69ca4c6fb6f62a132be40d1b1ea2569c..62e81d6c738f6e259d455f1fefe60e2b8768c215 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -84,6 +84,7 @@ class InterstitialPageImpl::InterstitialPageRVHDelegateView
const std::vector<MenuItem>& items,
bool right_aligned,
bool allow_multiple_selection) OVERRIDE;
+ virtual void HidePopupMenu() OVERRIDE;
virtual void StartDragging(const DropData& drop_data,
WebDragOperationsMask operations_allowed,
const gfx::ImageSkia& image,
@@ -857,6 +858,10 @@ void InterstitialPageImpl::InterstitialPageRVHDelegateView::ShowPopupMenu(
NOTREACHED() << "InterstitialPage does not support showing popup menus.";
}
+void InterstitialPageImpl::InterstitialPageRVHDelegateView::HidePopupMenu() {
+ NOTREACHED() << "InterstitialPage does not support showing popup menus.";
+}
+
void InterstitialPageImpl::InterstitialPageRVHDelegateView::StartDragging(
const DropData& drop_data,
WebDragOperationsMask allowed_operations,
« no previous file with comments | « no previous file | content/browser/renderer_host/popup_menu_helper_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698