| Index: content/shell/shell_content_client.cc
|
| diff --git a/content/shell/shell_content_client.cc b/content/shell/shell_content_client.cc
|
| index 64ee8eadf960c3a2cdb622a8dd2e23255ca9f2a7..e3c80d849cf85de50df9b5520977704d9c7327b0 100644
|
| --- a/content/shell/shell_content_client.cc
|
| +++ b/content/shell/shell_content_client.cc
|
| @@ -56,6 +56,14 @@ base::StringPiece ShellContentClient::GetDataResource(int resource_id) const {
|
| return ResourceBundle::GetSharedInstance().GetRawDataResource(resource_id);
|
| }
|
|
|
| +base::StringPiece ShellContentClient::GetImageResource(
|
| + int resource_id,
|
| + float scale_factor) const {
|
| + // TODO(flackr): Pass scale_factor to ResourceBundle to get best matching
|
| + // image resource for the given scale factor.
|
| + return ResourceBundle::GetSharedInstance().GetRawDataResource(resource_id);
|
| +}
|
| +
|
| #if defined(OS_WIN)
|
| bool ShellContentClient::SandboxPlugin(CommandLine* command_line,
|
| sandbox::TargetPolicy* policy) {
|
|
|