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

Side by Side Diff: chrome/browser/permissions/grouped_permission_infobar_delegate_android.h

Issue 2444253002: Change accept state of PermissionRequestManager from grouped infobar (Closed)
Patch Set: remove unused stuff Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID_H _ 5 #ifndef CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID_H _
6 #define CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID_H _ 6 #define CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID_H _
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const std::vector<PermissionRequest*>& requests); 64 const std::vector<PermissionRequest*>& requests);
65 65
66 // ConfirmInfoBarDelegate: 66 // ConfirmInfoBarDelegate:
67 InfoBarIdentifier GetIdentifier() const override; 67 InfoBarIdentifier GetIdentifier() const override;
68 Type GetInfoBarType() const override; 68 Type GetInfoBarType() const override;
69 int GetButtons() const override; 69 int GetButtons() const override;
70 base::string16 GetButtonLabel(InfoBarButton button) const override; 70 base::string16 GetButtonLabel(InfoBarButton button) const override;
71 71
72 const GURL requesting_origin_; 72 const GURL requesting_origin_;
73 const std::vector<PermissionRequest*> requests_; 73 const std::vector<PermissionRequest*> requests_;
74 std::vector<bool> accept_states_;
75 // Whether the accept/deny decision is persisted. 74 // Whether the accept/deny decision is persisted.
76 bool persist_; 75 bool persist_;
77 PermissionPromptAndroid* permission_prompt_; 76 PermissionPromptAndroid* permission_prompt_;
78 77
79 DISALLOW_COPY_AND_ASSIGN(GroupedPermissionInfoBarDelegate); 78 DISALLOW_COPY_AND_ASSIGN(GroupedPermissionInfoBarDelegate);
80 }; 79 };
81 80
82 #endif // CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROI D_H_ 81 #endif // CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROI D_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/permissions/grouped_permission_infobar_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698