OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2006, 2007, 2008, 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2006, 2007, 2008, 2009, 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 20 matching lines...) Expand all Loading... |
31 // A wrapper around Uniscribe that provides a reasonable API. | 31 // A wrapper around Uniscribe that provides a reasonable API. |
32 | 32 |
33 #ifndef UniscribeHelper_h | 33 #ifndef UniscribeHelper_h |
34 #define UniscribeHelper_h | 34 #define UniscribeHelper_h |
35 | 35 |
36 #include <windows.h> | 36 #include <windows.h> |
37 #include <usp10.h> | 37 #include <usp10.h> |
38 #include <map> | 38 #include <map> |
39 | 39 |
40 #include <unicode/uchar.h> | 40 #include <unicode/uchar.h> |
41 #include <wtf/Vector.h> | 41 #include "wtf/Vector.h" |
42 | 42 |
43 class UniscribeTest_TooBig_Test; // A gunit test for UniscribeHelper. | 43 class UniscribeTest_TooBig_Test; // A gunit test for UniscribeHelper. |
44 | 44 |
45 namespace WebCore { | 45 namespace WebCore { |
46 | 46 |
47 class FloatRect; | 47 class FloatRect; |
48 class FontFeatureSettings; | 48 class FontFeatureSettings; |
49 class GraphicsContext; | 49 class GraphicsContext; |
50 | 50 |
51 const unsigned cUniscribeHelperStackRuns = 8; | 51 const unsigned cUniscribeHelperStackRuns = 8; |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 | 440 |
441 // This contains Uniscribe's OpenType feature settings. This structure | 441 // This contains Uniscribe's OpenType feature settings. This structure |
442 // is filled by using WebKit's |FontFeatureSettings|. | 442 // is filled by using WebKit's |FontFeatureSettings|. |
443 TEXTRANGE_PROPERTIES m_rangeProperties; | 443 TEXTRANGE_PROPERTIES m_rangeProperties; |
444 Vector<OPENTYPE_FEATURE_RECORD, cUniscribeHelperFeatures> m_featureRecords; | 444 Vector<OPENTYPE_FEATURE_RECORD, cUniscribeHelperFeatures> m_featureRecords; |
445 }; | 445 }; |
446 | 446 |
447 } // namespace WebCore | 447 } // namespace WebCore |
448 | 448 |
449 #endif // UniscribeHelper_h | 449 #endif // UniscribeHelper_h |
OLD | NEW |