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

Unified Diff: webkit/common/gpu/grcontext_for_webgraphicscontext3d.h

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: webkit/common/gpu/grcontext_for_webgraphicscontext3d.h
diff --git a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.h b/webkit/common/gpu/grcontext_for_webgraphicscontext3d.h
deleted file mode 100644
index 0d882e8a89ee364625d41f583a559471fd21e9dc..0000000000000000000000000000000000000000
--- a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_COMMON_GPU_GRCONTEXT_FOR_WEBGRAPHICSCONTEXT3D_H_
-#define WEBKIT_COMMON_GPU_GRCONTEXT_FOR_WEBGRAPHICSCONTEXT3D_H_
-
-#include "base/basictypes.h"
-#include "skia/ext/refptr.h"
-#include "webkit/common/gpu/webkit_gpu_export.h"
-
-class GrContext;
-
-namespace gpu_blink {
-class WebGraphicsContext3DImpl;
-}
-
-namespace webkit {
-namespace gpu {
-
-// This class binds an offscreen GrContext to an offscreen context3d. The
-// context3d is used by the GrContext so must be valid as long as this class
-// is alive.
-class WEBKIT_GPU_EXPORT GrContextForWebGraphicsContext3D {
- public:
- explicit GrContextForWebGraphicsContext3D(
- gpu_blink::WebGraphicsContext3DImpl* context3d);
- virtual ~GrContextForWebGraphicsContext3D();
-
- GrContext* get() { return gr_context_.get(); }
-
- void OnLostContext();
- void FreeGpuResources();
-
- private:
- skia::RefPtr<class GrContext> gr_context_;
-
- DISALLOW_COPY_AND_ASSIGN(GrContextForWebGraphicsContext3D);
-};
-
-} // namespace gpu
-} // namespace webkit
-
-#endif // WEBKIT_COMMON_GPU_GRCONTEXT_FOR_WEBGRAPHICSCONTEXT3D_H_
« no previous file with comments | « webkit/common/gpu/context_provider_in_process.cc ('k') | webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698