Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: app/resource_bundle_dummy.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « app/resource_bundle.cc ('k') | app/resource_bundle_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « app/resource_bundle.cc ('k') | app/resource_bundle_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698