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

Unified Diff: ui/views/controls/throbber.cc

Issue 2733823003: Move final vector icons out of ui/gfx/vector_icons/ and remove the (Closed)
Patch Set: fix deps Created 3 years, 9 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
« no previous file with comments | « ui/views/controls/button/vector_icon_button.cc ('k') | ui/views/examples/vector_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/throbber.cc
diff --git a/ui/views/controls/throbber.cc b/ui/views/controls/throbber.cc
index 5970290808ac0770ee45973ed4b55411672ed742..40b075fba1de73d1b889af380225107ee06f3469 100644
--- a/ui/views/controls/throbber.cc
+++ b/ui/views/controls/throbber.cc
@@ -13,10 +13,10 @@
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/paint_throbber.h"
#include "ui/gfx/paint_vector_icon.h"
-#include "ui/gfx/vector_icons_public.h"
#include "ui/native_theme/common_theme.h"
#include "ui/native_theme/native_theme.h"
#include "ui/resources/grit/ui_resources.h"
+#include "ui/vector_icons/vector_icons.h"
#include "ui/views/resources/grit/views_resources.h"
namespace views {
@@ -74,8 +74,8 @@ void Throbber::OnPaint(gfx::Canvas* canvas) {
if (checked_) {
canvas->Translate(gfx::Vector2d((width() - kCheckmarkDipSize) / 2,
(height() - kCheckmarkDipSize) / 2));
- gfx::PaintVectorIcon(canvas, gfx::VectorIconId::CHECK_CIRCLE,
- kCheckmarkDipSize, color);
+ gfx::PaintVectorIcon(canvas, ui::kCheckCircleIcon, kCheckmarkDipSize,
+ color);
}
return;
}
« no previous file with comments | « ui/views/controls/button/vector_icon_button.cc ('k') | ui/views/examples/vector_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698