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

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

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 months 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
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_ANDROID_H_ 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_ANDROID_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_ANDROID_H_ 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_ANDROID_H_
7 7
8 #include "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" 10 #include "chrome/browser/ui/android/infobars/confirm_infobar.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 base::android::ScopedJavaGlobalRef<jobject> japp_data_; 43 base::android::ScopedJavaGlobalRef<jobject> japp_data_;
44 44
45 // Web app: URL for the app. 45 // Web app: URL for the app.
46 GURL app_url_; 46 GURL app_url_;
47 47
48 base::android::ScopedJavaGlobalRef<jobject> java_infobar_; 48 base::android::ScopedJavaGlobalRef<jobject> java_infobar_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(AppBannerInfoBarAndroid); 50 DISALLOW_COPY_AND_ASSIGN(AppBannerInfoBarAndroid);
51 }; 51 };
52 52
53 // Register native methods.
54 bool RegisterAppBannerInfoBarAndroid(JNIEnv* env);
55
56 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_ANDROID_H_ 53 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_APP_BANNER_INFOBAR_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698