| 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 "webkit/support/platform_support.h" | 5 #include "webkit/support/platform_support.h" |
| 6 | 6 |
| 7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "base/string_piece.h" | 13 #include "base/strings/string_piece.h" |
| 14 #include "base/win/resource_util.h" | 14 #include "base/win/resource_util.h" |
| 15 #include "grit/webkit_chromium_resources.h" | 15 #include "grit/webkit_chromium_resources.h" |
| 16 #include "grit/webkit_resources.h" | 16 #include "grit/webkit_resources.h" |
| 17 #include "ui/base/resource/resource_bundle.h" | 17 #include "ui/base/resource/resource_bundle.h" |
| 18 #include "webkit/support/test_webkit_platform_support.h" | 18 #include "webkit/support/test_webkit_platform_support.h" |
| 19 | 19 |
| 20 #define MAX_LOADSTRING 100 | 20 #define MAX_LOADSTRING 100 |
| 21 | 21 |
| 22 namespace { | 22 namespace { |
| 23 | 23 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 LOG(FATAL) << "Failed reading: " << path.value(); | 106 LOG(FATAL) << "Failed reading: " << path.value(); |
| 107 } | 107 } |
| 108 } | 108 } |
| 109 return resize_corner_data; | 109 return resize_corner_data; |
| 110 } | 110 } |
| 111 } | 111 } |
| 112 | 112 |
| 113 // TODO(flackr): Pass scale_factor to ResourceProvider. | 113 // TODO(flackr): Pass scale_factor to ResourceProvider. |
| 114 return ResourceProvider(resource_id); | 114 return ResourceProvider(resource_id); |
| 115 } | 115 } |
| OLD | NEW |