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

Unified Diff: ui/views/style/platform_style_mac.mm

Issue 2627353002: Create vector icon directory for resources used by controls in ui/views. (Closed)
Patch Set: fix win? 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
« no previous file with comments | « ui/views/resources/vector_icons/vector_icons.h.template ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/style/platform_style_mac.mm
diff --git a/ui/views/style/platform_style_mac.mm b/ui/views/style/platform_style_mac.mm
index be553d3a3bde0fffc67014c9113a37585941bd0b..c5e08146b23fdf7c6b551460b27dc00520019ec9 100644
--- a/ui/views/style/platform_style_mac.mm
+++ b/ui/views/style/platform_style_mac.mm
@@ -9,10 +9,10 @@
#include "ui/base/ui_features.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/paint_vector_icon.h"
-#include "ui/gfx/vector_icons_public.h"
#include "ui/resources/grit/ui_resources.h"
#include "ui/views/controls/button/label_button.h"
#import "ui/views/controls/scrollbar/cocoa_scroll_bar.h"
+#include "ui/views/resources/vector_icons/vector_icons.h"
#import <Cocoa/Cocoa.h>
@@ -55,8 +55,7 @@ gfx::ImageSkia PlatformStyle::CreateComboboxArrow(bool is_enabled,
}
const int kComboboxArrowWidth = 24;
return gfx::CreateVectorIcon(
- is_enabled ? gfx::VectorIconId::COMBOBOX_ARROW_MAC_ENABLED
- : gfx::VectorIconId::COMBOBOX_ARROW_MAC_DISABLED,
+ is_enabled ? kComboboxArrowMacEnabledIcon : kComboboxArrowMacDisabledIcon,
kComboboxArrowWidth, SK_ColorBLACK);
}
« no previous file with comments | « ui/views/resources/vector_icons/vector_icons.h.template ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698