OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ |
6 #define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ | 6 #define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 // Extra properties for the context menu. | 159 // Extra properties for the context menu. |
160 std::map<std::string, std::string> properties; | 160 std::map<std::string, std::string> properties; |
161 | 161 |
162 #if defined(OS_ANDROID) | 162 #if defined(OS_ANDROID) |
163 // Points representing the coordinates in the document space of the start and | 163 // Points representing the coordinates in the document space of the start and |
164 // end of the selection, if there is one. | 164 // end of the selection, if there is one. |
165 gfx::Point selection_start; | 165 gfx::Point selection_start; |
166 gfx::Point selection_end; | 166 gfx::Point selection_end; |
167 #endif | 167 #endif |
| 168 |
| 169 // If this node is an input field, the type of that field. |
| 170 blink::WebContextMenuData::InputFieldType input_field_type; |
168 }; | 171 }; |
169 | 172 |
170 } // namespace content | 173 } // namespace content |
171 | 174 |
172 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ | 175 #endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_PARAMS_H_ |
OLD | NEW |