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

Unified Diff: components/html_viewer/web_graphics_context_3d_command_buffer_impl.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
diff --git a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h b/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
deleted file mode 100644
index d6a122adf99d6002a5996574ee30f1de724358f6..0000000000000000000000000000000000000000
--- a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2015 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 COMPONENTS_HTML_VIEWER_WEB_GRAPHICS_CONTEXT_3D_COMMAND_BUFFER_IMPL_H_
-#define COMPONENTS_HTML_VIEWER_WEB_GRAPHICS_CONTEXT_3D_COMMAND_BUFFER_IMPL_H_
-
-#include "base/macros.h"
-#include "components/mus/public/interfaces/command_buffer.mojom.h"
-#include "gpu/blink/webgraphicscontext3d_impl.h"
-#include "mojo/public/c/gles2/gles2.h"
-#include "mojo/public/cpp/system/core.h"
-#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-#include "url/gurl.h"
-
-namespace mojo {
-class Shell;
-}
-
-namespace gpu {
- class ContextSupport;
- namespace gles2 { class GLES2Interface; }
-}
-
-namespace html_viewer {
-
-class GlobalState;
-
-class WebGraphicsContext3DCommandBufferImpl
- : public gpu_blink::WebGraphicsContext3DImpl {
- public:
- static WebGraphicsContext3DCommandBufferImpl* CreateOffscreenContext(
- GlobalState* global_state,
- mojo::Shell* shell,
- const GURL& active_url,
- const blink::WebGraphicsContext3D::Attributes& attributes,
- blink::WebGraphicsContext3D* share_context,
- blink::WebGraphicsContext3D::WebGraphicsInfo* gl_info);
-
- private:
- WebGraphicsContext3DCommandBufferImpl(
- mojo::InterfacePtrInfo<mus::mojom::CommandBuffer> command_buffer_info,
- const GURL& active_url,
- const blink::WebGraphicsContext3D::Attributes& attributes,
- blink::WebGraphicsContext3D* share_context);
- ~WebGraphicsContext3DCommandBufferImpl() override;
-
- static void ContextLostThunk(void* closure) {
- static_cast<WebGraphicsContext3DCommandBufferImpl*>(closure)->ContextLost();
- }
- void ContextLost();
-
- MojoGLES2Context gles2_context_;
- scoped_ptr<gpu::gles2::GLES2Interface> context_gl_;
-
- DISALLOW_COPY_AND_ASSIGN(WebGraphicsContext3DCommandBufferImpl);
-};
-
-} // namespace html_viewer
-
-#endif // COMPONENTS_HTML_VIEWER_WEB_GRAPHICS_CONTEXT_3D_COMMAND_BUFFER_IMPL_H_
« no previous file with comments | « components/html_viewer/web_cookie_jar_impl.cc ('k') | components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698