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

Side by Side Diff: webkit/common/gpu/context_provider_in_process.cc

Issue 890873007: Cleanup: Move ContextProviderWebContext into cc/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "webkit/common/gpu/context_provider_in_process.h" 5 #include "webkit/common/gpu/context_provider_in_process.h"
6 6
7 #include <set>
8
9 #include "base/bind.h" 7 #include "base/bind.h"
10 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
11 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
12 #include "cc/output/managed_memory_policy.h" 10 #include "cc/output/managed_memory_policy.h"
13 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h" 11 #include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h"
14 #include "gpu/command_buffer/client/gles2_implementation.h" 12 #include "gpu/command_buffer/client/gles2_implementation.h"
15 #include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h" 13 #include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h"
16 14
17 using gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl; 15 using gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl;
18 16
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 lost_context_callback_ = lost_context_callback; 207 lost_context_callback_ = lost_context_callback;
210 } 208 }
211 209
212 void ContextProviderInProcess::SetMemoryPolicyChangedCallback( 210 void ContextProviderInProcess::SetMemoryPolicyChangedCallback(
213 const MemoryPolicyChangedCallback& memory_policy_changed_callback) { 211 const MemoryPolicyChangedCallback& memory_policy_changed_callback) {
214 // There's no memory manager for the in-process implementation. 212 // There's no memory manager for the in-process implementation.
215 } 213 }
216 214
217 } // namespace gpu 215 } // namespace gpu
218 } // namespace webkit 216 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/common/gpu/context_provider_in_process.h ('k') | webkit/common/gpu/context_provider_web_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698