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

Unified Diff: ash/common/system/chromeos/audio/audio_detailed_view.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
Index: ash/common/system/chromeos/audio/audio_detailed_view.cc
diff --git a/ash/common/system/chromeos/audio/audio_detailed_view.cc b/ash/common/system/chromeos/audio/audio_detailed_view.cc
index 8e26ade40a1d0d1517457183d16d4d8b56c5bbb3..562590a1f00c4400f690f91a37b7e13775bdbfb2 100644
--- a/ash/common/system/chromeos/audio/audio_detailed_view.cc
+++ b/ash/common/system/chromeos/audio/audio_detailed_view.cc
@@ -7,13 +7,13 @@
#include "ash/common/system/tray/hover_highlight_view.h"
#include "ash/common/system/tray/tray_popup_utils.h"
#include "ash/common/system/tray/tri_view.h"
+#include "ash/resources/vector_icons/vector_icons.h"
#include "ash/strings/grit/ash_strings.h"
#include "base/strings/utf_string_conversions.h"
#include "chromeos/audio/cras_audio_handler.h"
#include "ui/base/l10n/l10n_util.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/controls/image_view.h"
#include "ui/views/controls/label.h"
@@ -111,8 +111,8 @@ HoverHighlightView* AudioDetailedView::AddScrollListItem(
container->AddLabelRowMd(text);
if (checked) {
- gfx::ImageSkia check_mark = gfx::CreateVectorIcon(
- gfx::VectorIconId::CHECK_CIRCLE, gfx::kGoogleGreen700);
+ gfx::ImageSkia check_mark =
+ gfx::CreateVectorIcon(kCheckCircleIcon, gfx::kGoogleGreen700);
container->AddRightIcon(check_mark, check_mark.width());
container->SetRightViewVisible(true);
container->SetAccessiblityState(
« no previous file with comments | « ash/common/frame/caption_buttons/frame_caption_button.cc ('k') | ash/common/system/chromeos/bluetooth/tray_bluetooth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698