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 28 matching lines...) Expand all Loading... |
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::WebThemeEngine* themeEngine(); | 48 virtual WebKit::WebThemeEngine* themeEngine(); |
| 49 virtual WebKit::WebSpeechSynthesizer* createSpeechSynthesizer( |
| 50 WebKit::WebSpeechSynthesizerClient* client); |
49 virtual bool sandboxEnabled(); | 51 virtual bool sandboxEnabled(); |
50 virtual unsigned long long visitedLinkHash( | 52 virtual unsigned long long visitedLinkHash( |
51 const char* canonicalURL, size_t length); | 53 const char* canonicalURL, size_t length); |
52 virtual bool isLinkVisited(unsigned long long linkHash); | 54 virtual bool isLinkVisited(unsigned long long linkHash); |
53 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 55 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
54 virtual void prefetchHostName(const WebKit::WebString&); | 56 virtual void prefetchHostName(const WebKit::WebString&); |
55 virtual void cacheMetadata( | 57 virtual void cacheMetadata( |
56 const WebKit::WebURL&, double, const char*, size_t); | 58 const WebKit::WebURL&, double, const char*, size_t); |
57 virtual WebKit::WebString defaultLocale(); | 59 virtual WebKit::WebString defaultLocale(); |
58 virtual void suddenTerminationChanged(bool enabled); | 60 virtual void suddenTerminationChanged(bool enabled); |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 166 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
165 | 167 |
166 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 168 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
167 | 169 |
168 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; | 170 scoped_refptr<cc::ContextProvider> shared_offscreen_context_; |
169 }; | 171 }; |
170 | 172 |
171 } // namespace content | 173 } // namespace content |
172 | 174 |
173 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 175 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |