| OLD | NEW |
| 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/strings/string_piece.h" | 8 #include "base/strings/string_piece.h" |
| 9 #include "content/public/common/user_agent.h" | 9 #include "content/public/common/user_agent.h" |
| 10 #include "ui/gfx/image/image.h" | 10 #include "ui/gfx/image/image.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 int resource_id, | 86 int resource_id, |
| 87 ui::ScaleFactor scale_factor) const { | 87 ui::ScaleFactor scale_factor) const { |
| 88 return base::StringPiece(); | 88 return base::StringPiece(); |
| 89 } | 89 } |
| 90 | 90 |
| 91 base::RefCountedStaticMemory* ContentClient::GetDataResourceBytes( | 91 base::RefCountedStaticMemory* ContentClient::GetDataResourceBytes( |
| 92 int resource_id) const { | 92 int resource_id) const { |
| 93 return NULL; | 93 return NULL; |
| 94 } | 94 } |
| 95 | 95 |
| 96 WebUITextStyles ContentClient::GetWebUITextStyles() const { |
| 97 return WebUITextStyles(); |
| 98 } |
| 99 |
| 96 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { | 100 gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { |
| 97 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); | 101 CR_DEFINE_STATIC_LOCAL(gfx::Image, kEmptyImage, ()); |
| 98 return kEmptyImage; | 102 return kEmptyImage; |
| 99 } | 103 } |
| 100 | 104 |
| 101 std::string ContentClient::GetProcessTypeNameInEnglish(int type) { | 105 std::string ContentClient::GetProcessTypeNameInEnglish(int type) { |
| 102 NOTIMPLEMENTED(); | 106 NOTIMPLEMENTED(); |
| 103 return std::string(); | 107 return std::string(); |
| 104 } | 108 } |
| 105 | 109 |
| 106 #if defined(OS_MACOSX) && !defined(OS_IOS) | 110 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 107 bool ContentClient::GetSandboxProfileForSandboxType( | 111 bool ContentClient::GetSandboxProfileForSandboxType( |
| 108 int sandbox_type, | 112 int sandbox_type, |
| 109 int* sandbox_profile_resource_id) const { | 113 int* sandbox_profile_resource_id) const { |
| 110 return false; | 114 return false; |
| 111 } | 115 } |
| 112 #endif | 116 #endif |
| 113 | 117 |
| 114 } // namespace content | 118 } // namespace content |
| OLD | NEW |