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

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

Issue 2386333002: reflow comments in platform/fonts (Closed)
Patch Set: comments 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ScriptRunIterator_h 5 #ifndef ScriptRunIterator_h
6 #define ScriptRunIterator_h 6 #define ScriptRunIterator_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/Deque.h" 10 #include "wtf/Deque.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 UChar32 m_aheadCharacter; 63 UChar32 m_aheadCharacter;
64 size_t m_aheadPos; 64 size_t m_aheadPos;
65 65
66 UScriptCode m_commonPreferred; 66 UScriptCode m_commonPreferred;
67 67
68 const ScriptData* m_scriptData; 68 const ScriptData* m_scriptData;
69 }; 69 };
70 70
71 // ScriptData is a wrapper which returns a set of scripts for a particular 71 // ScriptData is a wrapper which returns a set of scripts for a particular
72 // character retrieved from the character's primary script and script extensions , 72 // character retrieved from the character's primary script and script
73 // as per ICU / Unicode data. ScriptData maintains a certain priority order of 73 // extensions, as per ICU / Unicode data. ScriptData maintains a certain
74 // the returned values, which are essential for mergeSets method to work 74 // priority order of the returned values, which are essential for mergeSets
75 // correctly. 75 // method to work correctly.
76 class PLATFORM_EXPORT ScriptData { 76 class PLATFORM_EXPORT ScriptData {
77 USING_FAST_MALLOC(ScriptData); 77 USING_FAST_MALLOC(ScriptData);
78 WTF_MAKE_NONCOPYABLE(ScriptData); 78 WTF_MAKE_NONCOPYABLE(ScriptData);
79 79
80 protected: 80 protected:
81 ScriptData() = default; 81 ScriptData() = default;
82 82
83 public: 83 public:
84 virtual ~ScriptData(); 84 virtual ~ScriptData();
85 85
(...skipping 21 matching lines...) Expand all
107 107
108 void getScripts(UChar32, Vector<UScriptCode>& dst) const override; 108 void getScripts(UChar32, Vector<UScriptCode>& dst) const override;
109 109
110 UChar32 getPairedBracket(UChar32) const override; 110 UChar32 getPairedBracket(UChar32) const override;
111 111
112 PairedBracketType getPairedBracketType(UChar32) const override; 112 PairedBracketType getPairedBracketType(UChar32) const override;
113 }; 113 };
114 } // namespace blink 114 } // namespace blink
115 115
116 #endif 116 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698