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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_view.h

Issue 1570783003: [Autofill] Move functions from the AutofillPopupController to AutofillPopupLayoutModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: layout model Created 4 years, 11 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/autofill/autofill_popup_view.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_view.h b/chrome/browser/ui/autofill/autofill_popup_view.h
index 82bf79d0ccda096d31f9cc069826a8d57406028a..4bb752fe467bf8df3249916f09268fbc35640c29 100644
--- a/chrome/browser/ui/autofill/autofill_popup_view.h
+++ b/chrome/browser/ui/autofill/autofill_popup_view.h
@@ -7,15 +7,8 @@
#include <stddef.h>
-#include "ui/gfx/native_widget_types.h"
-
-namespace gfx {
-class Rect;
-}
-
-namespace ui {
-class KeyEvent;
-}
+#include "base/strings/string16.h"
+#include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
namespace autofill {
@@ -25,22 +18,6 @@ class AutofillPopupController;
// AutofillPopupView.
class AutofillPopupView {
public:
- // The minimum amount of padding between the Autofill name and subtext,
- // in pixels.
- static const size_t kNamePadding = 15;
-
- // The amount of padding between icons in pixels.
- static const int kIconPadding = 5;
-
- // The amount of padding at the end of the popup in pixels.
- static const int kEndPadding = 3;
-
- // Height of the delete icon in pixels.
- static const int kDeleteIconHeight = 16;
-
- // Width of the delete icon in pixels.
- static const int kDeleteIconWidth = 16;
-
// Displays the Autofill popup and fills it in with data from the controller.
virtual void Show() = 0;

Powered by Google App Engine
This is Rietveld 408576698