OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/shell/shell_content_client.h" |
| 6 |
| 7 #include "base/string_piece.h" |
| 8 |
| 9 namespace content { |
| 10 |
| 11 ShellContentClient::~ShellContentClient() { |
| 12 } |
| 13 |
| 14 void ShellContentClient::SetActiveURL(const GURL& url) { |
| 15 } |
| 16 |
| 17 void ShellContentClient::SetGpuInfo(const GPUInfo& gpu_info) { |
| 18 } |
| 19 |
| 20 void ShellContentClient::AddPepperPlugins( |
| 21 std::vector<PepperPluginInfo>* plugins) { |
| 22 } |
| 23 |
| 24 bool ShellContentClient::CanSendWhileSwappedOut(const IPC::Message* msg) { |
| 25 return false; |
| 26 } |
| 27 |
| 28 bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) { |
| 29 return false; |
| 30 } |
| 31 |
| 32 std::string ShellContentClient::GetUserAgent(bool mimic_windows) const { |
| 33 return std::string(); |
| 34 } |
| 35 |
| 36 string16 ShellContentClient::GetLocalizedString(int message_id) const { |
| 37 return string16(); |
| 38 } |
| 39 |
| 40 base::StringPiece ShellContentClient::GetDataResource(int resource_id) const { |
| 41 return base::StringPiece(); |
| 42 } |
| 43 |
| 44 #if defined(OS_WIN) |
| 45 bool ShellContentClient::SandboxPlugin(CommandLine* command_line, |
| 46 sandbox::TargetPolicy* policy) { |
| 47 return false; |
| 48 } |
| 49 #endif |
| 50 |
| 51 } // namespace content |
OLD | NEW |