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

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

Issue 870203002: Add status to server credit cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add TODO Created 5 years, 10 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 CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 9
10 namespace content { 10 namespace content {
11 class WebContents; 11 class WebContents;
12 } 12 }
13 13
14 namespace autofill { 14 namespace autofill {
15 15
16 class CardUnmaskPromptController { 16 class CardUnmaskPromptController {
17 public: 17 public:
18 // Interaction. 18 // Interaction.
19 virtual void OnUnmaskDialogClosed() = 0; 19 virtual void OnUnmaskDialogClosed() = 0;
20 virtual void OnUnmaskResponse(const base::string16& cvc) = 0; 20 virtual void OnUnmaskResponse(const base::string16& cvc) = 0;
21 21
22 // State. 22 // State.
23 virtual content::WebContents* GetWebContents() = 0; 23 virtual content::WebContents* GetWebContents() = 0;
24 virtual base::string16 GetWindowTitle() const = 0; 24 virtual base::string16 GetWindowTitle() const = 0;
25 virtual base::string16 GetInstructionsMessage() const = 0; 25 virtual base::string16 GetInstructionsMessage() const = 0;
26 virtual int GetCvcImageRid() const = 0; 26 virtual int GetCvcImageRid() const = 0;
27 virtual bool ShouldRequestExpirationDate() const = 0;
27 virtual bool InputTextIsValid(const base::string16& input_text) const = 0; 28 virtual bool InputTextIsValid(const base::string16& input_text) const = 0;
28 }; 29 };
29 30
30 } // namespace autofill 31 } // namespace autofill
31 32
32 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_ 33 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/autofill/card_unmask_prompt_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698