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