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

Unified Diff: chrome/browser/ui/cocoa/permission_bubble/permission_bubble_controller.h

Issue 2868783002: Move requests from Show() argument to PermissionPrompt::Delegate (Closed)
Patch Set: tweak comment Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/permission_bubble/permission_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/permission_bubble/permission_bubble_controller.h b/chrome/browser/ui/cocoa/permission_bubble/permission_bubble_controller.h
index 18bc0ef4ab165e7c9a27507e1e72033d5bc3db6b..c12423b3b861514e87325deaaff3147ea3dcd012 100644
--- a/chrome/browser/ui/cocoa/permission_bubble/permission_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/permission_bubble/permission_bubble_controller.h
@@ -16,7 +16,6 @@ class Browser;
class LocationBarDecoration;
@class MenuController;
class PermissionBubbleCocoa;
-class PermissionRequest;
@interface PermissionBubbleController
: BaseBubbleController<NSTextViewDelegate> {
@@ -54,10 +53,8 @@ class PermissionRequest;
+ (bool)hasVisibleLocationBarForBrowser:(Browser*)browser;
// Makes the bubble visible. The bubble will be populated with text retrieved
-// from |requests|. |delegate| will receive callbacks for user actions.
-- (void)showWithDelegate:(PermissionPrompt::Delegate*)delegate
- forRequests:(const std::vector<PermissionRequest*>&)requests
- acceptStates:(const std::vector<bool>&)acceptStates;
+// from |delegate|, which will also receive callbacks for user actions.
+- (void)showWithDelegate:(PermissionPrompt::Delegate*)delegate;
// Will reposition the bubble based in case the anchor or parent should change.
- (void)updateAnchorPosition;

Powered by Google App Engine
This is Rietveld 408576698