| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ | 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ |
| 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ | 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 #endif | 241 #endif |
| 242 | 242 |
| 243 // Returns the plugin finder URL. | 243 // Returns the plugin finder URL. |
| 244 bool GetPluginFinderURL(std::string* plugin_finder_url); | 244 bool GetPluginFinderURL(std::string* plugin_finder_url); |
| 245 | 245 |
| 246 // Resolves the proxies for the url, returns true on success. | 246 // Resolves the proxies for the url, returns true on success. |
| 247 bool FindProxyForUrl(const GURL& url, std::string* proxy_list); | 247 bool FindProxyForUrl(const GURL& url, std::string* proxy_list); |
| 248 | 248 |
| 249 // Returns the locale that this instance of webkit is running as. This is of | 249 // Returns the locale that this instance of webkit is running as. This is of |
| 250 // the form language-country (e.g., en-US or pt-BR). | 250 // the form language-country (e.g., en-US or pt-BR). |
| 251 std::wstring GetWebKitLocale(); | 251 std::string GetWebKitLocale(); |
| 252 | 252 |
| 253 // Close current connections. Used for debugging. | 253 // Close current connections. Used for debugging. |
| 254 void CloseCurrentConnections(); | 254 void CloseCurrentConnections(); |
| 255 | 255 |
| 256 // Enable or disable the disk cache. Used for debugging. | 256 // Enable or disable the disk cache. Used for debugging. |
| 257 void SetCacheMode(bool enabled); | 257 void SetCacheMode(bool enabled); |
| 258 | 258 |
| 259 // Clear the disk cache. Used for debugging. | 259 // Clear the disk cache. Used for debugging. |
| 260 void ClearCache(); | 260 void ClearCache(); |
| 261 | 261 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 284 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 284 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
| 285 size_t* output_length); | 285 size_t* output_length); |
| 286 #endif | 286 #endif |
| 287 | 287 |
| 288 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- | 288 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |
| 289 | 289 |
| 290 | 290 |
| 291 } // namespace webkit_glue | 291 } // namespace webkit_glue |
| 292 | 292 |
| 293 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 293 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
| OLD | NEW |