OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_INFOBAR_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ |
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/android/jni_helper.h" | 10 #include "base/android/jni_weak_ref.h" |
11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "components/infobars/core/infobar.h" | 14 #include "components/infobars/core/infobar.h" |
15 | 15 |
16 class InfoBarService; | 16 class InfoBarService; |
17 | 17 |
18 namespace infobars { | 18 namespace infobars { |
19 class InfoBarDelegate; | 19 class InfoBarDelegate; |
20 } | 20 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 private: | 75 private: |
76 base::android::ScopedJavaGlobalRef<jobject> java_info_bar_; | 76 base::android::ScopedJavaGlobalRef<jobject> java_info_bar_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(InfoBarAndroid); | 78 DISALLOW_COPY_AND_ASSIGN(InfoBarAndroid); |
79 }; | 79 }; |
80 | 80 |
81 // Registers the NativeInfoBar's native methods through JNI. | 81 // Registers the NativeInfoBar's native methods through JNI. |
82 bool RegisterNativeInfoBar(JNIEnv* env); | 82 bool RegisterNativeInfoBar(JNIEnv* env); |
83 | 83 |
84 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ | 84 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_ANDROID_H_ |
OLD | NEW |