| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <windows.h> | 7 #include <windows.h> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| 11 #include "gfx/font.h" | 11 #include "ui/gfx/font.h" |
| 12 #include "gfx/platform_font_win.h" | 12 #include "ui/gfx/platform_font_win.h" |
| 13 | 13 |
| 14 // NOTE(gregoryd): This is a hack to avoid creating more nacl_win64-specific | 14 // NOTE(gregoryd): This is a hack to avoid creating more nacl_win64-specific |
| 15 // files. The font members of ResourceBundle are never initialized in our code | 15 // files. The font members of ResourceBundle are never initialized in our code |
| 16 // so this destructor is never called. | 16 // so this destructor is never called. |
| 17 namespace gfx { | 17 namespace gfx { |
| 18 Font::~Font() { | 18 Font::~Font() { |
| 19 NOTREACHED(); | 19 NOTREACHED(); |
| 20 } | 20 } |
| 21 PlatformFontWin::HFontRef::~HFontRef() { | 21 PlatformFontWin::HFontRef::~HFontRef() { |
| 22 NOTREACHED(); | 22 NOTREACHED(); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 ResourceBundle::~ResourceBundle() { | 59 ResourceBundle::~ResourceBundle() { |
| 60 } | 60 } |
| 61 | 61 |
| 62 | 62 |
| 63 string16 ResourceBundle::GetLocalizedString(int message_id) { | 63 string16 ResourceBundle::GetLocalizedString(int message_id) { |
| 64 return string16(); | 64 return string16(); |
| 65 } | 65 } |
| 66 | 66 |
| 67 } // namespace ui | 67 } // namespace ui |
| OLD | NEW |