| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 int edit_flags; | 183 int edit_flags; |
| 184 | 184 |
| 185 // The referrer policy applicable to this context. | 185 // The referrer policy applicable to this context. |
| 186 WebReferrerPolicy referrer_policy; | 186 WebReferrerPolicy referrer_policy; |
| 187 | 187 |
| 188 // Custom context menu items provided by the WebCore internals. | 188 // Custom context menu items provided by the WebCore internals. |
| 189 WebVector<WebMenuItemInfo> custom_items; | 189 WebVector<WebMenuItemInfo> custom_items; |
| 190 | 190 |
| 191 WebContextMenuData() | 191 WebContextMenuData() |
| 192 : media_type(kMediaTypeNone), | 192 : media_type(kMediaTypeNone), |
| 193 has_image_contents(true), | 193 has_image_contents(false), |
| 194 media_flags(kMediaNone), | 194 media_flags(kMediaNone), |
| 195 is_spell_checking_enabled(false), | 195 is_spell_checking_enabled(false), |
| 196 is_editable(false), | 196 is_editable(false), |
| 197 writing_direction_default(kCheckableMenuItemDisabled), | 197 writing_direction_default(kCheckableMenuItemDisabled), |
| 198 writing_direction_left_to_right(kCheckableMenuItemEnabled), | 198 writing_direction_left_to_right(kCheckableMenuItemEnabled), |
| 199 writing_direction_right_to_left(kCheckableMenuItemEnabled), | 199 writing_direction_right_to_left(kCheckableMenuItemEnabled), |
| 200 edit_flags(0) {} | 200 edit_flags(0) {} |
| 201 }; | 201 }; |
| 202 | 202 |
| 203 } // namespace blink | 203 } // namespace blink |
| 204 | 204 |
| 205 #endif | 205 #endif |
| OLD | NEW |