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

Side by Side Diff: core/include/fxcrt/fx_ucd.h

Issue 377353002: Fixes for re-enabling more MSVC level 4 warnings: pdfium/ edition (try 2) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | fpdfsdk/include/fpdfview.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FX_UNICODE_ 7 #ifndef _FX_UNICODE_
8 #define _FX_UNICODE_ 8 #define _FX_UNICODE_
9 enum FX_CHARBREAKPROP { 9 enum FX_CHARBREAKPROP {
10 FX_CBP_OP = 0, 10 FX_CBP_OP = 0,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 FX_CHARTYPE_Combination = (4 << FX_CHARTYPEBITS), 81 FX_CHARTYPE_Combination = (4 << FX_CHARTYPEBITS),
82 FX_CHARTYPE_Numeric = (5 << FX_CHARTYPEBITS), 82 FX_CHARTYPE_Numeric = (5 << FX_CHARTYPEBITS),
83 FX_CHARTYPE_Normal = (6 << FX_CHARTYPEBITS), 83 FX_CHARTYPE_Normal = (6 << FX_CHARTYPEBITS),
84 FX_CHARTYPE_ArabicAlef = (7 << FX_CHARTYPEBITS), 84 FX_CHARTYPE_ArabicAlef = (7 << FX_CHARTYPEBITS),
85 FX_CHARTYPE_ArabicSpecial = (8 << FX_CHARTYPEBITS), 85 FX_CHARTYPE_ArabicSpecial = (8 << FX_CHARTYPEBITS),
86 FX_CHARTYPE_ArabicDistortion = (9 << FX_CHARTYPEBITS), 86 FX_CHARTYPE_ArabicDistortion = (9 << FX_CHARTYPEBITS),
87 FX_CHARTYPE_ArabicNormal = (10 << FX_CHARTYPEBITS), 87 FX_CHARTYPE_ArabicNormal = (10 << FX_CHARTYPEBITS),
88 FX_CHARTYPE_ArabicForm = (11 << FX_CHARTYPEBITS), 88 FX_CHARTYPE_ArabicForm = (11 << FX_CHARTYPEBITS),
89 FX_CHARTYPE_Arabic = (12 << FX_CHARTYPEBITS), 89 FX_CHARTYPE_Arabic = (12 << FX_CHARTYPEBITS),
90 }; 90 };
91 typedef struct _FX_CHARPROPERTIES {
92 union {
93 struct {
94 FX_DWORD dwBreakType : 6;
95 FX_DWORD dwBidiClass : 5;
96 FX_DWORD dwCharType : 4;
97 FX_DWORD dwRotation : 1;
98 FX_DWORD dwCJKSpecial : 1;
99 FX_DWORD dwVertIndex : 6;
100 FX_DWORD dwBidiIndex : 9;
101 };
102 FX_DWORD dwCharProps;
103 };
104 } FX_CHARPROPERTIES;
105 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch); 91 FX_DWORD FX_GetUnicodeProperties(FX_WCHAR wch);
106 FX_BOOL FX_IsCtrlCode(FX_WCHAR ch); 92 FX_BOOL FX_IsCtrlCode(FX_WCHAR ch);
107 FX_BOOL FX_IsRotationCode(FX_WCHAR ch); 93 FX_BOOL FX_IsRotationCode(FX_WCHAR ch);
108 FX_BOOL FX_IsCombinationChar(FX_WCHAR wch); 94 FX_BOOL FX_IsCombinationChar(FX_WCHAR wch);
109 FX_BOOL FX_IsBidiChar(FX_WCHAR wch); 95 FX_BOOL FX_IsBidiChar(FX_WCHAR wch);
110 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_BOOL bRTL, FX_BOOL bVertical); 96 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_BOOL bRTL, FX_BOOL bVertical);
111 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_DWORD dwProps, FX_BOOL bRTL, FX_BOOL bVertical); 97 FX_WCHAR FX_GetMirrorChar(FX_WCHAR wch, FX_DWORD dwProps, FX_BOOL bRTL, FX_BOOL bVertical);
112 #endif 98 #endif
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/include/fpdfview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698