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

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

Issue 2397743002: Ditch first run experience from Save Password Infobar (Closed)
Patch Set: get rid of unused web_contents_ Created 4 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/android/infobars/save_password_infobar.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SAVE_PASSWORD_INFOBAR_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_SAVE_PASSWORD_INFOBAR_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/password_manager/save_password_infobar_delegate_android .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 SavePasswordInfoBar : public ConfirmInfoBar {
15 public:
16 explicit SavePasswordInfoBar(
17 std::unique_ptr<SavePasswordInfoBarDelegate> delegate);
18
19 ~SavePasswordInfoBar() override;
20
21 private:
22 // ConfirmInfoBar:
23 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
24 JNIEnv* env) override;
25 void OnLinkClicked(JNIEnv* env,
26 const base::android::JavaParamRef<jobject>& obj) override;
27
28 DISALLOW_COPY_AND_ASSIGN(SavePasswordInfoBar);
29 };
30
31
32 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_SAVE_PASSWORD_INFOBAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/android/infobars/save_password_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698