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

Side by Side Diff: chrome/renderer/autofill_helper.h

Issue 3071003: AutoFill: Display a right-aligned generic CC icon in the suggestions popup for (Closed)
Patch Set: Rebase. Created 10 years, 4 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/render_messages_internal.h ('k') | chrome/renderer/autofill_helper.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_HELPER_H_ 5 #ifndef CHROME_RENDERER_AUTOFILL_HELPER_H_
6 #define CHROME_RENDERER_AUTOFILL_HELPER_H_ 6 #define CHROME_RENDERER_AUTOFILL_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 26 matching lines...) Expand all
37 const WebKit::WebString& value); 37 const WebKit::WebString& value);
38 38
39 // Removes the Autocomplete suggestion |value| for the field names |name|. 39 // Removes the Autocomplete suggestion |value| for the field names |name|.
40 void RemoveAutocompleteSuggestion(const WebKit::WebString& name, 40 void RemoveAutocompleteSuggestion(const WebKit::WebString& name,
41 const WebKit::WebString& value); 41 const WebKit::WebString& value);
42 42
43 // Called when we have received Autofill suggestions from the browser. 43 // Called when we have received Autofill suggestions from the browser.
44 void SuggestionsReceived(int query_id, 44 void SuggestionsReceived(int query_id,
45 const std::vector<string16>& values, 45 const std::vector<string16>& values,
46 const std::vector<string16>& labels, 46 const std::vector<string16>& labels,
47 const std::vector<string16>& icons,
47 const std::vector<int>& unique_ids); 48 const std::vector<int>& unique_ids);
48 49
49 // Called when we have received suggestions for an entire form from the 50 // Called when we have received suggestions for an entire form from the
50 // browser. 51 // browser.
51 void FormDataFilled(int query_id, const webkit_glue::FormData& form); 52 void FormDataFilled(int query_id, const webkit_glue::FormData& form);
52 53
53 // Called by Webkit when the user has selected a suggestion in the popup (this 54 // Called by Webkit when the user has selected a suggestion in the popup (this
54 // happens when the user hovers over an suggestion or navigates the popup with 55 // happens when the user hovers over an suggestion or navigates the popup with
55 // the arrow keys). 56 // the arrow keys).
56 void DidSelectAutoFillSuggestion(const WebKit::WebNode& node, 57 void DidSelectAutoFillSuggestion(const WebKit::WebNode& node,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // The menu index of the "Clear" menu item. 117 // The menu index of the "Clear" menu item.
117 int suggestions_clear_index_; 118 int suggestions_clear_index_;
118 119
119 // The menu index of the "AutoFill options..." menu item. 120 // The menu index of the "AutoFill options..." menu item.
120 int suggestions_options_index_; 121 int suggestions_options_index_;
121 122
122 DISALLOW_COPY_AND_ASSIGN(AutoFillHelper); 123 DISALLOW_COPY_AND_ASSIGN(AutoFillHelper);
123 }; 124 };
124 125
125 #endif // CHROME_RENDERER_AUTOFILL_HELPER_H_ 126 #endif // CHROME_RENDERER_AUTOFILL_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/autofill_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698