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

Side by Side Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp

Issue 2857143005: Gather serialization-related code into a directory. (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "modules/compositorworker/CompositorWorkerGlobalScope.h" 5 #include "modules/compositorworker/CompositorWorkerGlobalScope.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "bindings/core/v8/SerializedScriptValue.h" 8 #include "bindings/core/v8/serialization/SerializedScriptValue.h"
9 #include "core/dom/CompositorWorkerProxyClient.h" 9 #include "core/dom/CompositorWorkerProxyClient.h"
10 #include "core/dom/ExecutionContext.h" 10 #include "core/dom/ExecutionContext.h"
11 #include "core/workers/InProcessWorkerObjectProxy.h" 11 #include "core/workers/InProcessWorkerObjectProxy.h"
12 #include "core/workers/WorkerThreadStartupData.h" 12 #include "core/workers/WorkerThreadStartupData.h"
13 #include "modules/EventTargetModules.h" 13 #include "modules/EventTargetModules.h"
14 #include "modules/compositorworker/CompositorWorkerThread.h" 14 #include "modules/compositorworker/CompositorWorkerThread.h"
15 #include "platform/bindings/ScriptState.h" 15 #include "platform/bindings/ScriptState.h"
16 #include "platform/wtf/AutoReset.h" 16 #include "platform/wtf/AutoReset.h"
17 17
18 namespace blink { 18 namespace blink {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 callback_collection_.ExecuteCallbacks(high_res_time_ms, high_res_time_ms); 103 callback_collection_.ExecuteCallbacks(high_res_time_ms, high_res_time_ms);
104 return !callback_collection_.IsEmpty(); 104 return !callback_collection_.IsEmpty();
105 } 105 }
106 106
107 InProcessWorkerObjectProxy& CompositorWorkerGlobalScope::WorkerObjectProxy() 107 InProcessWorkerObjectProxy& CompositorWorkerGlobalScope::WorkerObjectProxy()
108 const { 108 const {
109 return static_cast<CompositorWorkerThread*>(GetThread())->WorkerObjectProxy(); 109 return static_cast<CompositorWorkerThread*>(GetThread())->WorkerObjectProxy();
110 } 110 }
111 111
112 } // namespace blink 112 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698