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

Unified Diff: Source/WebCore/platform/graphics/Font.h

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 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 | « Source/WebCore/platform/graphics/FloatRect.h ('k') | Source/WebCore/platform/graphics/FontPlatformData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/Font.h
diff --git a/Source/WebCore/platform/graphics/Font.h b/Source/WebCore/platform/graphics/Font.h
index d6d393a1627453c7ddea2423ae8a9fa4bc5847fc..d8b2a2e889466a58ac8725f5fee8133961212737 100644
--- a/Source/WebCore/platform/graphics/Font.h
+++ b/Source/WebCore/platform/graphics/Font.h
@@ -35,13 +35,6 @@
#include <wtf/MathExtras.h>
#include <wtf/unicode/CharacterNames.h>
-#if PLATFORM(QT)
-#include <QRawFont>
-QT_BEGIN_NAMESPACE
-class QTextLayout;
-QT_END_NAMESPACE
-#endif
-
// "X11/X.h" defines Complex to 0 and conflicts
// with Complex value in CodePath enum.
#ifdef Complex
@@ -167,11 +160,6 @@ public:
static unsigned expansionOpportunityCount(const LChar*, size_t length, TextDirection, bool& isAfterExpansion);
static unsigned expansionOpportunityCount(const UChar*, size_t length, TextDirection, bool& isAfterExpansion);
-#if PLATFORM(QT)
- QRawFont rawFont() const;
- QFont syntheticFont() const;
-#endif
-
static void setShouldUseSmoothing(bool);
static bool shouldUseSmoothing();
@@ -296,10 +284,6 @@ private:
return features;
}
-#if PLATFORM(QT)
- void initFormatForTextLayout(QTextLayout*, const TextRun&) const;
-#endif
-
static TypesettingFeatures s_defaultTypesettingFeatures;
FontDescription m_fontDescription;
« no previous file with comments | « Source/WebCore/platform/graphics/FloatRect.h ('k') | Source/WebCore/platform/graphics/FontPlatformData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698