Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: third_party/WebKit/public/web/WebContextMenuData.h

Issue 2803233002: Change default value of has_image_contents (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/context_menu_params.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/public/common/context_menu_params.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698