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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h

Issue 2795413003: Rewrite references to "wtf/" to "platform/wtf/" in platform/fonts. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2015 Google Inc. All rights reserved. 2 * Copyright (C) 2015 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef CachingWordShapeIterator_h 26 #ifndef CachingWordShapeIterator_h
27 #define CachingWordShapeIterator_h 27 #define CachingWordShapeIterator_h
28 28
29 #include "platform/fonts/Font.h" 29 #include "platform/fonts/Font.h"
30 #include "platform/fonts/SimpleFontData.h" 30 #include "platform/fonts/SimpleFontData.h"
31 #include "platform/fonts/shaping/CachingWordShapeIterator.h" 31 #include "platform/fonts/shaping/CachingWordShapeIterator.h"
32 #include "platform/fonts/shaping/ShapeCache.h" 32 #include "platform/fonts/shaping/ShapeCache.h"
33 #include "platform/fonts/shaping/ShapeResultSpacing.h" 33 #include "platform/fonts/shaping/ShapeResultSpacing.h"
34 #include "wtf/Allocator.h" 34 #include "platform/wtf/Allocator.h"
35 #include "wtf/text/CharacterNames.h" 35 #include "platform/wtf/text/CharacterNames.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class PLATFORM_EXPORT CachingWordShapeIterator final { 39 class PLATFORM_EXPORT CachingWordShapeIterator final {
40 STACK_ALLOCATED(); 40 STACK_ALLOCATED();
41 WTF_MAKE_NONCOPYABLE(CachingWordShapeIterator); 41 WTF_MAKE_NONCOPYABLE(CachingWordShapeIterator);
42 42
43 public: 43 public:
44 CachingWordShapeIterator(ShapeCache* cache, 44 CachingWordShapeIterator(ShapeCache* cache,
45 const TextRun& run, 45 const TextRun& run,
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 const Font* m_font; 203 const Font* m_font;
204 ShapeResultSpacing m_spacing; 204 ShapeResultSpacing m_spacing;
205 float m_widthSoFar; // Used only when allowTabs() 205 float m_widthSoFar; // Used only when allowTabs()
206 unsigned m_startIndex : 31; 206 unsigned m_startIndex : 31;
207 unsigned m_shapeByWord : 1; 207 unsigned m_shapeByWord : 1;
208 }; 208 };
209 209
210 } // namespace blink 210 } // namespace blink
211 211
212 #endif // CachingWordShapeIterator_h 212 #endif // CachingWordShapeIterator_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698