Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: ui/views/controls/menu/menu_config_mac.cc

Issue 467193003: ui: Remove unneeded includes of grit/ui_resources.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/controls/label.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #include "ui/views/controls/menu/menu_config.h" 5 #include "ui/views/controls/menu/menu_config.h"
6 6
7 #include "grit/ui_resources.h"
8 #include "ui/base/resource/resource_bundle.h"
9 #include "ui/gfx/image/image_skia.h" 7 #include "ui/gfx/image/image_skia.h"
10 #include "ui/native_theme/native_theme_mac.h" 8 #include "ui/native_theme/native_theme_mac.h"
11 #include "ui/views/controls/menu/menu_image_util.h" 9 #include "ui/views/controls/menu/menu_image_util.h"
12 10
13 namespace views { 11 namespace views {
14 12
15 void MenuConfig::Init(const ui::NativeTheme* theme) { 13 void MenuConfig::Init(const ui::NativeTheme* theme) {
16 NOTIMPLEMENTED(); 14 NOTIMPLEMENTED();
17 } 15 }
18 16
19 // static 17 // static
20 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { 18 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) {
21 CR_DEFINE_STATIC_LOCAL( 19 CR_DEFINE_STATIC_LOCAL(
22 MenuConfig, mac_instance, (theme ? theme : ui::NativeTheme::instance())); 20 MenuConfig, mac_instance, (theme ? theme : ui::NativeTheme::instance()));
23 return mac_instance; 21 return mac_instance;
24 } 22 }
25 23
26 } // namespace views 24 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/label.cc ('k') | ui/views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698