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

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

Issue 874633003: Remove WebCompositorSupport (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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/public/web/WebWidget.h ('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 14 matching lines...) Expand all
25 25
26 // blink::Platform methods: 26 // blink::Platform methods:
27 virtual blink::WebString defaultLocale(); 27 virtual blink::WebString defaultLocale();
28 virtual double currentTime(); 28 virtual double currentTime();
29 virtual double monotonicallyIncreasingTime(); 29 virtual double monotonicallyIncreasingTime();
30 virtual void setSharedTimerFiredFunction(void (*func)()); 30 virtual void setSharedTimerFiredFunction(void (*func)());
31 virtual void setSharedTimerFireInterval(double interval_seconds); 31 virtual void setSharedTimerFireInterval(double interval_seconds);
32 virtual void stopSharedTimer(); 32 virtual void stopSharedTimer();
33 virtual base::SingleThreadTaskRunner* mainThreadTaskRunner(); 33 virtual base::SingleThreadTaskRunner* mainThreadTaskRunner();
34 virtual bool isThreadedCompositingEnabled(); 34 virtual bool isThreadedCompositingEnabled();
35 virtual blink::WebCompositorSupport* compositorSupport();
36 virtual mojo::NetworkService* networkService(); 35 virtual mojo::NetworkService* networkService();
37 virtual blink::WebURLLoader* createURLLoader(); 36 virtual blink::WebURLLoader* createURLLoader();
38 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 37 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
39 virtual const unsigned char* getTraceCategoryEnabledFlag( 38 virtual const unsigned char* getTraceCategoryEnabledFlag(
40 const char* category_name); 39 const char* category_name);
41 virtual long* getTraceSamplingState(const unsigned thread_bucket); 40 virtual long* getTraceSamplingState(const unsigned thread_bucket);
42 virtual TraceEventHandle addTraceEvent( 41 virtual TraceEventHandle addTraceEvent(
43 char phase, 42 char phase,
44 const unsigned char* category_group_enabled, 43 const unsigned char* category_group_enabled,
45 const char* name, 44 const char* name,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 double shared_timer_fire_time_; 81 double shared_timer_fire_time_;
83 bool shared_timer_fire_time_was_set_while_suspended_; 82 bool shared_timer_fire_time_was_set_while_suspended_;
84 int shared_timer_suspended_; // counter 83 int shared_timer_suspended_; // counter
85 84
86 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); 85 DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
87 }; 86 };
88 87
89 } // namespace sky 88 } // namespace sky
90 89
91 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 90 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebWidget.h ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698