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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 473423005: Revert of Hook up the Mac password bubble to the browser and add browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index d4a4967a7275cec59d6cdcbecfce9d5835cfd646..a2f6d3d7852427d9a44317e9a4e8d8ce2d381cc1 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -133,7 +133,7 @@
new GeneratedCreditCardDecoration(this)),
search_button_decoration_(new SearchButtonDecoration(this)),
manage_passwords_decoration_(
- new ManagePasswordsDecoration(command_updater, this)),
+ new ManagePasswordsDecoration(command_updater)),
browser_(browser),
weak_ptr_factory_(this) {
for (size_t i = 0; i < CONTENT_SETTINGS_NUM_TYPES; ++i) {
@@ -222,7 +222,6 @@
return;
ManagePasswordsUIController::FromWebContents(web_contents)
->UpdateIconAndBubbleState(manage_passwords_decoration_->icon());
- OnDecorationsChanged();
}
void LocationBarViewMac::UpdatePageActions() {
@@ -527,7 +526,6 @@
}
void LocationBarViewMac::Update(const WebContents* contents) {
- UpdateManagePasswordsIconAndBubble();
UpdateStarDecorationVisibility();
UpdateTranslateDecoration();
UpdateZoomDecoration();

Powered by Google App Engine
This is Rietveld 408576698