OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2008 Apple 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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include "wtf/Forward.h" | 29 #include "wtf/Forward.h" |
30 | 30 |
31 namespace blink { | 31 namespace blink { |
32 | 32 |
33 class Text; | 33 class Text; |
34 | 34 |
35 #define AppleInterchangeNewline "Apple-interchange-newline" | 35 #define AppleInterchangeNewline "Apple-interchange-newline" |
36 #define AppleConvertedSpace "Apple-converted-space" | 36 #define AppleConvertedSpace "Apple-converted-space" |
37 #define ApplePasteAsQuotation "Apple-paste-as-quotation" | 37 #define ApplePasteAsQuotation "Apple-paste-as-quotation" |
38 #define AppleStyleSpanClass "Apple-style-span" | |
39 #define AppleTabSpanClass "Apple-tab-span" | 38 #define AppleTabSpanClass "Apple-tab-span" |
40 | 39 |
41 enum EAnnotateForInterchange { | 40 enum EAnnotateForInterchange { |
42 DoNotAnnotateForInterchange, | 41 DoNotAnnotateForInterchange, |
43 AnnotateForInterchange | 42 AnnotateForInterchange |
44 }; | 43 }; |
45 | 44 |
46 String convertHTMLTextToInterchangeFormat(const String&, const Text&); | 45 String convertHTMLTextToInterchangeFormat(const String&, const Text&); |
47 | 46 |
48 } // namespace blink | 47 } // namespace blink |
49 | 48 |
50 #endif | 49 #endif |
OLD | NEW |