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

Unified Diff: chrome/browser/ui/browser_window.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: Some changes based on the code review. 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/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 508249ae1f66626461f7897e58cfe4fbc0d72290..3d8cc8653e13aa2a8c65763d8c52a33120fee8ac 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -29,6 +29,9 @@ class TemplateURL;
class ToolbarView;
#endif
+namespace autofill {
+class PasswordGenerator;
+}
namespace content {
class WebContents;
struct NativeWebKeyboardEvent;
@@ -361,7 +364,9 @@ class BrowserWindow : public BaseWindow {
// Show bubble for password generation positioned relative to |rect|. A stub
// implementation is provided since this feature is currently only available
// for Windows.
- virtual void ShowPasswordGenerationBubble(const gfx::Rect& rect) {}
+ virtual void ShowPasswordGenerationBubble(
+ const gfx::Rect& rect,
+ const autofill::PasswordGenerator& password_generator) {}
protected:
friend void browser::CloseAllBrowsers();

Powered by Google App Engine
This is Rietveld 408576698