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

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

Issue 1142923002: Add a "Save password" item to the context menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698