15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef UI_VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define UI_VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace gfx {
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)class ImageSkia;
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace views {
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Returns the Menu Check box image (always checked).
152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// The returned image is global object and should not be freed.
164e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)// |dark_background| should be true if the check will be displayed on a
174e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)// dark background (such as a hovered menu item).
184e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gfx::ImageSkia GetMenuCheckImage(bool dark_background);
192a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Return the RadioButton image for given state.
215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// It returns the "selected" image when |selected| is
225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// true, or the "unselected" image if false.
235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// The returned image is global object and should not be freed.
244e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gfx::ImageSkia GetRadioButtonImage(bool selected);
255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Returns the image for submenu arrow for current RTL setting.
274e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)// |dark_background| should be true if the check will be displayed on a
284e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)// dark background (such as a hovered menu item).
294e180b6a0b4720a9b8e9e959a882386f690f08ffTorne (Richard Coles)gfx::ImageSkia GetSubmenuArrowImage(bool dark_background);
305821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}  // namespace views
325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif  // UI_VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_
34