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

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

Issue 1158523002: Add user_gesture param to BaseWindow::Show Base URL: https://chromium.googlesource.com/chromium/src.git@ug3_BaseWindow_Activate
Patch Set: Update callers Created 5 years, 7 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 | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/scoped_tabbed_browser_displayer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/passwords/manage_passwords_test.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_test.cc b/chrome/browser/ui/passwords/manage_passwords_test.cc
index 5d2aa8d7b3d85971b8ea81723752a711873f0da3..775c2facb7dade408a70c5407d3da0d26a3e0d2f 100644
--- a/chrome/browser/ui/passwords/manage_passwords_test.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_test.cc
@@ -33,7 +33,7 @@ void ManagePasswordsTest::SetUpOnMainThread() {
void ManagePasswordsTest::ExecuteManagePasswordsCommand() {
// Show the window to ensure that it's active.
- browser()->window()->Show();
+ browser()->window()->Show(false /* user_gesture */);
CommandUpdater* updater = browser()->command_controller()->command_updater();
EXPECT_TRUE(updater->IsCommandEnabled(IDC_MANAGE_PASSWORDS_FOR_PAGE));
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/scoped_tabbed_browser_displayer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698