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

Unified Diff: chrome/browser/ui/views/password_generation_bubble_view.h

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 bug in Windows UI. Created 8 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
Index: chrome/browser/ui/views/password_generation_bubble_view.h
diff --git a/chrome/browser/ui/views/password_generation_bubble_view.h b/chrome/browser/ui/views/password_generation_bubble_view.h
index bce9aff6da6c6b192748f5f6917bd898f4e85287..38529a3bb93101b9a90a0a586281b19498bb0c99 100644
--- a/chrome/browser/ui/views/password_generation_bubble_view.h
+++ b/chrome/browser/ui/views/password_generation_bubble_view.h
@@ -29,6 +29,7 @@ class PasswordGenerationBubbleView : public views::BubbleDelegateView,
public views::ButtonListener {
public:
PasswordGenerationBubbleView(const gfx::Rect& anchor_rect,
+ int max_length,
views::View* anchor_view,
content::RenderViewHost* render_view_host);
virtual ~PasswordGenerationBubbleView();
@@ -49,6 +50,9 @@ class PasswordGenerationBubbleView : public views::BubbleDelegateView,
// Location that the bubble points to
gfx::Rect anchor_rect_;
+ // Maximum password length;
+ int max_length_;
+
// RenderViewHost associated with the button that spawned this bubble.
content::RenderViewHost* render_view_host_;

Powered by Google App Engine
This is Rietveld 408576698