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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 990303002: Implement PermissionService::GetNextPermissionChange. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_impl
Patch Set: review comments Created 5 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "content/public/browser/client_certificate_delegate.h" 8 #include "content/public/browser/client_certificate_delegate.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 } 234 }
235 235
236 PermissionStatus ContentBrowserClient::GetPermissionStatus( 236 PermissionStatus ContentBrowserClient::GetPermissionStatus(
237 PermissionType permission, 237 PermissionType permission,
238 BrowserContext* browser_context, 238 BrowserContext* browser_context,
239 const GURL& requesting_origin, 239 const GURL& requesting_origin,
240 const GURL& embedding_origin) { 240 const GURL& embedding_origin) {
241 return PERMISSION_STATUS_DENIED; 241 return PERMISSION_STATUS_DENIED;
242 } 242 }
243 243
244 int ContentBrowserClient::SubscribePermissionStatusChange(
245 PermissionType permission,
246 BrowserContext* browser_context,
247 const GURL& requesting_origin,
248 const GURL& embedding_origin,
249 const base::Callback<void(PermissionStatus)>& callback) {
250 return 0;
251 }
252
244 bool ContentBrowserClient::CanCreateWindow( 253 bool ContentBrowserClient::CanCreateWindow(
245 const GURL& opener_url, 254 const GURL& opener_url,
246 const GURL& opener_top_level_frame_url, 255 const GURL& opener_top_level_frame_url,
247 const GURL& source_origin, 256 const GURL& source_origin,
248 WindowContainerType container_type, 257 WindowContainerType container_type,
249 const GURL& target_url, 258 const GURL& target_url,
250 const Referrer& referrer, 259 const Referrer& referrer,
251 WindowOpenDisposition disposition, 260 WindowOpenDisposition disposition,
252 const blink::WebWindowFeatures& features, 261 const blink::WebWindowFeatures& features,
253 bool user_gesture, 262 bool user_gesture,
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 369
361 #if defined(VIDEO_HOLE) 370 #if defined(VIDEO_HOLE)
362 ExternalVideoSurfaceContainer* 371 ExternalVideoSurfaceContainer*
363 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 372 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
364 WebContents* web_contents) { 373 WebContents* web_contents) {
365 return nullptr; 374 return nullptr;
366 } 375 }
367 #endif 376 #endif
368 377
369 } // namespace content 378 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698