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 CustomContextMenuContext::kCurrentRenderWidget = kint32max; | 9 const int32_t CustomContextMenuContext::kCurrentRenderWidget = INT32_MAX; |
10 | 10 |
11 CustomContextMenuContext::CustomContextMenuContext() | 11 CustomContextMenuContext::CustomContextMenuContext() |
12 : is_pepper_menu(false), | 12 : is_pepper_menu(false), |
13 request_id(0), | 13 request_id(0), |
14 render_widget_id(kCurrentRenderWidget) { | 14 render_widget_id(kCurrentRenderWidget) { |
15 } | 15 } |
16 | 16 |
17 ContextMenuParams::ContextMenuParams() | 17 ContextMenuParams::ContextMenuParams() |
18 : media_type(blink::WebContextMenuData::MediaTypeNone), | 18 : media_type(blink::WebContextMenuData::MediaTypeNone), |
19 x(0), | 19 x(0), |
(...skipping 12 matching lines...) Expand all Loading... |
32 edit_flags(0), | 32 edit_flags(0), |
33 referrer_policy(blink::WebReferrerPolicyDefault), | 33 referrer_policy(blink::WebReferrerPolicyDefault), |
34 source_type(ui::MENU_SOURCE_NONE), | 34 source_type(ui::MENU_SOURCE_NONE), |
35 input_field_type(blink::WebContextMenuData::InputFieldTypeNone) { | 35 input_field_type(blink::WebContextMenuData::InputFieldTypeNone) { |
36 } | 36 } |
37 | 37 |
38 ContextMenuParams::~ContextMenuParams() { | 38 ContextMenuParams::~ContextMenuParams() { |
39 } | 39 } |
40 | 40 |
41 } // namespace content | 41 } // namespace content |
OLD | NEW |