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 | 204 |
scherkus (not reviewing)
2011/11/21 22:26:41
nit: remove extra blank line
piman
2011/11/21 23:13:03
Done.
| |
208 // Returns the locale that this instance of webkit is running as. This is of | 205 // 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). | 206 // the form language-country (e.g., en-US or pt-BR). |
210 std::string GetWebKitLocale(); | 207 std::string GetWebKitLocale(); |
211 | 208 |
212 // Returns true if the embedder is running in single process mode. | 209 // Returns true if the embedder is running in single process mode. |
213 bool IsSingleProcess(); | 210 bool IsSingleProcess(); |
214 | 211 |
215 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- | 212 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |
216 | 213 |
217 | 214 |
218 } // namespace webkit_glue | 215 } // namespace webkit_glue |
219 | 216 |
220 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 217 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
OLD | NEW |