| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 // This file provides the embedder's side of random webkit glue functions. | 5 // This file provides the embedder's side of random webkit glue functions. |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 #endif | 240 #endif |
| 241 | 241 |
| 242 string16 GetLocalizedString(int message_id) { | 242 string16 GetLocalizedString(int message_id) { |
| 243 return content::GetContentClient()->GetLocalizedString(message_id); | 243 return content::GetContentClient()->GetLocalizedString(message_id); |
| 244 } | 244 } |
| 245 | 245 |
| 246 base::StringPiece GetDataResource(int resource_id) { | 246 base::StringPiece GetDataResource(int resource_id) { |
| 247 return content::GetContentClient()->GetDataResource(resource_id); | 247 return content::GetContentClient()->GetDataResource(resource_id); |
| 248 } | 248 } |
| 249 | 249 |
| 250 std::string BuildUserAgent(bool mimic_windows) { |
| 251 return content::GetContentClient()->GetUserAgent(mimic_windows); |
| 252 } |
| 253 |
| 250 } // namespace webkit_glue | 254 } // namespace webkit_glue |
| OLD | NEW |