Chromium Code Reviews| Index: chrome/browser/ui/views/autofill/autofill_popup_view_views.cc |
| diff --git a/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc b/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc |
| index 02c2880164fcd107e4b03f6a3929462015a4a1cc..71fd9b7093fbd9cb48bb01d2588ca07316ab4e74 100644 |
| --- a/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc |
| +++ b/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc |
| @@ -5,8 +5,8 @@ |
| #include "chrome/browser/ui/views/autofill/autofill_popup_view_views.h" |
| #include "chrome/browser/ui/autofill/autofill_popup_controller.h" |
| +#include "components/autofill/core/common/autofill_enums.h" |
| #include "grit/ui_resources.h" |
| -#include "third_party/WebKit/public/web/WebAutofillClient.h" |
| #include "ui/base/resource/resource_bundle.h" |
| #include "ui/events/keycodes/keyboard_codes.h" |
| #include "ui/gfx/canvas.h" |
| @@ -18,8 +18,6 @@ |
| #include "ui/views/border.h" |
| #include "ui/views/widget/widget.h" |
| -using blink::WebAutofillClient; |
| - |
| namespace autofill { |
| AutofillPopupViewViews::AutofillPopupViewViews( |
| @@ -54,8 +52,7 @@ void AutofillPopupViewViews::OnPaint(gfx::Canvas* canvas) { |
| for (size_t i = 0; i < controller_->names().size(); ++i) { |
| gfx::Rect line_rect = controller_->GetRowBounds(i); |
| - if (controller_->identifiers()[i] == |
| - WebAutofillClient::MenuItemIDSeparator) { |
| + if (controller_->identifiers()[i] == MenuItemIDSeparator) { |
|
Evan Stade
2014/02/11 18:56:39
remove a space after ==
gnana
2014/02/12 13:34:09
Done.
|
| canvas->DrawRect(line_rect, kItemTextColor); |
| } else { |
| DrawAutofillEntry(canvas, i, line_rect); |