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

Unified Diff: ash/common/system/tray/tray_popup_utils.cc

Issue 2709103007: Update a11y of volume row in CrOS system menu. (Closed)
Patch Set: resolve conflict Created 3 years, 10 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 | « ash/common/system/tray/tray_item_more.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_popup_utils.cc
diff --git a/ash/common/system/tray/tray_popup_utils.cc b/ash/common/system/tray/tray_popup_utils.cc
index 828932685f48d8250e1fb94566aaaa5ae48f4453..5ac84e24fc1f52b64f4ad09256e0550798cc7aab 100644
--- a/ash/common/system/tray/tray_popup_utils.cc
+++ b/ash/common/system/tray/tray_popup_utils.cc
@@ -15,8 +15,10 @@
#include "ash/common/system/tray/tray_constants.h"
#include "ash/common/system/tray/tray_popup_item_style.h"
#include "ash/common/wm_shell.h"
+#include "ash/resources/vector_icons/vector_icons.h"
#include "base/memory/ptr_util.h"
#include "ui/base/l10n/l10n_util.h"
+#include "ui/gfx/paint_vector_icon.h"
#include "ui/views/animation/flood_fill_ink_drop_ripple.h"
#include "ui/views/animation/ink_drop_highlight.h"
#include "ui/views/animation/ink_drop_impl.h"
@@ -225,6 +227,8 @@ views::ImageView* TrayPopupUtils::CreateMoreImageView() {
new FixedSizedImageView(GetTrayConstant(TRAY_POPUP_ITEM_MORE_IMAGE_SIZE),
GetTrayConstant(TRAY_POPUP_ITEM_MORE_IMAGE_SIZE));
image->EnableCanvasFlippingForRTLUI(true);
+ image->SetImage(
+ gfx::CreateVectorIcon(kSystemMenuArrowRightIcon, kMenuIconColor));
return image;
}
« no previous file with comments | « ash/common/system/tray/tray_item_more.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698