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

Side by Side Diff: mojo/services/html_viewer/blink_platform_impl.h

Issue 596243002: Implement blink::Platform::yieldCurrentThread() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « content/child/blink_platform_impl.cc ('k') | mojo/services/html_viewer/blink_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 MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
6 #define MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_BLINK_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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual blink::WebCompositorSupport* compositorSupport(); 44 virtual blink::WebCompositorSupport* compositorSupport();
45 virtual blink::WebURLLoader* createURLLoader(); 45 virtual blink::WebURLLoader* createURLLoader();
46 virtual blink::WebSocketHandle* createWebSocketHandle(); 46 virtual blink::WebSocketHandle* createWebSocketHandle();
47 virtual blink::WebString userAgent(); 47 virtual blink::WebString userAgent();
48 virtual blink::WebData parseDataURL( 48 virtual blink::WebData parseDataURL(
49 const blink::WebURL& url, blink::WebString& mime_type, 49 const blink::WebURL& url, blink::WebString& mime_type,
50 blink::WebString& charset); 50 blink::WebString& charset);
51 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 51 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
52 virtual blink::WebThread* createThread(const char* name); 52 virtual blink::WebThread* createThread(const char* name);
53 virtual blink::WebThread* currentThread(); 53 virtual blink::WebThread* currentThread();
54 virtual void yieldCurrentThread();
54 virtual blink::WebWaitableEvent* createWaitableEvent(); 55 virtual blink::WebWaitableEvent* createWaitableEvent();
55 virtual blink::WebWaitableEvent* waitMultipleEvents( 56 virtual blink::WebWaitableEvent* waitMultipleEvents(
56 const blink::WebVector<blink::WebWaitableEvent*>& events); 57 const blink::WebVector<blink::WebWaitableEvent*>& events);
57 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); 58 virtual blink::WebScrollbarBehavior* scrollbarBehavior();
58 virtual const unsigned char* getTraceCategoryEnabledFlag( 59 virtual const unsigned char* getTraceCategoryEnabledFlag(
59 const char* category_name); 60 const char* category_name);
60 61
61 private: 62 private:
62 void SuspendSharedTimer(); 63 void SuspendSharedTimer();
63 void ResumeSharedTimer(); 64 void ResumeSharedTimer();
(...skipping 19 matching lines...) Expand all
83 scoped_ptr<WebClipboardImpl> clipboard_; 84 scoped_ptr<WebClipboardImpl> clipboard_;
84 WebMimeRegistryImpl mime_registry_; 85 WebMimeRegistryImpl mime_registry_;
85 blink::WebScrollbarBehavior scrollbar_behavior_; 86 blink::WebScrollbarBehavior scrollbar_behavior_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); 88 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl);
88 }; 89 };
89 90
90 } // namespace mojo 91 } // namespace mojo
91 92
92 #endif // MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 93 #endif // MOJO_SERVICES_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | mojo/services/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698