Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ui/gfx/platform_font.h" | 1 #include "ui/gfx/platform_font.h" |
| 6 | 2 #include "ui/gfx/render_text.h" |
| 7 #include "base/logging.h" | |
| 8 | 3 |
| 9 namespace gfx { | 4 namespace gfx { |
| 10 | 5 |
| 11 // static | 6 RenderText* RenderText::CreateInstance() { |
| 12 PlatformFont* PlatformFont::CreateDefault() { | |
| 13 NOTIMPLEMENTED(); | |
| 14 return NULL; | 7 return NULL; |
| 15 } | 8 } |
| 16 | 9 |
| 17 // static | 10 PlatformFont* PlatformFont::CreateDefault() { |
|
msw
2013/11/04 23:10:46
Shouldn't these live in platform_font_ozone.cc, no
sadrul
2013/11/05 02:42:27
Done.
| |
| 18 PlatformFont* PlatformFont::CreateFromNativeFont(NativeFont native_font) { | |
| 19 NOTIMPLEMENTED(); | |
| 20 return NULL; | 11 return NULL; |
| 21 } | 12 } |
| 22 | 13 |
| 23 // static | 14 PlatformFont* PlatformFont::CreateFromNativeFont(NativeFont native_font) { |
| 24 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name, | |
| 25 int font_size) { | |
| 26 NOTIMPLEMENTED(); | |
| 27 return NULL; | 15 return NULL; |
| 28 } | 16 } |
| 29 | 17 |
| 30 } // namespace gfx | 18 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name, |
| 19 int font_size) { | |
| 20 return NULL; | |
| 21 } | |
| 22 | |
| 23 } // namespace gfx | |
| OLD | NEW |