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

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

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 "chrome/browser/ui/cocoa/website_settings/website_settings_bubble_contro ller.h" 5 #import "chrome/browser/ui/cocoa/website_settings/website_settings_bubble_contro ller.h"
6 6
7 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
8 8
9 #include <cmath> 9 #include <cmath>
10 10
(...skipping 1198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 const CookieInfoList& cookie_info_list) { 1209 const CookieInfoList& cookie_info_list) {
1210 [bubble_controller_ setCookieInfo:cookie_info_list]; 1210 [bubble_controller_ setCookieInfo:cookie_info_list];
1211 } 1211 }
1212 1212
1213 void WebsiteSettingsUIBridge::SetPermissionInfo( 1213 void WebsiteSettingsUIBridge::SetPermissionInfo(
1214 const PermissionInfoList& permission_info_list, 1214 const PermissionInfoList& permission_info_list,
1215 ChosenObjectInfoList chosen_object_info_list) { 1215 ChosenObjectInfoList chosen_object_info_list) {
1216 [bubble_controller_ setPermissionInfo:permission_info_list 1216 [bubble_controller_ setPermissionInfo:permission_info_list
1217 andChosenObjects:std::move(chosen_object_info_list)]; 1217 andChosenObjects:std::move(chosen_object_info_list)];
1218 } 1218 }
1219
1220 void WebsiteSettingsUIBridge::UpdatePermissionButton(
1221 WebsiteSettingsUI::VisiblePermissions visible_permissions) {
1222 // TODO(crbug.com/657267)
1223 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698