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

Unified Diff: gpu/blink/webgraphicscontext3d_impl.h

Issue 1907783002: Delete //gpu/blink/ and WebGraphicsContext3DImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm-webgraphicscontext3dimpl: noflush Created 4 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
« no previous file with comments | « gpu/blink/gpu_blink_export.h ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/blink/webgraphicscontext3d_impl.h
diff --git a/gpu/blink/webgraphicscontext3d_impl.h b/gpu/blink/webgraphicscontext3d_impl.h
deleted file mode 100644
index ee8ff724903c80639ff253cae3afc1c283a83420..0000000000000000000000000000000000000000
--- a/gpu/blink/webgraphicscontext3d_impl.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright (c) 2012 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 GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
-#define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
-
-#include <stdint.h>
-
-#include <memory>
-#include <string>
-#include <vector>
-
-#include "base/callback.h"
-#include "gpu/blink/gpu_blink_export.h"
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-
-namespace gpu {
-
-namespace gles2 {
-class GLES2Interface;
-struct ContextCreationAttribHelper;
-}
-}
-
-namespace gpu_blink {
-
-class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
- : public NON_EXPORTED_BASE(blink::WebGraphicsContext3D) {
- public:
- ~WebGraphicsContext3DImpl() override;
-
- //----------------------------------------------------------------------
- // WebGraphicsContext3D methods
-
- void setContextLostCallback(
- WebGraphicsContext3D::WebGraphicsContextLostCallback* callback);
-
- ::gpu::gles2::GLES2Interface* GetGLInterface() {
- return gl_;
- }
-
- protected:
- WebGraphicsContext3DImpl();
-
- void SetGLInterface(::gpu::gles2::GLES2Interface* gl) { gl_ = gl; }
-
- bool initialized_;
- bool initialize_failed_;
-
- WebGraphicsContextLostCallback* context_lost_callback_;
-
- ::gpu::gles2::GLES2Interface* gl_;
- bool lose_context_when_out_of_memory_;
-};
-
-} // namespace gpu_blink
-
-#endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_
« no previous file with comments | « gpu/blink/gpu_blink_export.h ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698