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

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

Issue 2576143002: Tweak payment autofill disabled message in form-not-secure (Closed)
Patch Set: Remove new PopupItemId and remove warning_font_list_ Created 4 years 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
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_popup_layout_model.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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_AUTOFILL_POPUP_LAYOUT_MODEL_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const gfx::Rect RoundedElementBounds() const; 97 const gfx::Rect RoundedElementBounds() const;
98 98
99 #if !defined(OS_ANDROID) 99 #if !defined(OS_ANDROID)
100 // The fonts for the popup text. 100 // The fonts for the popup text.
101 // Normal font (readable size, non bold). 101 // Normal font (readable size, non bold).
102 gfx::FontList normal_font_list_; 102 gfx::FontList normal_font_list_;
103 // Slightly smaller than the normal font. 103 // Slightly smaller than the normal font.
104 gfx::FontList smaller_font_list_; 104 gfx::FontList smaller_font_list_;
105 // Bold version of the normal font. 105 // Bold version of the normal font.
106 gfx::FontList bold_font_list_; 106 gfx::FontList bold_font_list_;
107 // Font used for the warning dialog, which may be italic or not depending on
108 // the platform.
109 gfx::FontList warning_font_list_;
110 #endif 107 #endif
111 108
112 // The bounds of the Autofill popup. 109 // The bounds of the Autofill popup.
113 gfx::Rect popup_bounds_; 110 gfx::Rect popup_bounds_;
114 111
115 PopupViewCommon view_common_; 112 PopupViewCommon view_common_;
116 113
117 AutofillPopupViewDelegate* delegate_; // Weak reference. 114 AutofillPopupViewDelegate* delegate_; // Weak reference.
118 115
119 DISALLOW_COPY_AND_ASSIGN(AutofillPopupLayoutModel); 116 DISALLOW_COPY_AND_ASSIGN(AutofillPopupLayoutModel);
120 }; 117 };
121 118
122 } // namespace autofill 119 } // namespace autofill
123 120
124 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_ 121 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_LAYOUT_MODEL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_popup_layout_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698