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

Side by Side Diff: chrome/browser/ui/android/infobars/auto_signin_first_run_infobar.h

Issue 1379153003: [Smart Lock, UI] First run expience for Auto sign-in prompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 2015 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_INFOBARS_AUTO_SIGNIN_FIRST_RUN_INFOBAR_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_SIGNIN_FIRST_RUN_INFOBAR_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/password_manager/auto_signin_first_run_infobar_delegate .h"
10 #include "chrome/browser/ui/android/infobars/confirm_infobar.h"
11
12 // The Android infobar that offers the user the ability to save a password
13 // for the site.
14 class AutoSigninFirstRunInfobar : public ConfirmInfoBar {
gone 2015/11/03 18:39:00 Change to AutoSigninFirstRunInfoBar; for some reas
melandory 2015/11/03 21:43:28 Done.
15 public:
16 explicit AutoSigninFirstRunInfobar(
17 scoped_ptr<AutoSigninFirstRunInfobarDelegate> delegate);
18
19 ~AutoSigninFirstRunInfobar() override;
20
21 static bool Register(JNIEnv* env);
22
23 private:
24 // ConfirmInfoBar:
25 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
26 JNIEnv* env) override;
27 void OnLinkClicked(JNIEnv* env, jobject obj) override;
28
29 DISALLOW_COPY_AND_ASSIGN(AutoSigninFirstRunInfobar);
30 };
31
32 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_AUTO_SIGNIN_FIRST_RUN_INFOBAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698