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

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

Issue 928753003: Clean password_manager::ui::State (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master Created 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 589124265322206b98f49b4602e5ac725a1d018e..06da9b87d2adbc23ce77c27d10b276b4af13e610 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -818,9 +818,8 @@ void ManagePasswordsForPage(Browser* browser) {
browser->tab_strip_model()->GetActiveWebContents();
ManagePasswordsUIController* controller =
ManagePasswordsUIController::FromWebContents(web_contents);
- TabDialogs::FromWebContents(web_contents)
- ->ShowManagePasswordsBubble(
- !password_manager::ui::IsAutomaticDisplayState(controller->state()));
+ TabDialogs::FromWebContents(web_contents)->ShowManagePasswordsBubble(
+ !controller->IsAutomaticallyOpeningBubble());
}
#if defined(OS_WIN)
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698