| 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/shell/shell_content_client.h" | 5 #include "content/shell/shell_content_client.h" |
| 6 | 6 |
| 7 #include "base/string_piece.h" | 7 #include "base/string_piece.h" |
| 8 #include "ui/base/resource/resource_bundle.h" | 8 #include "ui/base/resource/resource_bundle.h" |
| 9 #include "webkit/glue/user_agent.h" | 9 #include "webkit/glue/user_agent.h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 | 12 |
| 13 ShellContentClient::~ShellContentClient() { | 13 ShellContentClient::~ShellContentClient() { |
| 14 } | 14 } |
| 15 | 15 |
| 16 void ShellContentClient::SetActiveURL(const GURL& url) { | 16 void ShellContentClient::SetActiveURL(const GURL& url) { |
| 17 } | 17 } |
| 18 | 18 |
| 19 void ShellContentClient::SetGpuInfo(const GPUInfo& gpu_info) { | 19 void ShellContentClient::SetGpuInfo(const GPUInfo& gpu_info) { |
| 20 } | 20 } |
| 21 | 21 |
| 22 void ShellContentClient::AddPepperPlugins( | 22 void ShellContentClient::AddPepperPlugins( |
| 23 std::vector<content::PepperPluginInfo>* plugins) { | 23 std::vector<content::PepperPluginInfo>* plugins) { |
| 24 } | 24 } |
| 25 | 25 |
| 26 void ShellContentClient::AddNPAPIPlugins( | 26 void ShellContentClient::AddNPAPIPlugins( |
| 27 webkit::npapi::PluginList* plugin_list) { | 27 webkit::npapi::PluginList* plugin_list) { |
| 28 } | 28 } |
| 29 | 29 |
| 30 void ShellContentClient::AddAdditionalSchemes( |
| 31 std::vector<std::string>* standard_schemes, |
| 32 std::vector<std::string>* savable_schemes) { |
| 33 } |
| 34 |
| 30 bool ShellContentClient::HasWebUIScheme(const GURL& url) const { | 35 bool ShellContentClient::HasWebUIScheme(const GURL& url) const { |
| 31 // There are no WebUI URLs in content_shell. | 36 // There are no WebUI URLs in content_shell. |
| 32 return false; | 37 return false; |
| 33 } | 38 } |
| 34 | 39 |
| 35 bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) { | 40 bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) { |
| 36 return false; | 41 return false; |
| 37 } | 42 } |
| 38 | 43 |
| 39 std::string ShellContentClient::GetUserAgent() const { | 44 std::string ShellContentClient::GetUserAgent() const { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 60 | 65 |
| 61 #if defined(OS_MACOSX) | 66 #if defined(OS_MACOSX) |
| 62 bool ShellContentClient::GetSandboxProfileForSandboxType( | 67 bool ShellContentClient::GetSandboxProfileForSandboxType( |
| 63 int sandbox_type, | 68 int sandbox_type, |
| 64 int* sandbox_profile_resource_id) const { | 69 int* sandbox_profile_resource_id) const { |
| 65 return false; | 70 return false; |
| 66 } | 71 } |
| 67 #endif | 72 #endif |
| 68 | 73 |
| 69 } // namespace content | 74 } // namespace content |
| OLD | NEW |