| // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef UI_VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_ |
| #define UI_VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_ |
| |
| #include "third_party/skia/include/core/SkColor.h" |
| #include "ui/gfx/image/image_skia.h" |
| |
| namespace views { |
| |
| // The width/height of the check and submenu arrows. |
| constexpr int kMenuCheckSize = 16; |
| constexpr int kSubmenuArrowSize = 8; |
| |
| // Returns the Menu Check box image (always checked). |
| gfx::ImageSkia GetMenuCheckImage(SkColor icon_color); |
| |
| // Returns the image for submenu arrow for current RTL setting. |
| gfx::ImageSkia GetSubmenuArrowImage(SkColor icon_color); |
| |
| } // namespace views |
| |
| #endif // UI_VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_ |