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

Side by Side Diff: components/password_manager/content/browser/content_password_manager_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, 6 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_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/autofill/core/common/password_form_field_prediction_map.h" 10 #include "components/autofill/core/common/password_form_field_prediction_map.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void AccountCreationFormsFound( 52 void AccountCreationFormsFound(
53 const std::vector<autofill::FormData>& forms) override; 53 const std::vector<autofill::FormData>& forms) override;
54 void AutofillDataReceived( 54 void AutofillDataReceived(
55 const std::map<autofill::FormData, 55 const std::map<autofill::FormData,
56 autofill::PasswordFormFieldPredictionMap>& predictions) 56 autofill::PasswordFormFieldPredictionMap>& predictions)
57 override; 57 override;
58 void GeneratedPasswordAccepted(const base::string16& password) override; 58 void GeneratedPasswordAccepted(const base::string16& password) override;
59 void FillSuggestion(const base::string16& username, 59 void FillSuggestion(const base::string16& username,
60 const base::string16& password) override; 60 const base::string16& password) override;
61 void PreviewSuggestion(const base::string16& username, 61 void PreviewSuggestion(const base::string16& username,
62 const base::string16& password) override; 62 const base::string16& password,
63 size_t match_start) override;
63 void ClearPreviewedForm() override; 64 void ClearPreviewedForm() override;
64 void ForceSavePassword() override; 65 void ForceSavePassword() override;
65 66
66 PasswordGenerationManager* GetPasswordGenerationManager() override; 67 PasswordGenerationManager* GetPasswordGenerationManager() override;
67 PasswordManager* GetPasswordManager() override; 68 PasswordManager* GetPasswordManager() override;
68 PasswordAutofillManager* GetPasswordAutofillManager() override; 69 PasswordAutofillManager* GetPasswordAutofillManager() override;
69 70
70 bool HandleMessage(const IPC::Message& message); 71 bool HandleMessage(const IPC::Message& message);
71 void DidNavigateFrame(const content::LoadCommittedDetails& details, 72 void DidNavigateFrame(const content::LoadCommittedDetails& details,
72 const content::FrameNavigateParams& params); 73 const content::FrameNavigateParams& params);
(...skipping 19 matching lines...) Expand all
92 // the latter two classes can reference to the same instance without sending 93 // the latter two classes can reference to the same instance without sending
93 // it to each other over IPC. The counter below is used to generate new IDs. 94 // it to each other over IPC. The counter below is used to generate new IDs.
94 int next_free_key_; 95 int next_free_key_;
95 96
96 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); 97 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
97 }; 98 };
98 99
99 } // namespace password_manager 100 } // namespace password_manager
100 101
101 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_ 102 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698