| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 WebHistoryItem frameHistoryItem; | 93 WebHistoryItem frameHistoryItem; |
| 94 | 94 |
| 95 enum MediaFlags { | 95 enum MediaFlags { |
| 96 MediaNone = 0x0, | 96 MediaNone = 0x0, |
| 97 MediaInError = 0x1, | 97 MediaInError = 0x1, |
| 98 MediaPaused = 0x2, | 98 MediaPaused = 0x2, |
| 99 MediaMuted = 0x4, | 99 MediaMuted = 0x4, |
| 100 MediaLoop = 0x8, | 100 MediaLoop = 0x8, |
| 101 MediaCanSave = 0x10, | 101 MediaCanSave = 0x10, |
| 102 MediaHasAudio = 0x20, | 102 MediaHasAudio = 0x20, |
| 103 // FIXME: Remove once Chromium references MediaCanToggleControls. |
| 103 MediaHasVideo = 0x40, | 104 MediaHasVideo = 0x40, |
| 105 MediaCanToggleControls = 0x40, |
| 104 MediaControls = 0x80, | 106 MediaControls = 0x80, |
| 105 MediaCanPrint = 0x100, | 107 MediaCanPrint = 0x100, |
| 106 MediaCanRotate = 0x200, | 108 MediaCanRotate = 0x200, |
| 107 }; | 109 }; |
| 108 | 110 |
| 109 // Extra attributes describing media elements. | 111 // Extra attributes describing media elements. |
| 110 int mediaFlags; | 112 int mediaFlags; |
| 111 | 113 |
| 112 // The raw text of the selection in context. | 114 // The raw text of the selection in context. |
| 113 WebString selectedText; | 115 WebString selectedText; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 , isEditable(false) | 180 , isEditable(false) |
| 179 , writingDirectionDefault(CheckableMenuItemDisabled) | 181 , writingDirectionDefault(CheckableMenuItemDisabled) |
| 180 , writingDirectionLeftToRight(CheckableMenuItemEnabled) | 182 , writingDirectionLeftToRight(CheckableMenuItemEnabled) |
| 181 , writingDirectionRightToLeft(CheckableMenuItemEnabled) | 183 , writingDirectionRightToLeft(CheckableMenuItemEnabled) |
| 182 , editFlags(0) { } | 184 , editFlags(0) { } |
| 183 }; | 185 }; |
| 184 | 186 |
| 185 } // namespace blink | 187 } // namespace blink |
| 186 | 188 |
| 187 #endif | 189 #endif |
| OLD | NEW |