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

Side by Side Diff: content/public/common/context_menu_params.cc

Issue 128413002: Initialize all members of ContextMenuParams in the ctor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/context_menu_params.h" 5 #include "content/public/common/context_menu_params.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 const int32 CustomContextMenuContext::kCurrentRenderWidget = kint32max; 9 const int32 CustomContextMenuContext::kCurrentRenderWidget = kint32max;
10 10
(...skipping 14 matching lines...) Expand all
25 speech_input_enabled(false), 25 speech_input_enabled(false),
26 spellcheck_enabled(false), 26 spellcheck_enabled(false),
27 is_editable(false), 27 is_editable(false),
28 writing_direction_default( 28 writing_direction_default(
29 blink::WebContextMenuData::CheckableMenuItemDisabled), 29 blink::WebContextMenuData::CheckableMenuItemDisabled),
30 writing_direction_left_to_right( 30 writing_direction_left_to_right(
31 blink::WebContextMenuData::CheckableMenuItemEnabled), 31 blink::WebContextMenuData::CheckableMenuItemEnabled),
32 writing_direction_right_to_left( 32 writing_direction_right_to_left(
33 blink::WebContextMenuData::CheckableMenuItemEnabled), 33 blink::WebContextMenuData::CheckableMenuItemEnabled),
34 edit_flags(0), 34 edit_flags(0),
35 referrer_policy(blink::WebReferrerPolicyDefault) { 35 referrer_policy(blink::WebReferrerPolicyDefault),
36 source_type(ui::MENU_SOURCE_NONE) {
36 } 37 }
37 38
38 ContextMenuParams::~ContextMenuParams() { 39 ContextMenuParams::~ContextMenuParams() {
39 } 40 }
40 41
41 } // namespace content 42 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698