Fixed service side implementation of glTexStorage2DEXT to only initialize the number of
[chromium-blink-merge.git] / content / shell / shell_content_client.cc
blobfc6da530ffc8a8d26ad2190305cad0abf2c60f23
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.
5 #include "content/shell/shell_content_client.h"
7 #include "base/string_piece.h"
8 #include "webkit/glue/user_agent.h"
10 namespace content {
12 ShellContentClient::~ShellContentClient() {
15 void ShellContentClient::SetActiveURL(const GURL& url) {
18 void ShellContentClient::SetGpuInfo(const GPUInfo& gpu_info) {
21 void ShellContentClient::AddPepperPlugins(
22 std::vector<content::PepperPluginInfo>* plugins) {
25 void ShellContentClient::AddNPAPIPlugins(
26 webkit::npapi::PluginList* plugin_list) {
29 bool ShellContentClient::CanSendWhileSwappedOut(const IPC::Message* msg) {
30 return false;
33 bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
34 return false;
37 std::string ShellContentClient::GetUserAgent(bool* overriding) const {
38 *overriding = false;
39 return std::string("Chrome/15.16.17.18");
42 string16 ShellContentClient::GetLocalizedString(int message_id) const {
43 return string16();
46 base::StringPiece ShellContentClient::GetDataResource(int resource_id) const {
47 return base::StringPiece();
50 #if defined(OS_WIN)
51 bool ShellContentClient::SandboxPlugin(CommandLine* command_line,
52 sandbox::TargetPolicy* policy) {
53 return false;
55 #endif
57 #if defined(OS_MACOSX)
58 bool ShellContentClient::GetSandboxProfileForSandboxType(
59 int sandbox_type,
60 int* sandbox_profile_resource_id) const {
61 return false;
63 #endif
65 } // namespace content