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

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

Issue 2182883002: Permissions: Rename PermissionBubbleView to PermissionPromptInterface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig@ review Created 4 years, 4 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/website_settings/permission_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h b/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h
index d1c90006e3459fe384f725adf38684eda53fbb63..c9a2a58c32caa66f9a5ffe6c95882f9fe5d07ab5 100644
--- a/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.h
@@ -6,7 +6,7 @@
#include "base/mac/scoped_nsobject.h"
#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
-#include "chrome/browser/ui/website_settings/permission_bubble_view.h"
+#include "chrome/browser/ui/website_settings/permission_prompt.h"
#include "ui/base/models/simple_menu_model.h"
@class MenuController;
@@ -21,7 +21,7 @@ class PermissionRequest;
base::scoped_nsobject<NSMutableArray> checkboxes_;
// Delegate to be informed of user actions.
- PermissionBubbleView::Delegate* delegate_; // Weak.
+ PermissionPrompt::Delegate* delegate_; // Weak.
// Used to determine the correct anchor location and parent window.
Browser* browser_; // Weak.
@@ -44,7 +44,7 @@ class PermissionRequest;
// Makes the bubble visible. The bubble will be popuplated with text retrieved
// from |requests|. |delegate| will receive callbacks for user actions.
-- (void)showWithDelegate:(PermissionBubbleView::Delegate*)delegate
+- (void)showWithDelegate:(PermissionPrompt::Delegate*)delegate
forRequests:(const std::vector<PermissionRequest*>&)requests
acceptStates:(const std::vector<bool>&)acceptStates;

Powered by Google App Engine
This is Rietveld 408576698