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

Unified Diff: third_party/WebKit/Source/platform/fonts/Font.h

Issue 1479003002: Remove Simple Text Path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/Font.h
diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h
index 691f28aa7944f2a5558d8b158f77fd692a63e914..ded2222fc64c73f3c523dea4535d875455b4f210 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.h
+++ b/third_party/WebKit/Source/platform/fonts/Font.h
@@ -33,7 +33,6 @@
#include "platform/fonts/SimpleFontData.h"
#include "platform/text/TabSize.h"
#include "platform/text/TextDirection.h"
-#include "platform/text/TextPath.h"
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/HashSet.h"
@@ -57,8 +56,6 @@ class GlyphBuffer;
class TextRun;
struct TextRunPaintInfo;
-struct GlyphData;
-
class PLATFORM_EXPORT Font {
DISALLOW_NEW();
@@ -160,12 +157,6 @@ class PLATFORM_EXPORT Font {
const SimpleFontData* primaryFont() const;
const FontData* fontDataAt(unsigned) const;
- GlyphData glyphDataForCharacter(UChar32&,
- bool mirror,
- bool normalizeSpace = false,
- FontDataVariant = AutoVariant) const;
- CodePath codePath(const TextRunPaintInfo&) const;
-
// Whether the font supports shaping word by word instead of shaping the
// full run in one go. Allows better caching for fonts where space cannot
// participate in kerning and/or ligatures.
@@ -189,19 +180,6 @@ class PLATFORM_EXPORT Font {
const GlyphBuffer&,
const FloatPoint&,
float deviceScaleFactor) const;
- float floatWidthForSimpleText(
- const TextRun&,
- HashSet<const SimpleFontData*>* fallbackFonts = 0,
- FloatRect* glyphBounds = 0) const;
- int offsetForPositionForSimpleText(const TextRun&,
- float position,
- bool includePartialGlyphs) const;
- FloatRect selectionRectForSimpleText(const TextRun&,
- const FloatPoint&,
- int h,
- int from,
- int to,
- bool accountForGlyphBounds) const;
bool getEmphasisMarkGlyphData(const AtomicString&, GlyphData&) const;
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698