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