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

Side by Side Diff: chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h

Issue 2702923002: Page Info: Hide default permissions with a value of Ask if the default is Ask. (Closed)
Patch Set: Fix #ifdef to allow testing MacViews. Created 3 years, 10 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
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 #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
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 };
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698