| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/mac/scoped_nsobject.h" | 9 #include "base/mac/scoped_nsobject.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 void set_bubble_controller( | 133 void set_bubble_controller( |
| 134 WebsiteSettingsBubbleController* bubble_controller); | 134 WebsiteSettingsBubbleController* bubble_controller); |
| 135 | 135 |
| 136 // WebContentsObserver implementation. | 136 // WebContentsObserver implementation. |
| 137 void RenderFrameDeleted(content::RenderFrameHost* render_frame_host) override; | 137 void RenderFrameDeleted(content::RenderFrameHost* render_frame_host) override; |
| 138 | 138 |
| 139 // WebsiteSettingsUI implementations. | 139 // WebsiteSettingsUI implementations. |
| 140 void SetCookieInfo(const CookieInfoList& cookie_info_list) override; | 140 void SetCookieInfo(const CookieInfoList& cookie_info_list) override; |
| 141 void SetPermissionInfo(const PermissionInfoList& permission_info_list, | 141 void SetPermissionInfo(const PermissionInfoList& permission_info_list, |
| 142 ChosenObjectInfoList chosen_object_info_list) override; | 142 ChosenObjectInfoList chosen_object_info_list) override; |
| 143 void UpdatePermissionButton( |
| 144 WebsiteSettingsUI::VisiblePermissions visible_permissions) override; |
| 143 void SetIdentityInfo(const IdentityInfo& identity_info) override; | 145 void SetIdentityInfo(const IdentityInfo& identity_info) override; |
| 144 | 146 |
| 145 private: | 147 private: |
| 146 // The WebContents the bubble UI is attached to. | 148 // The WebContents the bubble UI is attached to. |
| 147 content::WebContents* web_contents_; | 149 content::WebContents* web_contents_; |
| 148 | 150 |
| 149 // The Cocoa controller for the bubble UI. | 151 // The Cocoa controller for the bubble UI. |
| 150 WebsiteSettingsBubbleController* bubble_controller_; | 152 WebsiteSettingsBubbleController* bubble_controller_; |
| 151 | 153 |
| 152 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); | 154 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); |
| 153 }; | 155 }; |
| OLD | NEW |