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

Side by Side Diff: content/public/common/content_client.cc

Issue 10662041: mac: Remove nav.pdf in favor of IDR_DEFAULT_FAVICON. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deps Created 8 years, 5 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/common/content_client.h" 5 #include "content/public/common/content_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_piece.h" 8 #include "base/string_piece.h"
9 #include "ui/gfx/image/image.h"
9 #include "webkit/glue/webkit_glue.h" 10 #include "webkit/glue/webkit_glue.h"
10 #include "webkit/plugins/ppapi/host_globals.h" 11 #include "webkit/plugins/ppapi/host_globals.h"
11 12
12 namespace content { 13 namespace content {
13 14
14 static ContentClient* g_client; 15 static ContentClient* g_client;
15 16
16 void SetContentClient(ContentClient* client) { 17 void SetContentClient(ContentClient* client) {
17 g_client = client; 18 g_client = client;
18 19
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 string16 ContentClient::GetLocalizedString(int message_id) const { 60 string16 ContentClient::GetLocalizedString(int message_id) const {
60 return string16(); 61 return string16();
61 } 62 }
62 63
63 base::StringPiece ContentClient::GetDataResource( 64 base::StringPiece ContentClient::GetDataResource(
64 int resource_id, 65 int resource_id,
65 ui::ScaleFactor scale_factor) const { 66 ui::ScaleFactor scale_factor) const {
66 return base::StringPiece(); 67 return base::StringPiece();
67 } 68 }
68 69
70 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const {
71 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ());
72 return kEmptyImage;
73 }
74
69 #if defined(OS_WIN) 75 #if defined(OS_WIN)
70 bool ContentClient::SandboxPlugin(CommandLine* command_line, 76 bool ContentClient::SandboxPlugin(CommandLine* command_line,
71 sandbox::TargetPolicy* policy) { 77 sandbox::TargetPolicy* policy) {
72 return false; 78 return false;
73 } 79 }
74 #endif 80 #endif
75 81
76 #if defined(OS_MACOSX) 82 #if defined(OS_MACOSX)
77 bool ContentClient::GetSandboxProfileForSandboxType( 83 bool ContentClient::GetSandboxProfileForSandboxType(
78 int sandbox_type, 84 int sandbox_type,
79 int* sandbox_profile_resource_id) const { 85 int* sandbox_profile_resource_id) const {
80 return false; 86 return false;
81 } 87 }
82 #endif 88 #endif
83 89
84 } // namespace content 90 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | ui/resources/default_200_percent/default_favicon.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698