Commit addbbc79 authored by jbroman@chromium.org's avatar jbroman@chromium.org

Remove unnecessary includes of GlyphBuffer.h.

Previously this was included in many other source files.
For me, this reduces the number of affected build targets from 889 to 93.

Review URL: https://codereview.chromium.org/344873002

git-svn-id: svn://svn.chromium.org/blink/trunk@176521 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 4d9633ea
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#include "core/rendering/style/ShadowList.h" #include "core/rendering/style/ShadowList.h"
#include "core/rendering/svg/SVGTextRunRenderingContext.h" #include "core/rendering/svg/SVGTextRunRenderingContext.h"
#include "platform/fonts/FontCache.h" #include "platform/fonts/FontCache.h"
#include "platform/fonts/GlyphBuffer.h"
#include "platform/fonts/WidthIterator.h" #include "platform/fonts/WidthIterator.h"
#include "platform/graphics/DrawLooperBuilder.h" #include "platform/graphics/DrawLooperBuilder.h"
#include "platform/graphics/GraphicsContextStateSaver.h" #include "platform/graphics/GraphicsContextStateSaver.h"
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "core/rendering/svg/RenderSVGInlineText.h" #include "core/rendering/svg/RenderSVGInlineText.h"
#include "core/rendering/svg/RenderSVGText.h" #include "core/rendering/svg/RenderSVGText.h"
#include "core/rendering/svg/SVGTextMetrics.h" #include "core/rendering/svg/SVGTextMetrics.h"
#include "platform/fonts/GlyphBuffer.h"
#include "platform/fonts/WidthIterator.h" #include "platform/fonts/WidthIterator.h"
#include "platform/text/BidiCharacterRun.h" #include "platform/text/BidiCharacterRun.h"
#include "platform/text/BidiResolver.h" #include "platform/text/BidiResolver.h"
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include "platform/fonts/FontData.h" #include "platform/fonts/FontData.h"
#include "platform/fonts/FontMetrics.h" #include "platform/fonts/FontMetrics.h"
#include "platform/fonts/FontPlatformData.h" #include "platform/fonts/FontPlatformData.h"
#include "platform/fonts/GlyphBuffer.h"
#include "platform/fonts/GlyphMetricsMap.h" #include "platform/fonts/GlyphMetricsMap.h"
#include "platform/fonts/GlyphPageTreeNode.h" #include "platform/fonts/GlyphPageTreeNode.h"
#include "platform/fonts/TypesettingFeatures.h" #include "platform/fonts/TypesettingFeatures.h"
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include "SkUtils.h" #include "SkUtils.h"
#include "platform/fonts/FontPlatformData.h" #include "platform/fonts/FontPlatformData.h"
#include "platform/fonts/SimpleFontData.h" #include "platform/fonts/SimpleFontData.h"
#include "platform/fonts/GlyphBuffer.h"
#include "platform/fonts/harfbuzz/HarfBuzzShaper.h" #include "platform/fonts/harfbuzz/HarfBuzzShaper.h"
#include "hb.h" #include "hb.h"
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include "platform/RuntimeEnabledFeatures.h" #include "platform/RuntimeEnabledFeatures.h"
#include "platform/fonts/Character.h" #include "platform/fonts/Character.h"
#include "platform/fonts/Font.h" #include "platform/fonts/Font.h"
#include "platform/fonts/GlyphBuffer.h"
#include "platform/fonts/harfbuzz/HarfBuzzFace.h" #include "platform/fonts/harfbuzz/HarfBuzzFace.h"
#include "platform/text/SurrogatePairAwareTextIterator.h" #include "platform/text/SurrogatePairAwareTextIterator.h"
#include "platform/text/TextBreakIterator.h" #include "platform/text/TextBreakIterator.h"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define HarfBuzzShaper_h #define HarfBuzzShaper_h
#include "hb.h" #include "hb.h"
#include "platform/fonts/GlyphBuffer.h"
#include "platform/geometry/FloatBoxExtent.h" #include "platform/geometry/FloatBoxExtent.h"
#include "platform/geometry/FloatPoint.h" #include "platform/geometry/FloatPoint.h"
#include "platform/text/TextRun.h" #include "platform/text/TextRun.h"
...@@ -47,7 +46,9 @@ ...@@ -47,7 +46,9 @@
namespace WebCore { namespace WebCore {
class Font; class Font;
class GlyphBuffer;
class SimpleFontData; class SimpleFontData;
class HarfBuzzShaper FINAL { class HarfBuzzShaper FINAL {
public: public:
enum ForTextEmphasisOrNot { enum ForTextEmphasisOrNot {
......
...@@ -25,14 +25,15 @@ ...@@ -25,14 +25,15 @@
#include "config.h" #include "config.h"
#include "platform/fonts/mac/ComplexTextController.h" #include "platform/fonts/mac/ComplexTextController.h"
#include <ApplicationServices/ApplicationServices.h>
#include "platform/fonts/Character.h" #include "platform/fonts/Character.h"
#include "platform/fonts/Font.h" #include "platform/fonts/Font.h"
#include "platform/fonts/GlyphBuffer.h"
#include "platform/geometry/FloatSize.h" #include "platform/geometry/FloatSize.h"
#include "platform/text/TextBreakIterator.h" #include "platform/text/TextBreakIterator.h"
#include "platform/text/TextRun.h" #include "platform/text/TextRun.h"
#include "wtf/StdLibExtras.h" #include "wtf/StdLibExtras.h"
#include "wtf/unicode/CharacterNames.h" #include "wtf/unicode/CharacterNames.h"
#include <ApplicationServices/ApplicationServices.h>
using namespace std; using namespace std;
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#ifndef ComplexTextController_h #ifndef ComplexTextController_h
#define ComplexTextController_h #define ComplexTextController_h
#include "platform/fonts/GlyphBuffer.h"
#include "wtf/HashSet.h" #include "wtf/HashSet.h"
#include "wtf/PassRefPtr.h" #include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h" #include "wtf/RefCounted.h"
...@@ -43,6 +42,7 @@ typedef const struct __CTLine * CTLineRef; ...@@ -43,6 +42,7 @@ typedef const struct __CTLine * CTLineRef;
namespace WebCore { namespace WebCore {
class Font; class Font;
class GlyphBuffer;
class SimpleFontData; class SimpleFontData;
class TextRun; class TextRun;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment