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

Unified Diff: content/browser/android/in_process/context_provider_in_process.cc

Issue 1102673007: content: Move the remaining source files of webkit/ over here. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/android/in_process/context_provider_in_process.cc
diff --git a/webkit/common/gpu/context_provider_in_process.cc b/content/browser/android/in_process/context_provider_in_process.cc
similarity index 97%
rename from webkit/common/gpu/context_provider_in_process.cc
rename to content/browser/android/in_process/context_provider_in_process.cc
index 87b5df6297239a73083d1b8af17e1092ff1d787b..ed26bd5e330943f297f8689c15073243a5424cfa 100644
--- a/webkit/common/gpu/context_provider_in_process.cc
+++ b/content/browser/android/in_process/context_provider_in_process.cc
@@ -2,20 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/common/gpu/context_provider_in_process.h"
+#include "content/browser/android/in_process/context_provider_in_process.h"
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/strings/stringprintf.h"
#include "cc/output/managed_memory_policy.h"
+#include "content/common/gpu/client/grcontext_for_webgraphicscontext3d.h"
#include "gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
-#include "webkit/common/gpu/grcontext_for_webgraphicscontext3d.h"
using gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl;
-namespace webkit {
-namespace gpu {
+namespace content {
class ContextProviderInProcess::LostContextCallbackProxy
: public blink::WebGraphicsContext3D::WebGraphicsContextLostCallback {
@@ -224,5 +223,4 @@ void ContextProviderInProcess::SetMemoryPolicyChangedCallback(
// There's no memory manager for the in-process implementation.
}
-} // namespace gpu
-} // namespace webkit
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698