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

Unified Diff: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm

Issue 2538323003: [Mac] Active state for the security decoration (Closed)
Patch Set: Remove dragging changes in the CL Created 4 years 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 | « chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
index 79b908e526d3f82df78129ca3de8ac7770402947..ef1a48f1be97c5f7f48ad6f7c53896089778e1b5 100644
--- a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm
@@ -234,6 +234,12 @@ bool IsInternalURL(const GURL& url) {
return self;
}
+- (LocationBarDecoration*)decorationForBubble {
+ BrowserWindowController* controller = [[self parentWindow] windowController];
+ LocationBarViewMac* location_bar = [controller locationBarBridge];
+ return location_bar ? location_bar->GetPageInfoDecoration() : nullptr;
+}
+
- (Profile*)profile {
return Profile::FromBrowserContext(webContents_->GetBrowserContext());
}
« no previous file with comments | « chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698