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

Unified Diff: content/plugin/webplugin_accelerated_surface_proxy_mac.h

Issue 1852593004: Remove content/plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_npapi_test_plugin
Patch Set: . Created 4 years, 9 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 | « content/plugin/plugin_thread.cc ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/webplugin_accelerated_surface_proxy_mac.h
diff --git a/content/plugin/webplugin_accelerated_surface_proxy_mac.h b/content/plugin/webplugin_accelerated_surface_proxy_mac.h
deleted file mode 100644
index 6de53788a7c74b2b7244fce7f644273cab699f8d..0000000000000000000000000000000000000000
--- a/content/plugin/webplugin_accelerated_surface_proxy_mac.h
+++ /dev/null
@@ -1,49 +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 CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_
-#define CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "content/child/npapi/webplugin_accelerated_surface_mac.h"
-#include "ui/gl/gpu_preference.h"
-
-class AcceleratedSurface;
-
-namespace content {
-class WebPluginProxy;
-
-// Out-of-process implementation of WebPluginAcceleratedSurface that proxies
-// calls through a WebPluginProxy.
-class WebPluginAcceleratedSurfaceProxy : public WebPluginAcceleratedSurface {
- public:
- // Creates a new WebPluginAcceleratedSurfaceProxy that uses plugin_proxy
- // to proxy calls. plugin_proxy must outlive this object. Returns NULL if
- // initialization fails.
- static WebPluginAcceleratedSurfaceProxy* Create(
- WebPluginProxy* plugin_proxy,
- gfx::GpuPreference gpu_preference);
-
- ~WebPluginAcceleratedSurfaceProxy() override;
-
- // WebPluginAcceleratedSurface implementation.
- void SetSize(const gfx::Size& size) override;
- CGLContextObj context() override;
- void StartDrawing() override;
- void EndDrawing() override;
-
- private:
- WebPluginAcceleratedSurfaceProxy(WebPluginProxy* plugin_proxy,
- AcceleratedSurface* surface);
-
- WebPluginProxy* plugin_proxy_; // Weak ref.
- AcceleratedSurface* surface_;
-
- DISALLOW_COPY_AND_ASSIGN(WebPluginAcceleratedSurfaceProxy);
-};
-
-} // namespace content
-
-#endif // CONTENT_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_MAC_H_
« no previous file with comments | « content/plugin/plugin_thread.cc ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698