| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_GTK_H_ | |
| 6 #define VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_GTK_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "third_party/skia/include/core/SkBitmap.h" | |
| 10 | |
| 11 namespace views { | |
| 12 | |
| 13 // Return the RadioButton image for given state. | |
| 14 // It returns the "selected" image when |selected| is | |
| 15 // true, or the "unselected" image if false. | |
| 16 // The returned image is global object and should not be freed. | |
| 17 const SkBitmap* GetRadioButtonImage(bool selected); | |
| 18 | |
| 19 // Returns the image for submenu arrow for current RTL setting. | |
| 20 const SkBitmap* GetSubmenuArrowImage(); | |
| 21 | |
| 22 } // namespace views | |
| 23 | |
| 24 #endif // VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_GTK_H_ | |
| OLD | NEW |