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

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

Issue 489763002: MacViews: Gets a webview working in views_examples_with_content_exe Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to master Created 6 years, 3 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 | Annotate | Revision Log
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
11 namespace content { 11 namespace content {
12 12
13 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( 13 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts(
14 const MainFunctionParams& parameters) { 14 const MainFunctionParams& parameters) {
15 return NULL; 15 return NULL;
16 } 16 }
17 17
18 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( 18 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate(
19 WebContents* web_contents) { 19 WebContents* web_contents,
20 gfx::NativeView context) {
20 return NULL; 21 return NULL;
21 } 22 }
22 23
23 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, 24 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context,
24 const GURL& url) { 25 const GURL& url) {
25 return url; 26 return url;
26 } 27 }
27 28
28 bool ContentBrowserClient::ShouldUseProcessPerSite( 29 bool ContentBrowserClient::ShouldUseProcessPerSite(
29 BrowserContext* browser_context, const GURL& effective_url) { 30 BrowserContext* browser_context, const GURL& effective_url) {
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 340
340 #if defined(VIDEO_HOLE) 341 #if defined(VIDEO_HOLE)
341 ExternalVideoSurfaceContainer* 342 ExternalVideoSurfaceContainer*
342 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 343 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
343 WebContents* web_contents) { 344 WebContents* web_contents) {
344 return NULL; 345 return NULL;
345 } 346 }
346 #endif 347 #endif
347 348
348 } // namespace content 349 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/web_contents_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698