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

Side by Side Diff: content/renderer/render_widget_fullscreen_pepper.h

Issue 16290005: Move Pepper to using mailboxes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/renderer/mouse_lock_dispatcher.h" 9 #include "content/renderer/mouse_lock_dispatcher.h"
10 #include "content/renderer/render_widget_fullscreen.h" 10 #include "content/renderer/render_widget_fullscreen.h"
(...skipping 26 matching lines...) Expand all
37 webkit::ppapi::PluginInstance* plugin, 37 webkit::ppapi::PluginInstance* plugin,
38 const GURL& active_url, 38 const GURL& active_url,
39 const WebKit::WebScreenInfo& screen_info); 39 const WebKit::WebScreenInfo& screen_info);
40 40
41 // pepper::FullscreenContainer API. 41 // pepper::FullscreenContainer API.
42 virtual void Invalidate() OVERRIDE; 42 virtual void Invalidate() OVERRIDE;
43 virtual void InvalidateRect(const WebKit::WebRect& rect) OVERRIDE; 43 virtual void InvalidateRect(const WebKit::WebRect& rect) OVERRIDE;
44 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect& rect) OVERRIDE; 44 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect& rect) OVERRIDE;
45 virtual void Destroy() OVERRIDE; 45 virtual void Destroy() OVERRIDE;
46 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) OVERRIDE; 46 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) OVERRIDE;
47 virtual webkit::ppapi::PluginDelegate::PlatformContext3D*
48 CreateContext3D() OVERRIDE;
49 virtual void ReparentContext(
50 webkit::ppapi::PluginDelegate::PlatformContext3D*) OVERRIDE;
51 virtual void SetLayer(WebKit::WebLayer* layer) OVERRIDE; 47 virtual void SetLayer(WebKit::WebLayer* layer) OVERRIDE;
52 48
53 // IPC::Listener implementation. This overrides the implementation 49 // IPC::Listener implementation. This overrides the implementation
54 // in RenderWidgetFullscreen. 50 // in RenderWidgetFullscreen.
55 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 51 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
56 52
57 // Could be NULL when this widget is closing. 53 // Could be NULL when this widget is closing.
58 webkit::ppapi::PluginInstance* plugin() const { return plugin_; } 54 webkit::ppapi::PluginInstance* plugin() const { return plugin_; }
59 55
60 MouseLockDispatcher* mouse_lock_dispatcher() const { 56 MouseLockDispatcher* mouse_lock_dispatcher() const {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 WebKit::WebLayer* layer_; 95 WebKit::WebLayer* layer_;
100 96
101 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; 97 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_;
102 98
103 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); 99 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper);
104 }; 100 };
105 101
106 } // namespace content 102 } // namespace content
107 103
108 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 104 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698