OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/common/chrome_content_client.h" | 5 #include "chrome/common/chrome_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 "chrome/common/chrome_version_info.h" | 9 #include "chrome/common/chrome_version_info.h" |
10 #include "chrome/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 void ChromeContentClient::SetGpuInfo(const gpu::GPUInfo& gpu_info) { | 25 void ChromeContentClient::SetGpuInfo(const gpu::GPUInfo& gpu_info) { |
26 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
27 } | 27 } |
28 | 28 |
29 void ChromeContentClient::AddPepperPlugins( | 29 void ChromeContentClient::AddPepperPlugins( |
30 std::vector<content::PepperPluginInfo>* plugins) { | 30 std::vector<content::PepperPluginInfo>* plugins) { |
31 NOTREACHED(); | 31 NOTREACHED(); |
32 } | 32 } |
33 | 33 |
34 void ChromeContentClient::AddNPAPIPlugins( | |
35 webkit::npapi::PluginList* plugin_list) { | |
36 NOTREACHED(); | |
37 } | |
38 | |
39 void ChromeContentClient::AddAdditionalSchemes( | 34 void ChromeContentClient::AddAdditionalSchemes( |
40 std::vector<std::string>* standard_schemes, | 35 std::vector<std::string>* standard_schemes, |
41 std::vector<std::string>* saveable_shemes) { | 36 std::vector<std::string>* saveable_shemes) { |
42 // No additional schemes for iOS. | 37 // No additional schemes for iOS. |
43 } | 38 } |
44 | 39 |
45 bool ChromeContentClient::CanHandleWhileSwappedOut( | 40 bool ChromeContentClient::CanHandleWhileSwappedOut( |
46 const IPC::Message& msg) { | 41 const IPC::Message& msg) { |
47 NOTIMPLEMENTED(); | 42 NOTIMPLEMENTED(); |
48 return false; | 43 return false; |
(...skipping 30 matching lines...) Expand all Loading... |
79 gfx::Image& ChromeContentClient::GetNativeImageNamed(int resource_id) const { | 74 gfx::Image& ChromeContentClient::GetNativeImageNamed(int resource_id) const { |
80 return ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id); | 75 return ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id); |
81 } | 76 } |
82 | 77 |
83 std::string ChromeContentClient::GetProcessTypeNameInEnglish(int type) { | 78 std::string ChromeContentClient::GetProcessTypeNameInEnglish(int type) { |
84 DCHECK(false) << "Unknown child process type!"; | 79 DCHECK(false) << "Unknown child process type!"; |
85 return "Unknown"; | 80 return "Unknown"; |
86 } | 81 } |
87 | 82 |
88 } // namespace chrome | 83 } // namespace chrome |
OLD | NEW |