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

Side by Side Diff: components/autofill/content/renderer/autofill_agent.h

Issue 232263002: Console logging for rAc developer errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: platforms Created 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void OnPreviewForm(int query_id, const FormData& form); 101 void OnPreviewForm(int query_id, const FormData& form);
102 102
103 // For external Autofill selection. 103 // For external Autofill selection.
104 void OnClearForm(); 104 void OnClearForm();
105 void OnClearPreviewedForm(); 105 void OnClearPreviewedForm();
106 void OnFillFieldWithValue(const base::string16& value); 106 void OnFillFieldWithValue(const base::string16& value);
107 void OnPreviewFieldWithValue(const base::string16& value); 107 void OnPreviewFieldWithValue(const base::string16& value);
108 void OnAcceptDataListSuggestion(const base::string16& value); 108 void OnAcceptDataListSuggestion(const base::string16& value);
109 void OnAcceptPasswordAutofillSuggestion(const base::string16& username); 109 void OnAcceptPasswordAutofillSuggestion(const base::string16& username);
110 110
111 // Called when interactive autocomplete finishes. 111 // Called when interactive autocomplete finishes. |message| is printed to
112 // the console if non-empty.
112 void OnRequestAutocompleteResult( 113 void OnRequestAutocompleteResult(
113 blink::WebFormElement::AutocompleteResult result, 114 blink::WebFormElement::AutocompleteResult result,
115 const base::string16& message,
114 const FormData& form_data); 116 const FormData& form_data);
115 117
116 // Called when an autocomplete request succeeds or fails with the |result|. 118 // Called when an autocomplete request succeeds or fails with the |result|.
117 void FinishAutocompleteRequest( 119 void FinishAutocompleteRequest(
118 blink::WebFormElement::AutocompleteResult result); 120 blink::WebFormElement::AutocompleteResult result);
119 121
120 // Called in a posted task by textFieldDidChange() to work-around a WebKit bug 122 // Called in a posted task by textFieldDidChange() to work-around a WebKit bug
121 // http://bugs.webkit.org/show_bug.cgi?id=16976 123 // http://bugs.webkit.org/show_bug.cgi?id=16976
122 void TextFieldDidChangeImpl(const blink::WebFormControlElement& element); 124 void TextFieldDidChangeImpl(const blink::WebFormControlElement& element);
123 125
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 NoCancelOnSubframeNavigateAfterDone); 242 NoCancelOnSubframeNavigateAfterDone);
241 FRIEND_TEST_ALL_PREFIXES(RequestAutocompleteRendererTest, 243 FRIEND_TEST_ALL_PREFIXES(RequestAutocompleteRendererTest,
242 InvokingTwiceOnlyShowsOnce); 244 InvokingTwiceOnlyShowsOnce);
243 245
244 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 246 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
245 }; 247 };
246 248
247 } // namespace autofill 249 } // namespace autofill
248 250
249 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 251 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
OLDNEW
« no previous file with comments | « components/autofill/content/common/autofill_messages.h ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698