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

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

Issue 512683003: Password bubble should close if user clicks on the web page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/passwords/manage_passwords_bubble_model.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
index fd06ae360a478c461643b12743e874e5ce59bb24..bd51299975367377b8e06ef1abbdc058f050512b 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.h
@@ -86,6 +86,9 @@ class ManagePasswordsBubbleModel : public content::WebContentsObserver {
return save_confirmation_link_range_;
}
+ // Make the accessor public.
+ using WebContentsObserver::web_contents;
vabr (Chromium) 2014/08/27 16:43:05 Instead of making the whole accessor public, could
vasilii 2014/08/27 17:24:24 aura::Window* is a very strange type to return fro
vabr (Chromium) 2014/08/28 11:42:37 Why I don't like exposing the WebContents (WC :))
vasilii 2014/08/28 11:53:55 None of the solutions will work. ManagePasswordsBu
+
#if defined(UNIT_TEST)
// Gets and sets the reason the bubble was displayed.
password_manager::metrics_util::UIDisplayDisposition display_disposition()

Powered by Google App Engine
This is Rietveld 408576698