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 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { | 38 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { |
39 plugin_refresh_allowed_ = plugin_refresh_allowed; | 39 plugin_refresh_allowed_ = plugin_refresh_allowed; |
40 } | 40 } |
41 // Platform methods: | 41 // Platform methods: |
42 virtual WebKit::WebClipboard* clipboard(); | 42 virtual WebKit::WebClipboard* clipboard(); |
43 virtual WebKit::WebMimeRegistry* mimeRegistry(); | 43 virtual WebKit::WebMimeRegistry* mimeRegistry(); |
44 virtual WebKit::WebFileUtilities* fileUtilities(); | 44 virtual WebKit::WebFileUtilities* fileUtilities(); |
45 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 45 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
46 virtual WebKit::WebCookieJar* cookieJar(); | 46 virtual WebKit::WebCookieJar* cookieJar(); |
47 virtual WebKit::WebHyphenator* hyphenator(); | 47 virtual WebKit::WebHyphenator* hyphenator(); |
| 48 virtual WebKit::WebSpeechSynthesizer* createSpeechSynthesizer( |
| 49 WebKit::WebSpeechSynthesizerClient* client); |
48 virtual bool sandboxEnabled(); | 50 virtual bool sandboxEnabled(); |
49 virtual unsigned long long visitedLinkHash( | 51 virtual unsigned long long visitedLinkHash( |
50 const char* canonicalURL, size_t length); | 52 const char* canonicalURL, size_t length); |
51 virtual bool isLinkVisited(unsigned long long linkHash); | 53 virtual bool isLinkVisited(unsigned long long linkHash); |
52 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 54 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
53 virtual void prefetchHostName(const WebKit::WebString&); | 55 virtual void prefetchHostName(const WebKit::WebString&); |
54 virtual void cacheMetadata( | 56 virtual void cacheMetadata( |
55 const WebKit::WebURL&, double, const char*, size_t); | 57 const WebKit::WebURL&, double, const char*, size_t); |
56 virtual WebKit::WebString defaultLocale(); | 58 virtual WebKit::WebString defaultLocale(); |
57 virtual void suddenTerminationChanged(bool enabled); | 59 virtual void suddenTerminationChanged(bool enabled); |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 165 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
164 | 166 |
165 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 167 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
166 | 168 |
167 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 169 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
168 }; | 170 }; |
169 | 171 |
170 } // namespace content | 172 } // namespace content |
171 | 173 |
172 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 174 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |