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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h

Issue 338103003: Password bubble: Ensure that the bubble stays open for at least 1 second. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 6 years, 6 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/passwords/manage_passwords_ui_controller_mock.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h b/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h
index d2d7de031e16a73e24ef8a9ddce10a415d9fc0d2..71fcdc67681c2356ef391c20ded842a847d73250 100644
--- a/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h
+++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h"
#include "components/password_manager/core/common/password_manager_ui.h"
+#include "content/public/browser/navigation_details.h"
namespace content {
class WebContents;
@@ -47,9 +48,15 @@ class ManagePasswordsUIControllerMock
}
void SetState(password_manager::ui::State state) { state_ = state; }
+ void SetTimer(base::ElapsedTimer* timer) { timer_.reset(timer); }
+
// True if this controller is installed on |web_contents()|.
bool IsInstalled() const;
+ virtual void DidNavigateMainFrame(
vabr (Chromium) 2014/06/17 09:46:25 nit: Instead of manually declaring the parent's me
Mike West 2014/06/17 10:49:35 C++ is an amazing language. I'm not sure that's a
+ const content::LoadCommittedDetails& details,
+ const content::FrameNavigateParams& params) OVERRIDE;
+
private:
bool navigated_to_settings_page_;
bool saved_password_;

Powered by Google App Engine
This is Rietveld 408576698