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

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

Issue 871443004: Expose the visibility state of a frame to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rfh_isfocused
Patch Set: remove from RFH Created 5 years, 11 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 "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 BrowserContext* browser_context, 322 BrowserContext* browser_context,
323 const GURL& url) { 323 const GURL& url) {
324 return false; 324 return false;
325 } 325 }
326 326
327 net::CookieStore* ContentBrowserClient::OverrideCookieStoreForRenderProcess( 327 net::CookieStore* ContentBrowserClient::OverrideCookieStoreForRenderProcess(
328 int render_process_id) { 328 int render_process_id) {
329 return nullptr; 329 return nullptr;
330 } 330 }
331 331
332 bool ContentBrowserClient::IsPrerendering(RenderFrameHost* render_frame_host) {
333 return false;
334 }
335
332 bool ContentBrowserClient::CheckMediaAccessPermission( 336 bool ContentBrowserClient::CheckMediaAccessPermission(
333 BrowserContext* browser_context, 337 BrowserContext* browser_context,
334 const GURL& security_origin, 338 const GURL& security_origin,
335 MediaStreamType type) { 339 MediaStreamType type) {
336 return false; 340 return false;
337 } 341 }
338 342
339 #if defined(OS_WIN) 343 #if defined(OS_WIN)
340 const wchar_t* ContentBrowserClient::GetResourceDllName() { 344 const wchar_t* ContentBrowserClient::GetResourceDllName() {
341 return nullptr; 345 return nullptr;
342 } 346 }
343 #endif 347 #endif
344 348
345 #if defined(VIDEO_HOLE) 349 #if defined(VIDEO_HOLE)
346 ExternalVideoSurfaceContainer* 350 ExternalVideoSurfaceContainer*
347 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 351 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
348 WebContents* web_contents) { 352 WebContents* web_contents) {
349 return nullptr; 353 return nullptr;
350 } 354 }
351 #endif 355 #endif
352 356
353 } // namespace content 357 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698