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

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: Rebase to head instead of using lkgr 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
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc » ('j') | 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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 // Returns whether Wallet is the current data source. Exposed for testing. 262 // Returns whether Wallet is the current data source. Exposed for testing.
263 virtual bool IsPayingWithWallet() const; 263 virtual bool IsPayingWithWallet() const;
264 264
265 // Exposed and virtual for testing. 265 // Exposed and virtual for testing.
266 virtual bool IsFirstRun() const; 266 virtual bool IsFirstRun() const;
267 267
268 // Opens the given URL in a new foreground tab. 268 // Opens the given URL in a new foreground tab.
269 virtual void OpenTabWithUrl(const GURL& url); 269 virtual void OpenTabWithUrl(const GURL& url);
270 270
271 // Exposed for testing.
272 const std::map<DialogSection, bool>& section_editing_state() const {
273 return section_editing_state_;
274 }
275
271 private: 276 private:
272 // Whether or not the current request wants credit info back. 277 // Whether or not the current request wants credit info back.
273 bool RequestingCreditCardInfo() const; 278 bool RequestingCreditCardInfo() const;
274 279
275 // Whether the information input in this dialog will be securely transmitted 280 // Whether the information input in this dialog will be securely transmitted
276 // to the requesting site. 281 // to the requesting site.
277 bool TransmissionWillBeSecure() const; 282 bool TransmissionWillBeSecure() const;
278 283
279 // Initializes |suggested_email_| et al. 284 // Initializes |suggested_email_| et al.
280 void SuggestionsUpdated(); 285 void SuggestionsUpdated();
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 587
583 // Whether the latency to display to the UI was logged to UMA yet. 588 // Whether the latency to display to the UI was logged to UMA yet.
584 bool was_ui_latency_logged_; 589 bool was_ui_latency_logged_;
585 590
586 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 591 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
587 }; 592 };
588 593
589 } // namespace autofill 594 } // namespace autofill
590 595
591 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 596 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698