OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 MediaCanPrint = 0x100, | 112 MediaCanPrint = 0x100, |
113 MediaCanRotate = 0x200, | 113 MediaCanRotate = 0x200, |
114 }; | 114 }; |
115 | 115 |
116 // Extra attributes describing media elements. | 116 // Extra attributes describing media elements. |
117 int mediaFlags; | 117 int mediaFlags; |
118 | 118 |
119 // The raw text of the selection in context. | 119 // The raw text of the selection in context. |
120 WebString selectedText; | 120 WebString selectedText; |
121 | 121 |
| 122 // Title attribute or alt attribute (if title is not available) of the selec
tion in context. |
| 123 WebString titleText; |
| 124 |
122 // Whether spell checking is enabled. | 125 // Whether spell checking is enabled. |
123 bool isSpellCheckingEnabled; | 126 bool isSpellCheckingEnabled; |
124 | 127 |
125 // Suggested filename for saving file. | 128 // Suggested filename for saving file. |
126 WebString suggestedFilename; | 129 WebString suggestedFilename; |
127 | 130 |
128 // The editable (possibily) misspelled word. | 131 // The editable (possibily) misspelled word. |
129 WebString misspelledWord; | 132 WebString misspelledWord; |
130 | 133 |
131 // The identifier of the misspelling. | 134 // The identifier of the misspelling. |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 , isEditable(false) | 189 , isEditable(false) |
187 , writingDirectionDefault(CheckableMenuItemDisabled) | 190 , writingDirectionDefault(CheckableMenuItemDisabled) |
188 , writingDirectionLeftToRight(CheckableMenuItemEnabled) | 191 , writingDirectionLeftToRight(CheckableMenuItemEnabled) |
189 , writingDirectionRightToLeft(CheckableMenuItemEnabled) | 192 , writingDirectionRightToLeft(CheckableMenuItemEnabled) |
190 , editFlags(0) { } | 193 , editFlags(0) { } |
191 }; | 194 }; |
192 | 195 |
193 } // namespace blink | 196 } // namespace blink |
194 | 197 |
195 #endif | 198 #endif |
OLD | NEW |