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

Side by Side Diff: sky/engine/testing/platform/platform_impl.h

Issue 681173002: Delete WebWaitableEvent (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
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_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_ 5 #ifndef SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_
6 #define SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_ 6 #define SKY_ENGINE_TESTING_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 20 matching lines...) Expand all
31 virtual double monotonicallyIncreasingTime(); 31 virtual double monotonicallyIncreasingTime();
32 virtual void cryptographicallyRandomValues( 32 virtual void cryptographicallyRandomValues(
33 unsigned char* buffer, size_t length); 33 unsigned char* buffer, size_t length);
34 virtual void setSharedTimerFiredFunction(void (*func)()); 34 virtual void setSharedTimerFiredFunction(void (*func)());
35 virtual void setSharedTimerFireInterval(double interval_seconds); 35 virtual void setSharedTimerFireInterval(double interval_seconds);
36 virtual void stopSharedTimer(); 36 virtual void stopSharedTimer();
37 virtual void callOnMainThread(void (*func)(void*), void* context); 37 virtual void callOnMainThread(void (*func)(void*), void* context);
38 virtual blink::WebData parseDataURL( 38 virtual blink::WebData parseDataURL(
39 const blink::WebURL& url, blink::WebString& mime_type, 39 const blink::WebURL& url, blink::WebString& mime_type,
40 blink::WebString& charset); 40 blink::WebString& charset);
41 virtual blink::WebWaitableEvent* createWaitableEvent();
42 virtual blink::WebWaitableEvent* waitMultipleEvents(
43 const blink::WebVector<blink::WebWaitableEvent*>& events);
44 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); 41 virtual blink::WebScrollbarBehavior* scrollbarBehavior();
45 virtual const unsigned char* getTraceCategoryEnabledFlag( 42 virtual const unsigned char* getTraceCategoryEnabledFlag(
46 const char* category_name); 43 const char* category_name);
47 44
48 private: 45 private:
49 void SuspendSharedTimer(); 46 void SuspendSharedTimer();
50 void ResumeSharedTimer(); 47 void ResumeSharedTimer();
51 48
52 void DoTimeout() { 49 void DoTimeout() {
53 if (shared_timer_func_ && !shared_timer_suspended_) 50 if (shared_timer_func_ && !shared_timer_suspended_)
(...skipping 10 matching lines...) Expand all
64 WebMimeRegistryImpl mime_registry_; 61 WebMimeRegistryImpl mime_registry_;
65 WebUnitTestSupportImpl unit_test_support_; 62 WebUnitTestSupportImpl unit_test_support_;
66 blink::WebScrollbarBehavior scrollbar_behavior_; 63 blink::WebScrollbarBehavior scrollbar_behavior_;
67 64
68 DISALLOW_COPY_AND_ASSIGN(PlatformImpl); 65 DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
69 }; 66 };
70 67
71 } // namespace sky 68 } // namespace sky
72 69
73 #endif // SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_ 70 #endif // SKY_ENGINE_TESTING_PLATFORM_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/public/platform/WebWaitableEvent.h ('k') | sky/engine/testing/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698