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

Side by Side Diff: third_party/WebKit/Source/platform/text/BidiContext.h

Issue 2799683005: Rewrite references to "wtf/" to "platform/wtf/" in platform/text. (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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2006, 2007, 2009, 2010 Apple Inc. 3 * Copyright (C) 2003, 2004, 2006, 2007, 2009, 2010 Apple Inc.
4 * All right reserved. 4 * All right reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 * 20 *
21 */ 21 */
22 22
23 #ifndef BidiContext_h 23 #ifndef BidiContext_h
24 #define BidiContext_h 24 #define BidiContext_h
25 25
26 #include "platform/PlatformExport.h" 26 #include "platform/PlatformExport.h"
27 #include "wtf/Assertions.h" 27 #include "platform/wtf/Assertions.h"
28 #include "wtf/PassRefPtr.h" 28 #include "platform/wtf/PassRefPtr.h"
29 #include "wtf/RefCounted.h" 29 #include "platform/wtf/RefCounted.h"
30 #include "wtf/RefPtr.h" 30 #include "platform/wtf/RefPtr.h"
31 #include "wtf/text/Unicode.h" 31 #include "platform/wtf/text/Unicode.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 enum BidiEmbeddingSource { FromStyleOrDOM, FromUnicode }; 35 enum BidiEmbeddingSource { FromStyleOrDOM, FromUnicode };
36 36
37 // Used to keep track of explicit embeddings. 37 // Used to keep track of explicit embeddings.
38 class PLATFORM_EXPORT BidiContext : public RefCounted<BidiContext> { 38 class PLATFORM_EXPORT BidiContext : public RefCounted<BidiContext> {
39 public: 39 public:
40 static PassRefPtr<BidiContext> create(unsigned char level, 40 static PassRefPtr<BidiContext> create(unsigned char level,
41 WTF::Unicode::CharDirection, 41 WTF::Unicode::CharDirection,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 inline unsigned char nextGreaterEvenLevel(unsigned char level) { 96 inline unsigned char nextGreaterEvenLevel(unsigned char level) {
97 return (level + 2) & ~1; 97 return (level + 2) & ~1;
98 } 98 }
99 99
100 PLATFORM_EXPORT bool operator==(const BidiContext&, const BidiContext&); 100 PLATFORM_EXPORT bool operator==(const BidiContext&, const BidiContext&);
101 101
102 } // namespace blink 102 } // namespace blink
103 103
104 #endif // BidiContext_h 104 #endif // BidiContext_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/text/BidiCharacterRun.cpp ('k') | third_party/WebKit/Source/platform/text/BidiContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698