| OLD | NEW |
| 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_t CustomContextMenuContext::kCurrentRenderWidget = INT32_MAX; | 9 const int32_t CustomContextMenuContext::kCurrentRenderWidget = INT32_MAX; |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 is_editable(false), | 24 is_editable(false), |
| 25 writing_direction_default( | 25 writing_direction_default( |
| 26 blink::WebContextMenuData::kCheckableMenuItemDisabled), | 26 blink::WebContextMenuData::kCheckableMenuItemDisabled), |
| 27 writing_direction_left_to_right( | 27 writing_direction_left_to_right( |
| 28 blink::WebContextMenuData::kCheckableMenuItemEnabled), | 28 blink::WebContextMenuData::kCheckableMenuItemEnabled), |
| 29 writing_direction_right_to_left( | 29 writing_direction_right_to_left( |
| 30 blink::WebContextMenuData::kCheckableMenuItemEnabled), | 30 blink::WebContextMenuData::kCheckableMenuItemEnabled), |
| 31 edit_flags(0), | 31 edit_flags(0), |
| 32 referrer_policy(blink::kWebReferrerPolicyDefault), | 32 referrer_policy(blink::kWebReferrerPolicyDefault), |
| 33 source_type(ui::MENU_SOURCE_NONE), | 33 source_type(ui::MENU_SOURCE_NONE), |
| 34 input_field_type(blink::WebContextMenuData::kInputFieldTypeNone) {} | 34 input_field_type(blink::WebContextMenuData::kInputFieldTypeNone), |
| 35 from_touch(false) {} |
| 35 | 36 |
| 36 ContextMenuParams::ContextMenuParams(const ContextMenuParams& other) = default; | 37 ContextMenuParams::ContextMenuParams(const ContextMenuParams& other) = default; |
| 37 | 38 |
| 38 ContextMenuParams::~ContextMenuParams() { | 39 ContextMenuParams::~ContextMenuParams() { |
| 39 } | 40 } |
| 40 | 41 |
| 41 } // namespace content | 42 } // namespace content |
| OLD | NEW |