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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc

Issue 2644903004: Move around more vector icons. (Closed)
Patch Set: fix comment Created 3 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/views/autofill/password_generation_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
index f7f9a962c056a265cca43c34140c496cfe4fa03b..06299c1d2a2bd8244467afcac02a0871e3d16e51 100644
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
@@ -6,6 +6,7 @@
#include "base/macros.h"
#include "base/strings/string16.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/ui/autofill/password_generation_popup_controller.h"
#include "chrome/browser/ui/autofill/popup_constants.h"
#include "ui/accessibility/ax_node_data.h"
@@ -13,7 +14,6 @@
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/paint_vector_icon.h"
-#include "ui/gfx/vector_icons_public.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
@@ -99,8 +99,8 @@ class PasswordGenerationPopupViewViews::PasswordBox : public views::View {
SetLayoutManager(box_layout);
views::ImageView* key_image = new views::ImageView();
- key_image->SetImage(gfx::CreateVectorIcon(gfx::VectorIconId::AUTOLOGIN, 32,
- gfx::kChromeIconGrey));
+ key_image->SetImage(
+ gfx::CreateVectorIcon(kAutologinIcon, 32, gfx::kChromeIconGrey));
AddChildView(key_image);
PasswordTextBox* password_text_box = new PasswordTextBox();
« no previous file with comments | « chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc ('k') | chrome/browser/ui/views/autofill/save_card_icon_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698