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

Side by Side Diff: components/html_viewer/blink_platform_impl.h

Issue 1235083002: WebWaitableEvent: update blink API implementations for html_viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | components/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 COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 6 #define COMPONENTS_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/threading/thread_local_storage.h" 9 #include "base/threading/thread_local_storage.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual blink::WebSocketHandle* createWebSocketHandle(); 61 virtual blink::WebSocketHandle* createWebSocketHandle();
62 virtual blink::WebString userAgent(); 62 virtual blink::WebString userAgent();
63 virtual blink::WebData parseDataURL( 63 virtual blink::WebData parseDataURL(
64 const blink::WebURL& url, blink::WebString& mime_type, 64 const blink::WebURL& url, blink::WebString& mime_type,
65 blink::WebString& charset); 65 blink::WebString& charset);
66 virtual bool isReservedIPAddress(const blink::WebString& host) const; 66 virtual bool isReservedIPAddress(const blink::WebString& host) const;
67 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; 67 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
68 virtual blink::WebThread* createThread(const char* name); 68 virtual blink::WebThread* createThread(const char* name);
69 virtual blink::WebThread* currentThread(); 69 virtual blink::WebThread* currentThread();
70 virtual void yieldCurrentThread(); 70 virtual void yieldCurrentThread();
71 virtual blink::WebWaitableEvent* createWaitableEvent(); 71 virtual blink::WebWaitableEvent* createWaitableEvent(
72 blink::WebWaitableEvent::ResetPolicy policy,
73 blink::WebWaitableEvent::InitialState state);
72 virtual blink::WebWaitableEvent* waitMultipleEvents( 74 virtual blink::WebWaitableEvent* waitMultipleEvents(
73 const blink::WebVector<blink::WebWaitableEvent*>& events); 75 const blink::WebVector<blink::WebWaitableEvent*>& events);
74 virtual blink::WebScrollbarBehavior* scrollbarBehavior(); 76 virtual blink::WebScrollbarBehavior* scrollbarBehavior();
75 virtual const unsigned char* getTraceCategoryEnabledFlag( 77 virtual const unsigned char* getTraceCategoryEnabledFlag(
76 const char* category_name); 78 const char* category_name);
77 virtual blink::WebData loadResource(const char* name); 79 virtual blink::WebData loadResource(const char* name);
78 virtual blink::WebGestureCurve* createFlingAnimationCurve( 80 virtual blink::WebGestureCurve* createFlingAnimationCurve(
79 blink::WebGestureDevice device_source, 81 blink::WebGestureDevice device_source,
80 const blink::WebFloatPoint& velocity, 82 const blink::WebFloatPoint& velocity,
81 const blink::WebSize& cumulative_scroll); 83 const blink::WebSize& cumulative_scroll);
(...skipping 20 matching lines...) Expand all
102 MockWebBlobRegistryImpl blob_registry_; 104 MockWebBlobRegistryImpl blob_registry_;
103 scoped_ptr<WebCookieJarImpl> cookie_jar_; 105 scoped_ptr<WebCookieJarImpl> cookie_jar_;
104 scoped_ptr<WebClipboardImpl> clipboard_; 106 scoped_ptr<WebClipboardImpl> clipboard_;
105 107
106 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); 108 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl);
107 }; 109 };
108 110
109 } // namespace html_viewer 111 } // namespace html_viewer
110 112
111 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 113 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698