OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include "base/lock.h" | 9 #include "base/lock.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/win_util.h" | |
12 #include "gfx/font.h" | 11 #include "gfx/font.h" |
13 | 12 |
14 ResourceBundle* ResourceBundle::g_shared_instance_ = NULL; | 13 ResourceBundle* ResourceBundle::g_shared_instance_ = NULL; |
15 | 14 |
16 // NOTE(gregoryd): This is a hack to avoid creating more nacl_win64-specific | 15 // NOTE(gregoryd): This is a hack to avoid creating more nacl_win64-specific |
17 // files. The font members of ResourceBundle are never initialized in our code | 16 // files. The font members of ResourceBundle are never initialized in our code |
18 // so this destructor is never called. | 17 // so this destructor is never called. |
19 namespace gfx { | 18 namespace gfx { |
20 Font::HFontRef::~HFontRef() { | 19 Font::HFontRef::~HFontRef() { |
21 NOTREACHED(); | 20 NOTREACHED(); |
(...skipping 30 matching lines...) Expand all Loading... |
52 locale_resources_data_(NULL) { | 51 locale_resources_data_(NULL) { |
53 } | 52 } |
54 | 53 |
55 ResourceBundle::~ResourceBundle() { | 54 ResourceBundle::~ResourceBundle() { |
56 } | 55 } |
57 | 56 |
58 | 57 |
59 string16 ResourceBundle::GetLocalizedString(int message_id) { | 58 string16 ResourceBundle::GetLocalizedString(int message_id) { |
60 return std::wstring(); | 59 return std::wstring(); |
61 } | 60 } |
OLD | NEW |