| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/base/resource/resource_bundle.h" | 5 #include "ui/base/resource/resource_bundle.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | |
| 8 #include "base/logging.h" | |
| 9 #include "base/path_service.h" | |
| 10 #include "ui/base/layout.h" | |
| 11 #include "ui/base/resource/resource_handle.h" | |
| 12 #include "ui/base/ui_base_paths.h" | |
| 13 #include "ui/base/ui_base_switches.h" | |
| 14 #include "ui/gfx/display.h" | |
| 15 #include "ui/gfx/image/image.h" | |
| 16 | |
| 17 namespace ui { | 7 namespace ui { |
| 18 | 8 |
| 19 void ResourceBundle::LoadCommonResources() { | 9 void ResourceBundle::LoadCommonResources() { |
| 20 LoadChromeResources(); | 10 LoadChromeResources(); |
| 21 } | 11 } |
| 22 | 12 |
| 23 gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id) { | 13 gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id) { |
| 24 return GetImageNamed(resource_id); | 14 return GetImageNamed(resource_id); |
| 25 } | 15 } |
| 26 | 16 |
| 27 } // namespace ui | 17 } // namespace ui |
| OLD | NEW |