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_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { | 54 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
55 public: | 55 public: |
56 RendererBlinkPlatformImpl(); | 56 RendererBlinkPlatformImpl(); |
57 virtual ~RendererBlinkPlatformImpl(); | 57 virtual ~RendererBlinkPlatformImpl(); |
58 | 58 |
59 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { | 59 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { |
60 plugin_refresh_allowed_ = plugin_refresh_allowed; | 60 plugin_refresh_allowed_ = plugin_refresh_allowed; |
61 } | 61 } |
62 // Platform methods: | 62 // Platform methods: |
63 virtual void callOnMainThread(void (*func)(void*), void* context); | |
64 virtual blink::WebClipboard* clipboard(); | 63 virtual blink::WebClipboard* clipboard(); |
65 virtual blink::WebMimeRegistry* mimeRegistry(); | 64 virtual blink::WebMimeRegistry* mimeRegistry(); |
66 virtual blink::WebFileUtilities* fileUtilities(); | 65 virtual blink::WebFileUtilities* fileUtilities(); |
67 virtual blink::WebSandboxSupport* sandboxSupport(); | 66 virtual blink::WebSandboxSupport* sandboxSupport(); |
68 virtual blink::WebCookieJar* cookieJar(); | 67 virtual blink::WebCookieJar* cookieJar(); |
69 virtual blink::WebThemeEngine* themeEngine(); | 68 virtual blink::WebThemeEngine* themeEngine(); |
70 virtual blink::WebSpeechSynthesizer* createSpeechSynthesizer( | 69 virtual blink::WebSpeechSynthesizer* createSpeechSynthesizer( |
71 blink::WebSpeechSynthesizerClient* client); | 70 blink::WebSpeechSynthesizerClient* client); |
72 virtual bool sandboxEnabled(); | 71 virtual bool sandboxEnabled(); |
73 virtual unsigned long long visitedLinkHash( | 72 virtual unsigned long long visitedLinkHash( |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; | 250 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; |
252 | 251 |
253 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 252 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
254 | 253 |
255 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 254 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
256 }; | 255 }; |
257 | 256 |
258 } // namespace content | 257 } // namespace content |
259 | 258 |
260 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 259 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |