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

Side by Side Diff: chrome/renderer/autofill/autofill_agent.h

Issue 9235072: Adding Mouse Support for new GTK Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 11 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
« no previous file with comments | « chrome/common/autofill_messages.h ('k') | chrome/renderer/autofill/autofill_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ 5 #ifndef CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_
6 #define CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ 6 #define CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const std::vector<string16>& values, 98 const std::vector<string16>& values,
99 const std::vector<string16>& labels, 99 const std::vector<string16>& labels,
100 const std::vector<string16>& icons, 100 const std::vector<string16>& icons,
101 const std::vector<int>& unique_ids); 101 const std::vector<int>& unique_ids);
102 void OnFormDataFilled(int query_id, const webkit::forms::FormData& form); 102 void OnFormDataFilled(int query_id, const webkit::forms::FormData& form);
103 void OnFieldTypePredictionsAvailable( 103 void OnFieldTypePredictionsAvailable(
104 const std::vector<webkit::forms::FormDataPredictions>& forms); 104 const std::vector<webkit::forms::FormDataPredictions>& forms);
105 105
106 // For external Autofill selection. 106 // For external Autofill selection.
107 void OnSelectAutofillSuggestionAtIndex(int listIndex); 107 void OnSelectAutofillSuggestionAtIndex(int listIndex);
108 void OnSetAutofillActionFill();
csharp 2012/01/26 22:19:06 These functions all just use the currently set aut
Ilya Sherman 2012/01/30 22:11:09 Yeah, that should be fine. We've generally also u
109 void OnSetAutofillActionPreview();
110 void OnClearForm();
111 void OnSetNodeText(string16 value);
108 112
109 // Called in a posted task by textFieldDidChange() to work-around a WebKit bug 113 // Called in a posted task by textFieldDidChange() to work-around a WebKit bug
110 // http://bugs.webkit.org/show_bug.cgi?id=16976 114 // http://bugs.webkit.org/show_bug.cgi?id=16976
111 void TextFieldDidChangeImpl(const WebKit::WebInputElement& element); 115 void TextFieldDidChangeImpl(const WebKit::WebInputElement& element);
112 116
113 // Shows the autofill suggestions for |element|. 117 // Shows the autofill suggestions for |element|.
114 // This call is asynchronous and may or may not lead to the showing of a 118 // This call is asynchronous and may or may not lead to the showing of a
115 // suggestion popup (no popup is shown if there are no available suggestions). 119 // suggestion popup (no popup is shown if there are no available suggestions).
116 // |autofill_on_empty_values| specifies whether suggestions should be shown 120 // |autofill_on_empty_values| specifies whether suggestions should be shown
117 // when |element| contains no text. 121 // when |element| contains no text.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername); 188 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, WaitUsername);
185 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept); 189 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionAccept);
186 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect); 190 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillManagerTest, SuggestionSelect);
187 191
188 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 192 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
189 }; 193 };
190 194
191 } // namespace autofill 195 } // namespace autofill
192 196
193 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_ 197 #endif // CHROME_RENDERER_AUTOFILL_AUTOFILL_AGENT_H_
OLDNEW
« no previous file with comments | « chrome/common/autofill_messages.h ('k') | chrome/renderer/autofill/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698