OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_GROUPED_PERMISSION_INFOBAR_H_ |
| 6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_GROUPED_PERMISSION_INFOBAR_H_ |
| 7 |
| 8 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" |
| 9 |
| 10 class GroupedPermissionInfoBarDelegate; |
| 11 |
| 12 class GroupedPermissionInfoBar : public ConfirmInfoBar { |
| 13 public: |
| 14 explicit GroupedPermissionInfoBar( |
| 15 std::unique_ptr<GroupedPermissionInfoBarDelegate> delegate); |
| 16 ~GroupedPermissionInfoBar() override; |
| 17 |
| 18 static bool Register(JNIEnv* env); |
| 19 |
| 20 private: |
| 21 // InfoBarAndroid: |
| 22 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( |
| 23 JNIEnv* env) override; |
| 24 |
| 25 GroupedPermissionInfoBarDelegate* GetDelegate(); |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(GroupedPermissionInfoBar); |
| 28 }; |
| 29 |
| 30 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_GROUPED_PERMISSION_INFOBAR_H_ |
OLD | NEW |