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

Unified Diff: webkit/plugins/ppapi/fullscreen_container.h

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun Created 7 years, 5 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 | « webkit/plugins/ppapi/event_conversion.cc ('k') | webkit/plugins/ppapi/gfx_conversion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/fullscreen_container.h
===================================================================
--- webkit/plugins/ppapi/fullscreen_container.h (revision 213561)
+++ webkit/plugins/ppapi/fullscreen_container.h (working copy)
@@ -1,47 +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 WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
-#define WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
-
-#include "webkit/plugins/ppapi/plugin_delegate.h"
-
-namespace WebKit {
-struct WebCursorInfo;
-struct WebRect;
-} // namespace WebKit
-
-namespace webkit {
-namespace ppapi {
-
-// This class is like a lightweight WebPluginContainer for fullscreen PPAPI
-// plugins, that only handles painting.
-class FullscreenContainer {
- public:
- // Invalidates the full plugin region.
- virtual void Invalidate() = 0;
-
- // Invalidates a partial region of the plugin.
- virtual void InvalidateRect(const WebKit::WebRect&) = 0;
-
- // Scrolls a partial region of the plugin in the given direction.
- virtual void ScrollRect(int dx, int dy, const WebKit::WebRect&) = 0;
-
- // Destroys the fullscreen window. This also destroys the FullscreenContainer
- // instance.
- virtual void Destroy() = 0;
-
- // Notifies the container that the mouse cursor has changed.
- virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) = 0;
-
- virtual void SetLayer(WebKit::WebLayer* layer) = 0;
-
- protected:
- virtual ~FullscreenContainer() {}
-};
-
-} // namespace ppapi
-} // namespace webkit
-
-#endif // WEBKIT_PLUGINS_PPAPI_PPB_FULLSCREEN_CONTAINER_IMPL_H_
« no previous file with comments | « webkit/plugins/ppapi/event_conversion.cc ('k') | webkit/plugins/ppapi/gfx_conversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698