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

Unified Diff: chrome/plugin/webplugin_accelerated_surface_proxy_mac.h

Issue 6672048: Move plugin code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | « chrome/plugin/plugin_thread.cc ('k') | chrome/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: chrome/plugin/webplugin_accelerated_surface_proxy_mac.h
===================================================================
--- chrome/plugin/webplugin_accelerated_surface_proxy_mac.h (revision 78372)
+++ chrome/plugin/webplugin_accelerated_surface_proxy_mac.h (working copy)
@@ -1,39 +0,0 @@
-// Copyright (c) 2010 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 CHROME_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_
-#define CHROME_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_
-#pragma once
-
-#include "webkit/plugins/npapi/webplugin_accelerated_surface_mac.h"
-
-class WebPluginProxy;
-class AcceleratedSurface;
-
-// Out-of-process implementation of WebPluginAcceleratedSurface that proxies
-// calls through a WebPluginProxy.
-class WebPluginAcceleratedSurfaceProxy
- : public webkit::npapi::WebPluginAcceleratedSurface {
- public:
- // Creates a new WebPluginAcceleratedSurfaceProxy that uses plugin_proxy
- // to proxy calls. plugin_proxy must outlive this object.
- WebPluginAcceleratedSurfaceProxy(WebPluginProxy* plugin_proxy);
- virtual ~WebPluginAcceleratedSurfaceProxy();
-
- // WebPluginAcceleratedSurface implementation.
- virtual void SetWindowHandle(gfx::PluginWindowHandle window);
- virtual void SetSize(const gfx::Size& size);
- virtual CGLContextObj context();
- virtual void StartDrawing();
- virtual void EndDrawing();
-
- private:
- WebPluginProxy* plugin_proxy_; // Weak ref.
- gfx::PluginWindowHandle window_handle_;
- AcceleratedSurface* surface_;
-
- DISALLOW_COPY_AND_ASSIGN(WebPluginAcceleratedSurfaceProxy);
-};
-
-#endif // CHROME_PLUGIN_WEBPLUGIN_ACCELERATED_SURFACE_PROXY_H_
« no previous file with comments | « chrome/plugin/plugin_thread.cc ('k') | chrome/plugin/webplugin_accelerated_surface_proxy_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698