Chromium Code Reviews| Index: components/autofill/content/renderer/password_generation_agent.h |
| diff --git a/components/autofill/content/renderer/password_generation_agent.h b/components/autofill/content/renderer/password_generation_agent.h |
| index bf632aef9f6c59078bafc908147647cd8ea27e6c..e09fa4d2fe0615d33666a22c1514c7da25868181 100644 |
| --- a/components/autofill/content/renderer/password_generation_agent.h |
| +++ b/components/autofill/content/renderer/password_generation_agent.h |
| @@ -39,6 +39,9 @@ class PasswordGenerationAgent : public content::RenderViewObserver { |
| // Returns true if the newly focused node caused the generation UI to show. |
| bool FocusedNodeHasChanged(const blink::WebNode& node); |
| + // The length that a password can be before the UI is hidden. |
| + static const int kMaximumOfferSize = 5; |
|
Ilya Sherman
2014/08/06 22:25:08
nit: Can this by a size_t?
Garrett Casto
2014/08/08 18:24:29
Done.
|
| + |
| protected: |
| // Returns true if this document is one that we should consider analyzing. |
| // Virtual so that it can be overriden during testing. |