| 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 COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 6 #define COMPONENTS_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/threading/thread_local_storage.h" | 9 #include "base/threading/thread_local_storage.h" |
| 10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 virtual blink::WebSocketHandle* createWebSocketHandle(); | 61 virtual blink::WebSocketHandle* createWebSocketHandle(); |
| 62 virtual blink::WebString userAgent(); | 62 virtual blink::WebString userAgent(); |
| 63 virtual blink::WebData parseDataURL( | 63 virtual blink::WebData parseDataURL( |
| 64 const blink::WebURL& url, blink::WebString& mime_type, | 64 const blink::WebURL& url, blink::WebString& mime_type, |
| 65 blink::WebString& charset); | 65 blink::WebString& charset); |
| 66 virtual bool isReservedIPAddress(const blink::WebString& host) const; | 66 virtual bool isReservedIPAddress(const blink::WebString& host) const; |
| 67 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; | 67 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; |
| 68 virtual blink::WebThread* createThread(const char* name); | 68 virtual blink::WebThread* createThread(const char* name); |
| 69 virtual blink::WebThread* currentThread(); | 69 virtual blink::WebThread* currentThread(); |
| 70 virtual void yieldCurrentThread(); | 70 virtual void yieldCurrentThread(); |
| 71 virtual blink::WebWaitableEvent* createWaitableEvent(); | 71 virtual blink::WebWaitableEvent* createWaitableEvent( |
| 72 blink::WebWaitableEvent::ResetPolicy policy, |
| 73 blink::WebWaitableEvent::InitialState state); |
| 72 virtual blink::WebWaitableEvent* waitMultipleEvents( | 74 virtual blink::WebWaitableEvent* waitMultipleEvents( |
| 73 const blink::WebVector<blink::WebWaitableEvent*>& events); | 75 const blink::WebVector<blink::WebWaitableEvent*>& events); |
| 74 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); | 76 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); |
| 75 virtual const unsigned char* getTraceCategoryEnabledFlag( | 77 virtual const unsigned char* getTraceCategoryEnabledFlag( |
| 76 const char* category_name); | 78 const char* category_name); |
| 77 virtual blink::WebData loadResource(const char* name); | 79 virtual blink::WebData loadResource(const char* name); |
| 78 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 80 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
| 79 blink::WebGestureDevice device_source, | 81 blink::WebGestureDevice device_source, |
| 80 const blink::WebFloatPoint& velocity, | 82 const blink::WebFloatPoint& velocity, |
| 81 const blink::WebSize& cumulative_scroll); | 83 const blink::WebSize& cumulative_scroll); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 102 MockWebBlobRegistryImpl blob_registry_; | 104 MockWebBlobRegistryImpl blob_registry_; |
| 103 scoped_ptr<WebCookieJarImpl> cookie_jar_; | 105 scoped_ptr<WebCookieJarImpl> cookie_jar_; |
| 104 scoped_ptr<WebClipboardImpl> clipboard_; | 106 scoped_ptr<WebClipboardImpl> clipboard_; |
| 105 | 107 |
| 106 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); | 108 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); |
| 107 }; | 109 }; |
| 108 | 110 |
| 109 } // namespace html_viewer | 111 } // namespace html_viewer |
| 110 | 112 |
| 111 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 113 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |