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_CONFIRM_INFOBAR_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_CONFIRM_INFOBAR_H_ |
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_CONFIRM_INFOBAR_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_CONFIRM_INFOBAR_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "chrome/browser/ui/android/infobars/infobar_android.h" | 10 #include "chrome/browser/ui/android/infobars/infobar_android.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 // InfoBarAndroid overrides. | 25 // InfoBarAndroid overrides. |
26 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( | 26 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( |
27 JNIEnv* env) override; | 27 JNIEnv* env) override; |
28 | 28 |
29 private: | 29 private: |
30 void ProcessButton(int action) override; | 30 void ProcessButton(int action) override; |
31 | 31 |
32 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBar); | 32 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBar); |
33 }; | 33 }; |
34 | 34 |
35 // Registers native methods. | |
36 bool RegisterConfirmInfoBar(JNIEnv* env); | |
37 | |
38 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_CONFIRM_INFOBAR_H_ | 35 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_CONFIRM_INFOBAR_H_ |
OLD | NEW |