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

Side by Side Diff: components/autofill/core/browser/autocomplete_history_manager.h

Issue 962673004: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated Evan's review inputs. Created 5 years, 7 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
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_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Delegate to perform external processing (display, selection) on 76 // Delegate to perform external processing (display, selection) on
77 // our behalf. Weak. 77 // our behalf. Weak.
78 AutofillExternalDelegate* external_delegate_; 78 AutofillExternalDelegate* external_delegate_;
79 79
80 // Delegate to provide whether or not autocomplete functionality is enabled. 80 // Delegate to provide whether or not autocomplete functionality is enabled.
81 AutofillClient* const autofill_client_; 81 AutofillClient* const autofill_client_;
82 82
83 // Whether IPC is sent. 83 // Whether IPC is sent.
84 bool send_ipc_; 84 bool send_ipc_;
85 85
86 // Field contents.
87 base::string16 user_input_;
Evan Stade 2015/04/27 19:25:21 this should be called pending_query_prefix_ and sh
Pritam Nikam 2015/04/28 14:45:55 Done.
88
86 DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager); 89 DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager);
87 }; 90 };
88 91
89 } // namespace autofill 92 } // namespace autofill
90 93
91 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_ 94 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOCOMPLETE_HISTORY_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698