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

Side by Side Diff: chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.h

Issue 2921693002: [Mac] Hide the page info when navigating (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/page_info/page_info_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698