| 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 SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ | 5 #ifndef SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ |
| 6 #define SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ | 6 #define SKY_VIEWER_PLATFORM_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 24 matching lines...) Expand all Loading... |
| 35 virtual double monotonicallyIncreasingTime(); | 35 virtual double monotonicallyIncreasingTime(); |
| 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 base::SingleThreadTaskRunner* mainThreadTaskRunner(); | 40 virtual base::SingleThreadTaskRunner* mainThreadTaskRunner(); |
| 41 virtual bool isThreadedCompositingEnabled(); | 41 virtual bool isThreadedCompositingEnabled(); |
| 42 virtual blink::WebCompositorSupport* compositorSupport(); | 42 virtual blink::WebCompositorSupport* compositorSupport(); |
| 43 virtual mojo::NetworkService* networkService(); | 43 virtual mojo::NetworkService* networkService(); |
| 44 virtual blink::WebURLLoader* createURLLoader(); | 44 virtual blink::WebURLLoader* createURLLoader(); |
| 45 virtual blink::WebData parseDataURL( | |
| 46 const blink::WebURL& url, blink::WebString& mime_type, | |
| 47 blink::WebString& charset); | |
| 48 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; | 45 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; |
| 49 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); | 46 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); |
| 50 virtual const unsigned char* getTraceCategoryEnabledFlag( | 47 virtual const unsigned char* getTraceCategoryEnabledFlag( |
| 51 const char* category_name); | 48 const char* category_name); |
| 52 virtual long* getTraceSamplingState(const unsigned thread_bucket); | 49 virtual long* getTraceSamplingState(const unsigned thread_bucket); |
| 53 virtual TraceEventHandle addTraceEvent( | 50 virtual TraceEventHandle addTraceEvent( |
| 54 char phase, | 51 char phase, |
| 55 const unsigned char* category_group_enabled, | 52 const unsigned char* category_group_enabled, |
| 56 const char* name, | 53 const char* name, |
| 57 unsigned long long id, | 54 unsigned long long id, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 WebThemeEngineImpl theme_engine_; | 94 WebThemeEngineImpl theme_engine_; |
| 98 WebMimeRegistryImpl mime_registry_; | 95 WebMimeRegistryImpl mime_registry_; |
| 99 blink::WebScrollbarBehavior scrollbar_behavior_; | 96 blink::WebScrollbarBehavior scrollbar_behavior_; |
| 100 | 97 |
| 101 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); | 98 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); |
| 102 }; | 99 }; |
| 103 | 100 |
| 104 } // namespace sky | 101 } // namespace sky |
| 105 | 102 |
| 106 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ | 103 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ |
| OLD | NEW |