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

Unified Diff: chrome/browser/ui/browser.cc

Issue 176053002: [WebsiteSettings] Change permission bubble API to adapt to new mocks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add multi-download bubble changes. Created 6 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 0bb562ca1fa9394f5f1b2d02ecf10bdd29cf15ce..5f1324a9633009940bf668c89916c0297e8c4444 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1640,7 +1640,8 @@ void Browser::RegisterProtocolHandler(WebContents* web_contents,
PermissionBubbleManager::FromWebContents(web_contents);
if (PermissionBubbleManager::Enabled() && bubble_manager) {
bubble_manager->AddRequest(
- new RegisterProtocolHandlerPermissionRequest(registry, handler));
+ new RegisterProtocolHandlerPermissionRequest(registry, handler,
+ url, user_gesture));
} else {
RegisterProtocolHandlerInfoBarDelegate::Create(
InfoBarService::FromWebContents(web_contents), registry, handler);

Powered by Google App Engine
This is Rietveld 408576698