• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 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 #include "ui/views/controls/menu/menu_config.h"
6 
7 #include "ui/gfx/image/image_skia.h"
8 #include "ui/native_theme/native_theme_mac.h"
9 #include "ui/views/controls/menu/menu_image_util.h"
10 
11 namespace views {
12 
Init(const ui::NativeTheme * theme)13 void MenuConfig::Init(const ui::NativeTheme* theme) {
14   NOTIMPLEMENTED();
15 }
16 
17 // static
instance(const ui::NativeTheme * theme)18 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) {
19   CR_DEFINE_STATIC_LOCAL(
20       MenuConfig, mac_instance, (theme ? theme : ui::NativeTheme::instance()));
21   return mac_instance;
22 }
23 
24 }  // namespace views
25