| 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 "app/gfx/font.h" | |
| 10 #include "base/logging.h" | 9 #include "base/logging.h" |
| 11 #include "base/win_util.h" | 10 #include "base/win_util.h" |
| 11 #include "gfx/font.h" |
| 12 | 12 |
| 13 ResourceBundle* ResourceBundle::g_shared_instance_ = NULL; | 13 ResourceBundle* ResourceBundle::g_shared_instance_ = NULL; |
| 14 | 14 |
| 15 // 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 |
| 16 // 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 |
| 17 // so this destructor is never called. | 17 // so this destructor is never called. |
| 18 namespace gfx { | 18 namespace gfx { |
| 19 Font::HFontRef::~HFontRef() { | 19 Font::HFontRef::~HFontRef() { |
| 20 NOTREACHED(); | 20 NOTREACHED(); |
| 21 } | 21 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 50 locale_resources_data_(NULL) { | 50 locale_resources_data_(NULL) { |
| 51 } | 51 } |
| 52 | 52 |
| 53 ResourceBundle::~ResourceBundle() { | 53 ResourceBundle::~ResourceBundle() { |
| 54 } | 54 } |
| 55 | 55 |
| 56 | 56 |
| 57 string16 ResourceBundle::GetLocalizedString(int message_id) { | 57 string16 ResourceBundle::GetLocalizedString(int message_id) { |
| 58 return std::wstring(); | 58 return std::wstring(); |
| 59 } | 59 } |
| OLD | NEW |