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

Side by Side Diff: chrome/browser/ui/android/autofill/instrument_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: merge conflicts 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_INSTRUMENT_UNMASK_PROMPT_VIEW_ANDROID _H_
6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_INSTRUMENT_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 "chrome/browser/ui/autofill/instrument_unmask_prompt_view.h"
13
14 namespace content {
15 class WebContents;
16 }
17
18 namespace autofill {
19
20 class InstrumentUnmaskPromptViewAndroid : public InstrumentUnmaskPromptView {
21 public:
22 InstrumentUnmaskPromptViewAndroid(content::WebContents* web_contents,
23 const UnmaskCallback& finished);
24
25 virtual ~InstrumentUnmaskPromptViewAndroid();
26
27 void Show();
28
29 void PromptDismissed(JNIEnv* env, jobject obj, jstring response);
30
31 static bool Register(JNIEnv* env);
32
33 private:
34 // The corresponding java object.
35 base::android::ScopedJavaGlobalRef<jobject> java_object_;
36
37 content::WebContents* web_contents_;
38 UnmaskCallback finished_;
39
40 DISALLOW_COPY_AND_ASSIGN(InstrumentUnmaskPromptViewAndroid);
41 };
42
43 } // namespace autofill
44
45 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_INSTRUMENT_UNMASK_PROMPT_VIEW_ANDR OID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698