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

Side by Side Diff: chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h

Issue 756333003: Prompt for unmasking Wallet credit card on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile post-merge Created 6 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_
7
8 #include <jni.h>
9
10 #include "base/android/jni_string.h"
11 #include "base/android/scoped_java_ref.h"
12 #include "base/strings/string16.h"
13 #include "chrome/browser/ui/autofill/card_unmask_prompt_view.h"
14
15 namespace content {
16 class WebContents;
17 }
18
19 namespace autofill {
20
21 class CardUnmaskPromptViewAndroid : public CardUnmaskPromptView {
22 public:
23 CardUnmaskPromptViewAndroid(content::WebContents* web_contents,
24 const UnmaskCallback& finished);
25
26 void Show();
27
28 void PromptDismissed(JNIEnv* env, jobject obj, jstring response);
29
30 static bool Register(JNIEnv* env);
31
32 private:
33 virtual ~CardUnmaskPromptViewAndroid();
34
35 // The corresponding java object.
36 base::android::ScopedJavaGlobalRef<jobject> java_object_;
37
38 content::WebContents* web_contents_;
39 UnmaskCallback finished_;
40 base::string16 response_;
41
42 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViewAndroid);
43 };
44
45 } // namespace autofill
46
47 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698