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

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

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
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 "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 10 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // pepper::FullscreenContainer API. 47 // pepper::FullscreenContainer API.
48 virtual void Invalidate() OVERRIDE; 48 virtual void Invalidate() OVERRIDE;
49 virtual void InvalidateRect(const WebKit::WebRect& rect) OVERRIDE; 49 virtual void InvalidateRect(const WebKit::WebRect& rect) OVERRIDE;
50 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect& rect) OVERRIDE; 50 virtual void ScrollRect(int dx, int dy, const WebKit::WebRect& rect) OVERRIDE;
51 virtual void Destroy() OVERRIDE; 51 virtual void Destroy() OVERRIDE;
52 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) OVERRIDE; 52 virtual void DidChangeCursor(const WebKit::WebCursorInfo& cursor) OVERRIDE;
53 virtual webkit::ppapi::PluginDelegate::PlatformContext3D* 53 virtual webkit::ppapi::PluginDelegate::PlatformContext3D*
54 CreateContext3D() OVERRIDE; 54 CreateContext3D() OVERRIDE;
55 virtual MouseLockDispatcher* GetMouseLockDispatcher() OVERRIDE; 55 virtual MouseLockDispatcher* GetMouseLockDispatcher() OVERRIDE;
56 56
57 // IPC::Channel::Listener implementation. This overrides the implementation 57 // IPC::Listener implementation. This overrides the implementation
58 // in RenderWidgetFullscreen. 58 // in RenderWidgetFullscreen.
59 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 59 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
60 60
61 WebGraphicsContext3DCommandBufferImpl* context() const { return context_; } 61 WebGraphicsContext3DCommandBufferImpl* context() const { return context_; }
62 void SwapBuffers(); 62 void SwapBuffers();
63 63
64 // Could be NULL when this widget is closing. 64 // Could be NULL when this widget is closing.
65 webkit::ppapi::PluginInstance* plugin() const { return plugin_; } 65 webkit::ppapi::PluginInstance* plugin() const { return plugin_; }
66 66
67 protected: 67 protected:
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 unsigned int program_; 116 unsigned int program_;
117 117
118 base::WeakPtrFactory<RenderWidgetFullscreenPepper> weak_ptr_factory_; 118 base::WeakPtrFactory<RenderWidgetFullscreenPepper> weak_ptr_factory_;
119 119
120 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; 120 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); 122 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper);
123 }; 123 };
124 124
125 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 125 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698