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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SetIdentityInfo(const IdentityInfo& identity_info) override; | 143 void SetIdentityInfo(const IdentityInfo& identity_info) override; |
144 void SetSelectedTab(TabId tab_id) override; | |
145 | 144 |
146 private: | 145 private: |
147 // The WebContents the bubble UI is attached to. | 146 // The WebContents the bubble UI is attached to. |
148 content::WebContents* web_contents_; | 147 content::WebContents* web_contents_; |
149 | 148 |
150 // The Cocoa controller for the bubble UI. | 149 // The Cocoa controller for the bubble UI. |
151 WebsiteSettingsBubbleController* bubble_controller_; | 150 WebsiteSettingsBubbleController* bubble_controller_; |
152 | 151 |
153 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); | 152 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); |
154 }; | 153 }; |
OLD | NEW |