| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| 6 #define MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 6 #define MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 virtual blink::WebString defaultLocale(); | 31 virtual blink::WebString defaultLocale(); |
| 32 virtual double currentTime(); | 32 virtual double currentTime(); |
| 33 virtual double monotonicallyIncreasingTime(); | 33 virtual double monotonicallyIncreasingTime(); |
| 34 virtual void cryptographicallyRandomValues( | 34 virtual void cryptographicallyRandomValues( |
| 35 unsigned char* buffer, size_t length); | 35 unsigned char* buffer, size_t length); |
| 36 virtual void setSharedTimerFiredFunction(void (*func)()); | 36 virtual void setSharedTimerFiredFunction(void (*func)()); |
| 37 virtual void setSharedTimerFireInterval(double interval_seconds); | 37 virtual void setSharedTimerFireInterval(double interval_seconds); |
| 38 virtual void stopSharedTimer(); | 38 virtual void stopSharedTimer(); |
| 39 virtual void callOnMainThread(void (*func)(void*), void* context); | 39 virtual void callOnMainThread(void (*func)(void*), void* context); |
| 40 virtual blink::WebURLLoader* createURLLoader(); | 40 virtual blink::WebURLLoader* createURLLoader(); |
| 41 virtual blink::WebSocketStreamHandle* createSocketStreamHandle(); |
| 42 virtual blink::WebSocketHandle* createWebSocketHandle(); |
| 41 virtual blink::WebString userAgent(); | 43 virtual blink::WebString userAgent(); |
| 42 virtual blink::WebData parseDataURL( | 44 virtual blink::WebData parseDataURL( |
| 43 const blink::WebURL& url, blink::WebString& mime_type, | 45 const blink::WebURL& url, blink::WebString& mime_type, |
| 44 blink::WebString& charset); | 46 blink::WebString& charset); |
| 45 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; | 47 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; |
| 46 virtual blink::WebThread* createThread(const char* name); | 48 virtual blink::WebThread* createThread(const char* name); |
| 47 virtual blink::WebThread* currentThread(); | 49 virtual blink::WebThread* currentThread(); |
| 48 virtual blink::WebWaitableEvent* createWaitableEvent(); | 50 virtual blink::WebWaitableEvent* createWaitableEvent(); |
| 49 virtual blink::WebWaitableEvent* waitMultipleEvents( | 51 virtual blink::WebWaitableEvent* waitMultipleEvents( |
| 50 const blink::WebVector<blink::WebWaitableEvent*>& events); | 52 const blink::WebVector<blink::WebWaitableEvent*>& events); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 75 scoped_ptr<WebCookieJarImpl> cookie_jar_; | 77 scoped_ptr<WebCookieJarImpl> cookie_jar_; |
| 76 WebMimeRegistryImpl mime_registry_; | 78 WebMimeRegistryImpl mime_registry_; |
| 77 blink::WebScrollbarBehavior scrollbar_behavior_; | 79 blink::WebScrollbarBehavior scrollbar_behavior_; |
| 78 | 80 |
| 79 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); | 81 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); |
| 80 }; | 82 }; |
| 81 | 83 |
| 82 } // namespace mojo | 84 } // namespace mojo |
| 83 | 85 |
| 84 #endif // MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 86 #endif // MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |