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 // Whether this field is a password field. | |
170 bool is_password_field; | |
Mike West
2015/05/19 10:11:22
I would suggest turning this into an enum of possi
msramek
2015/05/19 12:39:48
Good idea. The current proposal expects right-clic
| |
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 |