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

Side by Side Diff: chrome/browser/ui/autofill/password_generation_popup_controller.h

Issue 342833002: [Password Generation] Update Aura UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h" 9 #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 class FontList; 12 class FontList;
13 class Range; 13 class Range;
14 } 14 }
15 15
16 namespace autofill { 16 namespace autofill {
17 17
18 class PasswordGenerationPopupController : public AutofillPopupViewDelegate { 18 class PasswordGenerationPopupController : public AutofillPopupViewDelegate {
19 public: 19 public:
20 // Space above and below the password section.
21 static const int kPasswordVerticalPadding = 16;
22
23 // Space above and below help section. 20 // Space above and below help section.
24 static const int kHelpVerticalPadding = 15; 21 static const int kHelpVerticalPadding = 15;
25 22
26 // Spacing between the border of the popup and any text. 23 // Spacing between the border of the popup and any text.
27 static const int kHorizontalPadding = 10; 24 static const int kHorizontalPadding = 10;
28 25
29 // Called by the view when the saved passwords link is clicked. 26 // Called by the view when the saved passwords link is clicked.
30 virtual void OnSavedPasswordsLinkClicked() = 0; 27 virtual void OnSavedPasswordsLinkClicked() = 0;
31 28
32 // Accessors 29 // Accessors
(...skipping 10 matching lines...) Expand all
43 virtual const base::string16& HelpText() = 0; 40 virtual const base::string16& HelpText() = 0;
44 virtual const gfx::Range& HelpTextLinkRange() = 0; 41 virtual const gfx::Range& HelpTextLinkRange() = 0;
45 42
46 protected: 43 protected:
47 virtual ~PasswordGenerationPopupController() {} 44 virtual ~PasswordGenerationPopupController() {}
48 }; 45 };
49 46
50 } // namespace autofill 47 } // namespace autofill
51 48
52 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_ 49 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698