| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 bool isEditable; | 130 bool isEditable; |
| 131 | 131 |
| 132 enum CheckableMenuItemFlags { | 132 enum CheckableMenuItemFlags { |
| 133 CheckableMenuItemDisabled = 0x0, | 133 CheckableMenuItemDisabled = 0x0, |
| 134 CheckableMenuItemEnabled = 0x1, | 134 CheckableMenuItemEnabled = 0x1, |
| 135 CheckableMenuItemChecked = 0x2, | 135 CheckableMenuItemChecked = 0x2, |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 // Writing direction menu items - values are unions of | 138 // Writing direction menu items - values are unions of |
| 139 // CheckableMenuItemFlags. | 139 // CheckableMenuItemFlags. |
| 140 // Currently only used on OS X. | 140 // Currently only used on OS X and Linux. |
| 141 int writingDirectionDefault; | 141 int writingDirectionDefault; |
| 142 int writingDirectionLeftToRight; | 142 int writingDirectionLeftToRight; |
| 143 int writingDirectionRightToLeft; | 143 int writingDirectionRightToLeft; |
| 144 | 144 |
| 145 enum EditFlags { | 145 enum EditFlags { |
| 146 CanDoNone = 0x0, | 146 CanDoNone = 0x0, |
| 147 CanUndo = 0x1, | 147 CanUndo = 0x1, |
| 148 CanRedo = 0x2, | 148 CanRedo = 0x2, |
| 149 CanCut = 0x4, | 149 CanCut = 0x4, |
| 150 CanCopy = 0x8, | 150 CanCopy = 0x8, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 178 , isEditable(false) | 178 , isEditable(false) |
| 179 , writingDirectionDefault(CheckableMenuItemDisabled) | 179 , writingDirectionDefault(CheckableMenuItemDisabled) |
| 180 , writingDirectionLeftToRight(CheckableMenuItemEnabled) | 180 , writingDirectionLeftToRight(CheckableMenuItemEnabled) |
| 181 , writingDirectionRightToLeft(CheckableMenuItemEnabled) | 181 , writingDirectionRightToLeft(CheckableMenuItemEnabled) |
| 182 , editFlags(0) { } | 182 , editFlags(0) { } |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 } // namespace blink | 185 } // namespace blink |
| 186 | 186 |
| 187 #endif | 187 #endif |
| OLD | NEW |