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

Side by Side Diff: components/autofill/content/browser/content_autofill_driver.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void PingRenderer() override; 52 void PingRenderer() override;
53 void PropagateAutofillPredictions( 53 void PropagateAutofillPredictions(
54 const std::vector<autofill::FormStructure*>& forms) override; 54 const std::vector<autofill::FormStructure*>& forms) override;
55 void SendAutofillTypePredictionsToRenderer( 55 void SendAutofillTypePredictionsToRenderer(
56 const std::vector<FormStructure*>& forms) override; 56 const std::vector<FormStructure*>& forms) override;
57 void RendererShouldAcceptDataListSuggestion( 57 void RendererShouldAcceptDataListSuggestion(
58 const base::string16& value) override; 58 const base::string16& value) override;
59 void RendererShouldClearFilledForm() override; 59 void RendererShouldClearFilledForm() override;
60 void RendererShouldClearPreviewedForm() override; 60 void RendererShouldClearPreviewedForm() override;
61 void RendererShouldFillFieldWithValue(const base::string16& value) override; 61 void RendererShouldFillFieldWithValue(const base::string16& value) override;
62 void RendererShouldPreviewFieldWithValue( 62 void RendererShouldPreviewFieldWithValue(const base::string16& value,
63 const base::string16& value) override; 63 size_t match_start) override;
64 void PopupHidden() override; 64 void PopupHidden() override;
65 65
66 // Handles a message that came from the associated render frame. 66 // Handles a message that came from the associated render frame.
67 bool HandleMessage(const IPC::Message& message); 67 bool HandleMessage(const IPC::Message& message);
68 68
69 // Called when the frame has navigated. 69 // Called when the frame has navigated.
70 void DidNavigateFrame(const content::LoadCommittedDetails& details, 70 void DidNavigateFrame(const content::LoadCommittedDetails& details,
71 const content::FrameNavigateParams& params); 71 const content::FrameNavigateParams& params);
72 72
73 AutofillExternalDelegate* autofill_external_delegate() { 73 AutofillExternalDelegate* autofill_external_delegate() {
(...skipping 24 matching lines...) Expand all
98 // case where the Autofill native UI is enabled. 98 // case where the Autofill native UI is enabled.
99 AutofillExternalDelegate autofill_external_delegate_; 99 AutofillExternalDelegate autofill_external_delegate_;
100 100
101 // Driver for the interactive autocomplete dialog. 101 // Driver for the interactive autocomplete dialog.
102 RequestAutocompleteManager request_autocomplete_manager_; 102 RequestAutocompleteManager request_autocomplete_manager_;
103 }; 103 };
104 104
105 } // namespace autofill 105 } // namespace autofill
106 106
107 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_ 107 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698