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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 1208133002: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added |match_start| usage. Created 5 years, 5 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 | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.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) 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 CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void LegalDocumentLinkClicked(const gfx::Range& range) override; 159 void LegalDocumentLinkClicked(const gfx::Range& range) override;
160 bool OnCancel() override; 160 bool OnCancel() override;
161 bool OnAccept() override; 161 bool OnAccept() override;
162 Profile* profile() override; 162 Profile* profile() override;
163 content::WebContents* GetWebContents() override; 163 content::WebContents* GetWebContents() override;
164 164
165 // AutofillPopupDelegate implementation. 165 // AutofillPopupDelegate implementation.
166 void OnPopupShown() override; 166 void OnPopupShown() override;
167 void OnPopupHidden() override; 167 void OnPopupHidden() override;
168 void DidSelectSuggestion(const base::string16& value, 168 void DidSelectSuggestion(const base::string16& value,
169 int identifier) override; 169 int identifier,
170 size_t match_start) override;
170 void DidAcceptSuggestion(const base::string16& value, 171 void DidAcceptSuggestion(const base::string16& value,
171 int identifier, 172 int identifier,
172 int position) override; 173 int position) override;
173 bool GetDeletionConfirmationText(const base::string16& value, 174 bool GetDeletionConfirmationText(const base::string16& value,
174 int identifier, 175 int identifier,
175 base::string16* title, 176 base::string16* title,
176 base::string16* body) override; 177 base::string16* body) override;
177 bool RemoveSuggestion(const base::string16& value, int identifier) override; 178 bool RemoveSuggestion(const base::string16& value, int identifier) override;
178 void ClearPreviewedForm() override; 179 void ClearPreviewedForm() override;
179 180
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 base::string16 submitted_cardholder_name_; 851 base::string16 submitted_cardholder_name_;
851 852
852 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; 853 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_;
853 854
854 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 855 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
855 }; 856 };
856 857
857 } // namespace autofill 858 } // namespace autofill
858 859
859 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 860 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698