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

Unified Diff: ui/views/style/platform_style.h

Issue 1863503002: test hypothesis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: zappity Created 4 years, 8 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/combobox/combobox.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/style/platform_style.h
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h
index e4240d49306a8920c8f6caf4f26d14b3a7459433..3103691642a72c4a6d2b8444a942123a63bac170 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "ui/views/controls/button/button.h"
+#include "ui/views/controls/combobox/combobox.h"
namespace views {
@@ -20,6 +21,13 @@ class ScrollBar;
// Cross-platform API for providing platform-specific styling for toolkit-views.
class PlatformStyle {
public:
+ // Creates an ImageSkia containing the image to use for the combobox arrow.
+ // The |is_enabled| argument is true if the control the arrow is for is
+ // enabled, and false if the control is disabled. The |style| argument is the
+ // style of the combobox the arrow is being drawn for.
+ static gfx::ImageSkia CreateComboboxArrow(bool is_enabled,
+ Combobox::Style style);
+
// Creates the appropriate border for a focusable Combobox.
static scoped_ptr<FocusableBorder> CreateComboboxBorder();
« no previous file with comments | « ui/views/controls/combobox/combobox.cc ('k') | ui/views/style/platform_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698