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

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

Issue 15697010: Autofill:requestAutocomplete: Enable prompting for complete address when instrument being used does… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 7 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 | Annotate | Revision Log
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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 // Returns whether Wallet is the current data source. Exposed for testing. 261 // Returns whether Wallet is the current data source. Exposed for testing.
262 virtual bool IsPayingWithWallet() const; 262 virtual bool IsPayingWithWallet() const;
263 263
264 // Exposed and virtual for testing. 264 // Exposed and virtual for testing.
265 virtual bool IsFirstRun() const; 265 virtual bool IsFirstRun() const;
266 266
267 // Opens the given URL in a new foreground tab. 267 // Opens the given URL in a new foreground tab.
268 virtual void OpenTabWithUrl(const GURL& url); 268 virtual void OpenTabWithUrl(const GURL& url);
269 269
270 // Exposed for testing.
271 const std::map<DialogSection, bool>& section_editing_state() const {
272 return section_editing_state_;
273 }
274
270 private: 275 private:
271 // Whether or not the current request wants credit info back. 276 // Whether or not the current request wants credit info back.
272 bool RequestingCreditCardInfo() const; 277 bool RequestingCreditCardInfo() const;
273 278
274 // Whether the information input in this dialog will be securely transmitted 279 // Whether the information input in this dialog will be securely transmitted
275 // to the requesting site. 280 // to the requesting site.
276 bool TransmissionWillBeSecure() const; 281 bool TransmissionWillBeSecure() const;
277 282
278 // Initializes |suggested_email_| et al. 283 // Initializes |suggested_email_| et al.
279 void SuggestionsUpdated(); 284 void SuggestionsUpdated();
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 591
587 // Whether the latency to display to the UI was logged to UMA yet. 592 // Whether the latency to display to the UI was logged to UMA yet.
588 bool was_ui_latency_logged_; 593 bool was_ui_latency_logged_;
589 594
590 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 595 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
591 }; 596 };
592 597
593 } // namespace autofill 598 } // namespace autofill
594 599
595 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 600 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698