| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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_ANDROID_INFOBARS_APP_BANNER_INFOBAR_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_H_ |
| 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_H_ |
| 7 | 7 |
| 8 #include "base/android/scoped_java_ref.h" | 8 #include "base/android/scoped_java_ref.h" |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" | 10 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 ~AppBannerInfoBar() override; | 25 ~AppBannerInfoBar() override; |
| 26 | 26 |
| 27 private: | 27 private: |
| 28 // InfoBarAndroid overrides. | 28 // InfoBarAndroid overrides. |
| 29 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( | 29 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( |
| 30 JNIEnv* env) override; | 30 JNIEnv* env) override; |
| 31 | 31 |
| 32 // Web app: URL for the app. | 32 // Web app: URL for the app. |
| 33 GURL app_url_; | 33 GURL app_url_; |
| 34 | 34 |
| 35 // Java delegate for creating AppBannerInfoBars. | 35 base::android::ScopedJavaGlobalRef<jobject> java_infobar_; |
| 36 base::android::ScopedJavaGlobalRef<jobject> java_delegate_; | |
| 37 | 36 |
| 38 DISALLOW_COPY_AND_ASSIGN(AppBannerInfoBar); | 37 DISALLOW_COPY_AND_ASSIGN(AppBannerInfoBar); |
| 39 }; | 38 }; |
| 40 | 39 |
| 41 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_H_ | 40 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_H_ |
| OLD | NEW |