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

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: try 2 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
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index c1983f2cdc649331c63f92248910cc932090e27a..a79352680e90e0e8e8767639b7ba9cf2d2046808 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1658,7 +1658,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