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

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

Issue 1889643003: Permissions: Add new Infobar to support grouped permission requests on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698