summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_image_util.h
blob: bcf62fb6dffd24043094cb39772d0d125fa3dc82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2011 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 VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_
#define VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_
#pragma once

#include "third_party/skia/include/core/SkBitmap.h"

namespace views {

// Return the RadioButton image for given state.
// It returns the "selected" image when |selected| is
// true, or the "unselected" image if false.
// The returned image is global object and should not be freed.
const SkBitmap* GetRadioButtonImage(bool selected);

// Returns the image for submenu arrow for current RTL setting.
const SkBitmap* GetSubmenuArrowImage();

}  // namespace views

#endif  // VIEWS_CONTROLS_MENU_MENU_IMAGE_UTIL_H_