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

Side by Side Diff: components/autofill/renderer/password_autofill_agent.h

Issue 13973004: Convert string16 -> base::string16 in components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
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 COMPONENTS_AUTOFILL_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_RENDERER_PASSWORD_AUTOFILL_AGENT_H_
6 #define COMPONENTS_AUTOFILL_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ 6 #define COMPONENTS_AUTOFILL_RENDERER_PASSWORD_AUTOFILL_AGENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // RenderView IPC handlers: 80 // RenderView IPC handlers:
81 void OnFillPasswordForm(const PasswordFormFillData& form_data, 81 void OnFillPasswordForm(const PasswordFormFillData& form_data,
82 bool disable_popup); 82 bool disable_popup);
83 83
84 // Scans the given frame for password forms and sends them up to the browser. 84 // Scans the given frame for password forms and sends them up to the browser.
85 // If |only_visible| is true, only forms visible in the layout are sent. 85 // If |only_visible| is true, only forms visible in the layout are sent.
86 void SendPasswordForms(WebKit::WebFrame* frame, bool only_visible); 86 void SendPasswordForms(WebKit::WebFrame* frame, bool only_visible);
87 87
88 void GetSuggestions(const PasswordFormFillData& fill_data, 88 void GetSuggestions(const PasswordFormFillData& fill_data,
89 const string16& input, 89 const base::string16& input,
90 std::vector<string16>* suggestions); 90 std::vector<base::string16>* suggestions);
91 91
92 bool ShowSuggestionPopup(const PasswordFormFillData& fill_data, 92 bool ShowSuggestionPopup(const PasswordFormFillData& fill_data,
93 const WebKit::WebInputElement& user_input); 93 const WebKit::WebInputElement& user_input);
94 94
95 bool FillUserNameAndPassword( 95 bool FillUserNameAndPassword(
96 WebKit::WebInputElement* username_element, 96 WebKit::WebInputElement* username_element,
97 WebKit::WebInputElement* password_element, 97 WebKit::WebInputElement* password_element,
98 const PasswordFormFillData& fill_data, 98 const PasswordFormFillData& fill_data,
99 bool exact_username_match, 99 bool exact_username_match,
100 bool set_selection); 100 bool set_selection);
(...skipping 24 matching lines...) Expand all
125 WebKit::WebView* web_view_; 125 WebKit::WebView* web_view_;
126 126
127 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_; 127 base::WeakPtrFactory<PasswordAutofillAgent> weak_ptr_factory_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); 129 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent);
130 }; 130 };
131 131
132 } // namespace autofill 132 } // namespace autofill
133 133
134 #endif // COMPONENTS_AUTOFILL_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ 134 #endif // COMPONENTS_AUTOFILL_RENDERER_PASSWORD_AUTOFILL_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698