Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: sky/viewer/platform/platform_impl.h

Issue 691493004: Remove callOnMainThread (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/wtf/text/StringImpl.cpp ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 18 matching lines...) Expand all
29 29
30 // blink::Platform methods: 30 // blink::Platform methods:
31 virtual blink::WebMimeRegistry* mimeRegistry(); 31 virtual blink::WebMimeRegistry* mimeRegistry();
32 virtual blink::WebThemeEngine* themeEngine(); 32 virtual blink::WebThemeEngine* themeEngine();
33 virtual blink::WebString defaultLocale(); 33 virtual blink::WebString defaultLocale();
34 virtual double currentTime(); 34 virtual double currentTime();
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);
40 virtual base::SingleThreadTaskRunner* mainThreadTaskRunner(); 39 virtual base::SingleThreadTaskRunner* mainThreadTaskRunner();
41 virtual bool isThreadedCompositingEnabled(); 40 virtual bool isThreadedCompositingEnabled();
42 virtual blink::WebCompositorSupport* compositorSupport(); 41 virtual blink::WebCompositorSupport* compositorSupport();
43 virtual mojo::NetworkService* networkService(); 42 virtual mojo::NetworkService* networkService();
44 virtual blink::WebURLLoader* createURLLoader(); 43 virtual blink::WebURLLoader* createURLLoader();
45 virtual blink::WebData parseDataURL( 44 virtual blink::WebData parseDataURL(
46 const blink::WebURL& url, blink::WebString& mime_type, 45 const blink::WebURL& url, blink::WebString& mime_type,
47 blink::WebString& charset); 46 blink::WebString& charset);
48 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 47 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
49 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); 48 virtual blink::WebScrollbarBehavior* scrollbarBehavior();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 WebThemeEngineImpl theme_engine_; 96 WebThemeEngineImpl theme_engine_;
98 WebMimeRegistryImpl mime_registry_; 97 WebMimeRegistryImpl mime_registry_;
99 blink::WebScrollbarBehavior scrollbar_behavior_; 98 blink::WebScrollbarBehavior scrollbar_behavior_;
100 99
101 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); 100 DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
102 }; 101 };
103 102
104 } // namespace sky 103 } // namespace sky
105 104
106 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 105 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/wtf/text/StringImpl.cpp ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698