| Index: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
|
| diff --git a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
|
| index cea66d366d3eab472d9cbb03034f46c7496b5985..544e260573378a01dfa3cc0c34dd5b8148fc9ecb 100644
|
| --- a/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
|
| +++ b/chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h
|
| @@ -44,6 +44,9 @@ class WebContents;
|
| // for enterprise users with DevTools disabled.
|
| NSButton* securityDetailsButton_;
|
|
|
| + // URL of the page for which the bubble is shown.
|
| + GURL url_;
|
| +
|
| // Whether DevTools is disabled for the relevant profile.
|
| BOOL isDevToolsDisabled_;
|
|
|
| @@ -81,19 +84,13 @@ class WebContents;
|
| std::unique_ptr<WebsiteSettingsUIBridge> bridge_;
|
| }
|
|
|
| -enum BubbleType {
|
| - WEB_PAGE, // Bubble for web URLs
|
| - INTERNAL_PAGE, // For chrome: URLs
|
| - EXTENSION_PAGE, // For chrome-extension: URLs
|
| -};
|
| -
|
| // Designated initializer. The controller will release itself when the bubble
|
| // is closed. |parentWindow| cannot be nil. |webContents| may be nil for
|
| // testing purposes.
|
| - (id)initWithParentWindow:(NSWindow*)parentWindow
|
| websiteSettingsUIBridge:(WebsiteSettingsUIBridge*)bridge
|
| webContents:(content::WebContents*)webContents
|
| - bubbleType:(BubbleType)bubbleType
|
| + url:(const GURL&)url
|
| isDevToolsDisabled:(BOOL)isDevToolsDisabled;
|
|
|
| // Return the default width of the window. It may be wider to fit the content.
|
|
|