| 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 #ifndef CHROME_BROWSER_UI_COCOA_PAGE_INFO_PAGE_INFO_BUBBLE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PAGE_INFO_PAGE_INFO_BUBBLE_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PAGE_INFO_PAGE_INFO_BUBBLE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PAGE_INFO_PAGE_INFO_BUBBLE_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 // WebContentsObserver implementation. | 147 // WebContentsObserver implementation. |
| 148 void RenderFrameDeleted(content::RenderFrameHost* render_frame_host) override; | 148 void RenderFrameDeleted(content::RenderFrameHost* render_frame_host) override; |
| 149 | 149 |
| 150 // PageInfoUI implementations. | 150 // PageInfoUI implementations. |
| 151 void SetCookieInfo(const CookieInfoList& cookie_info_list) override; | 151 void SetCookieInfo(const CookieInfoList& cookie_info_list) override; |
| 152 void SetPermissionInfo(const PermissionInfoList& permission_info_list, | 152 void SetPermissionInfo(const PermissionInfoList& permission_info_list, |
| 153 ChosenObjectInfoList chosen_object_info_list) override; | 153 ChosenObjectInfoList chosen_object_info_list) override; |
| 154 void SetIdentityInfo(const IdentityInfo& identity_info) override; | 154 void SetIdentityInfo(const IdentityInfo& identity_info) override; |
| 155 | 155 |
| 156 protected: |
| 157 // WebContentsObserver implementation. |
| 158 void DidFinishNavigation( |
| 159 content::NavigationHandle* navigation_handle) override; |
| 160 |
| 156 private: | 161 private: |
| 157 // The WebContents the bubble UI is attached to. | 162 // The WebContents the bubble UI is attached to. |
| 158 content::WebContents* web_contents_; | 163 content::WebContents* web_contents_; |
| 159 | 164 |
| 160 // The Cocoa controller for the bubble UI. | 165 // The Cocoa controller for the bubble UI. |
| 161 PageInfoBubbleController* bubble_controller_; | 166 PageInfoBubbleController* bubble_controller_; |
| 162 | 167 |
| 163 DISALLOW_COPY_AND_ASSIGN(PageInfoUIBridge); | 168 DISALLOW_COPY_AND_ASSIGN(PageInfoUIBridge); |
| 164 }; | 169 }; |
| 165 | 170 |
| 166 #endif // CHROME_BROWSER_UI_COCOA_PAGE_INFO_PAGE_INFO_BUBBLE_CONTROLLER_H_ | 171 #endif // CHROME_BROWSER_UI_COCOA_PAGE_INFO_PAGE_INFO_BUBBLE_CONTROLLER_H_ |
| OLD | NEW |