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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc

Issue 2666193002: Switch RenderViewContextMenu to use RequestOpenURL (Closed)
Patch Set: Address Charlie's comments Created 3 years, 10 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: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
index 3feaa460c847383ceefedd8b3076d46f89b0d485..2616a7568fdc8c527ef4d9ac2a9c7525f9942436 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
@@ -383,7 +383,8 @@ void WebNavigationTabObserver::DidOpenRequestedURL(
const GURL& url,
const content::Referrer& referrer,
WindowOpenDisposition disposition,
- ui::PageTransition transition) {
+ ui::PageTransition transition,
+ bool started_from_context_menu) {
if (!navigation_state_.CanSendEvents(source_render_frame_host))
return;

Powered by Google App Engine
This is Rietveld 408576698