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

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

Issue 865153004: Remove dead code related to compositing from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/web/WebSettingsImpl.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 13 matching lines...) Expand all
24 virtual ~PlatformImpl(); 24 virtual ~PlatformImpl();
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();
35 virtual mojo::NetworkService* networkService(); 34 virtual mojo::NetworkService* networkService();
36 virtual blink::WebURLLoader* createURLLoader(); 35 virtual blink::WebURLLoader* createURLLoader();
37 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 36 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
38 virtual const unsigned char* getTraceCategoryEnabledFlag( 37 virtual const unsigned char* getTraceCategoryEnabledFlag(
39 const char* category_name); 38 const char* category_name);
40 virtual long* getTraceSamplingState(const unsigned thread_bucket); 39 virtual long* getTraceSamplingState(const unsigned thread_bucket);
41 virtual TraceEventHandle addTraceEvent( 40 virtual TraceEventHandle addTraceEvent(
42 char phase, 41 char phase,
43 const unsigned char* category_group_enabled, 42 const unsigned char* category_group_enabled,
44 const char* name, 43 const char* name,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 double shared_timer_fire_time_; 80 double shared_timer_fire_time_;
82 bool shared_timer_fire_time_was_set_while_suspended_; 81 bool shared_timer_fire_time_was_set_while_suspended_;
83 int shared_timer_suspended_; // counter 82 int shared_timer_suspended_; // counter
84 83
85 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); 84 DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
86 }; 85 };
87 86
88 } // namespace sky 87 } // namespace sky
89 88
90 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_ 89 #endif // SKY_VIEWER_PLATFORM_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/WebSettingsImpl.cpp ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698