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 #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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 void ClipboardReadHTML(ui::Clipboard::Buffer buffer, string16* markup, | 194 void ClipboardReadHTML(ui::Clipboard::Buffer buffer, string16* markup, |
195 GURL* url, uint32* fragment_start, | 195 GURL* url, uint32* fragment_start, |
196 uint32* fragment_end); | 196 uint32* fragment_end); |
197 | 197 |
198 void ClipboardReadImage(ui::Clipboard::Buffer buffer, std::string* data); | 198 void ClipboardReadImage(ui::Clipboard::Buffer buffer, std::string* data); |
199 | 199 |
200 // Embedders implement this function to return the list of plugins to Webkit. | 200 // Embedders implement this function to return the list of plugins to Webkit. |
201 void GetPlugins(bool refresh, | 201 void GetPlugins(bool refresh, |
202 std::vector<webkit::WebPluginInfo>* plugins); | 202 std::vector<webkit::WebPluginInfo>* plugins); |
203 | 203 |
204 // Returns true if the protocol implemented to serve |url| supports features | |
205 // required by the media engine. | |
206 bool IsProtocolSupportedForMedia(const GURL& url); | |
207 | |
208 // Returns the locale that this instance of webkit is running as. This is of | 204 // Returns the locale that this instance of webkit is running as. This is of |
209 // the form language-country (e.g., en-US or pt-BR). | 205 // the form language-country (e.g., en-US or pt-BR). |
210 std::string GetWebKitLocale(); | 206 std::string GetWebKitLocale(); |
211 | 207 |
212 // Returns true if the embedder is running in single process mode. | 208 // Returns true if the embedder is running in single process mode. |
213 bool IsSingleProcess(); | 209 bool IsSingleProcess(); |
214 | 210 |
215 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- | 211 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |
216 | 212 |
217 | 213 |
218 } // namespace webkit_glue | 214 } // namespace webkit_glue |
219 | 215 |
220 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 216 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
OLD | NEW |