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

Unified Diff: chrome/browser/ui/gtk/browser_window_gtk.cc

Issue 10458018: This CL does the following: (1) Pass the max_length attribute to the password generator; (2) Update… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a windows UI bug. Created 8 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
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/gtk/password_generation_bubble_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/browser_window_gtk.cc b/chrome/browser/ui/gtk/browser_window_gtk.cc
index 76e5af1f2176762f0527e0394355fe330771fbb3..843a584a1a49adeaf896412fbc5d1d7fb28277f0 100644
--- a/chrome/browser/ui/gtk/browser_window_gtk.cc
+++ b/chrome/browser/ui/gtk/browser_window_gtk.cc
@@ -1280,6 +1280,7 @@ void BrowserWindowGtk::ShowAvatarBubbleFromAvatarButton() {
void BrowserWindowGtk::ShowPasswordGenerationBubble(
const gfx::Rect& rect,
+ autofill::PasswordGenerator* password_generator,
const webkit::forms::PasswordForm& form) {
WebContents* web_contents = browser_->GetSelectedWebContents();
if (!web_contents || !web_contents->GetContentNativeView()) {
@@ -1296,6 +1297,7 @@ void BrowserWindowGtk::ShowPasswordGenerationBubble(
web_contents->GetContentNativeView(),
browser()->profile(),
web_contents->GetRenderViewHost(),
+ password_generator,
tab_contents->password_manager());
}
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/gtk/password_generation_bubble_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698