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

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

Issue 650293002: Add test for requestAutocomplete and readonly attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ('k') | no next file » | 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 virtual bool IsSignInContinueUrl(const GURL& url, size_t* user_index) const; 325 virtual bool IsSignInContinueUrl(const GURL& url, size_t* user_index) const;
326 326
327 // Whether the user is known to be signed in. 327 // Whether the user is known to be signed in.
328 DialogSignedInState SignedInState() const; 328 DialogSignedInState SignedInState() const;
329 329
330 private: 330 private:
331 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerI18nTest, 331 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerI18nTest,
332 CorrectCountryFromInputs); 332 CorrectCountryFromInputs);
333 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest, 333 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
334 TransactionAmount); 334 TransactionAmount);
335 FRIEND_TEST_ALL_PREFIXES(AutofillDialogControllerTest,
336 TransactionAmountReadonly);
335 337
336 // Initializes or updates |suggested_cc_| et al. 338 // Initializes or updates |suggested_cc_| et al.
337 void SuggestionsUpdated(); 339 void SuggestionsUpdated();
338 340
339 // Starts fetching the wallet items from Online Wallet. 341 // Starts fetching the wallet items from Online Wallet.
340 void GetWalletItems(); 342 void GetWalletItems();
341 343
342 // Stop showing sign in flow. 344 // Stop showing sign in flow.
343 void HideSignIn(); 345 void HideSignIn();
344 346
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 base::string16 submitted_cardholder_name_; 852 base::string16 submitted_cardholder_name_;
851 853
852 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_; 854 base::WeakPtrFactory<AutofillDialogControllerImpl> weak_ptr_factory_;
853 855
854 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 856 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
855 }; 857 };
856 858
857 } // namespace autofill 859 } // namespace autofill
858 860
859 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 861 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698