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

Unified Diff: ui/gfx/font_names_testing.h

Issue 2302313002: Configure font font names in GFX unittests (Closed)
Patch Set: Reintroduce height based assertions now that CJK font is used in StringSizeRespectsFontListMetrics Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/font_names_testing.h
diff --git a/ui/gfx/image/image_skia_source.cc b/ui/gfx/font_names_testing.h
similarity index 50%
copy from ui/gfx/image/image_skia_source.cc
copy to ui/gfx/font_names_testing.h
index 53bc4271ca78ecbb384aa42f73e81bcf8e11decf..34c96bef6adfed09e4cffcb5a2fbba3d785fb82c 100644
--- a/ui/gfx/image/image_skia_source.cc
+++ b/ui/gfx/font_names_testing.h
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/gfx/image/image_skia_source.h"
+#ifndef UI_GFX_FONT_NAMES_TESTING_H_
+#define UI_GFX_FONT_NAMES_TESTING_H_
namespace gfx {
-ImageSkiaSource::~ImageSkiaSource() {}
+extern const char kSymbolFontName[];
+extern const char kCJKFontName[];
-bool ImageSkiaSource::HasRepresentationAtAllScales() const { return false; }
+} // end namespace gfx
-} // namespace gfx
+#endif

Powered by Google App Engine
This is Rietveld 408576698