OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "app/resource_bundle.h" | 5 #include "app/resource_bundle.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
8 | 8 |
9 #include "app/app_paths.h" | 9 #include "app/app_paths.h" |
10 #include "app/l10n_util.h" | |
11 #include "base/base_paths.h" | 10 #include "base/base_paths.h" |
12 #include "base/data_pack.h" | 11 #include "base/data_pack.h" |
13 #include "base/file_path.h" | 12 #include "base/file_path.h" |
14 #include "base/file_util.h" | 13 #include "base/file_util.h" |
15 #include "base/i18n/rtl.h" | 14 #include "base/i18n/rtl.h" |
16 #include "base/lock.h" | 15 #include "base/lock.h" |
17 #include "base/logging.h" | 16 #include "base/logging.h" |
18 #include "base/path_service.h" | 17 #include "base/path_service.h" |
19 #include "base/string_piece.h" | 18 #include "base/string_piece.h" |
20 #include "base/string_util.h" | 19 #include "base/string_util.h" |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 } | 136 } |
138 } | 137 } |
139 | 138 |
140 GdkPixbuf* ResourceBundle::GetPixbufNamed(int resource_id) { | 139 GdkPixbuf* ResourceBundle::GetPixbufNamed(int resource_id) { |
141 return GetPixbufImpl(resource_id, false); | 140 return GetPixbufImpl(resource_id, false); |
142 } | 141 } |
143 | 142 |
144 GdkPixbuf* ResourceBundle::GetRTLEnabledPixbufNamed(int resource_id) { | 143 GdkPixbuf* ResourceBundle::GetRTLEnabledPixbufNamed(int resource_id) { |
145 return GetPixbufImpl(resource_id, true); | 144 return GetPixbufImpl(resource_id, true); |
146 } | 145 } |
OLD | NEW |