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_CONTAINER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_ |
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/android/jni_helper.h" | 11 #include "base/android/jni_weak_ref.h" |
12 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "components/infobars/core/infobar_container.h" | 15 #include "components/infobars/core/infobar_container.h" |
16 | 16 |
17 class InfoBarAndroid; | 17 class InfoBarAndroid; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class WebContents; | 20 class WebContents; |
21 } | 21 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 JavaObjectWeakGlobalRef weak_java_infobar_container_; | 56 JavaObjectWeakGlobalRef weak_java_infobar_container_; |
57 JavaObjectWeakGlobalRef weak_java_auto_login_delegate_; | 57 JavaObjectWeakGlobalRef weak_java_auto_login_delegate_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerAndroid); | 59 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerAndroid); |
60 }; | 60 }; |
61 | 61 |
62 // Registers the InfoBarContainer's native methods through JNI. | 62 // Registers the InfoBarContainer's native methods through JNI. |
63 bool RegisterInfoBarContainer(JNIEnv* env); | 63 bool RegisterInfoBarContainer(JNIEnv* env); |
64 | 64 |
65 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_ | 65 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_INFOBAR_CONTAINER_ANDROID_H_ |
OLD | NEW |