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

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

Issue 19894003: Move webplugininfo.h to content/public. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 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 // This interface is used by RenderView to talk to the pepper plugin delegate. 5 // This interface is used by RenderView to talk to the pepper plugin delegate.
6 #ifndef CONTENT_RENDERER_RENDER_VIEW_PEPPER_HELPER_H 6 #ifndef CONTENT_RENDERER_RENDER_VIEW_PEPPER_HELPER_H
7 #define CONTENT_RENDERER_RENDER_VIEW_PEPPER_HELPER_H 7 #define CONTENT_RENDERER_RENDER_VIEW_PEPPER_HELPER_H
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 13 matching lines...) Expand all
24 24
25 namespace IPC { 25 namespace IPC {
26 struct ChannelHandle; 26 struct ChannelHandle;
27 } 27 }
28 28
29 namespace ui { 29 namespace ui {
30 class Range; 30 class Range;
31 } 31 }
32 32
33 namespace webkit { 33 namespace webkit {
34 struct WebPluginInfo;
35 namespace ppapi { 34 namespace ppapi {
36 class PluginInstance; 35 class PluginInstance;
37 } 36 }
38 } 37 }
39 38
40 namespace WebKit { 39 namespace WebKit {
41 struct WebCompositionUnderline; 40 struct WebCompositionUnderline;
42 struct WebPluginParams; 41 struct WebPluginParams;
43 class WebPlugin; 42 class WebPlugin;
44 } 43 }
45 44
46 namespace content { 45 namespace content {
46 struct WebPluginInfo;
47 47
48 class CONTENT_EXPORT RenderViewPepperHelper { 48 class CONTENT_EXPORT RenderViewPepperHelper {
49 public: 49 public:
50 RenderViewPepperHelper() {} 50 RenderViewPepperHelper() {}
51 virtual ~RenderViewPepperHelper(); 51 virtual ~RenderViewPepperHelper();
52 52
53 virtual WebKit::WebPlugin* CreatePepperWebPlugin( 53 virtual WebKit::WebPlugin* CreatePepperWebPlugin(
54 const webkit::WebPluginInfo& webplugin_info, 54 const WebPluginInfo& webplugin_info,
55 const WebKit::WebPluginParams& params); 55 const WebKit::WebPluginParams& params);
56 56
57 // Called by RenderView to implement the corresponding function in its base 57 // Called by RenderView to implement the corresponding function in its base
58 // class RenderWidget (see that for more). 58 // class RenderWidget (see that for more).
59 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint( 59 virtual webkit::ppapi::PluginInstance* GetBitmapForOptimizedPluginPaint(
60 const gfx::Rect& paint_bounds, 60 const gfx::Rect& paint_bounds,
61 TransportDIB** dib, 61 TransportDIB** dib,
62 gfx::Rect* location, 62 gfx::Rect* location,
63 gfx::Rect* clip, 63 gfx::Rect* clip,
64 float* scale_factor); 64 float* scale_factor);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // Notification that a mouse event has arrived at the render view. 110 // Notification that a mouse event has arrived at the render view.
111 virtual void WillHandleMouseEvent() {} 111 virtual void WillHandleMouseEvent() {}
112 112
113 private: 113 private:
114 DISALLOW_COPY_AND_ASSIGN(RenderViewPepperHelper); 114 DISALLOW_COPY_AND_ASSIGN(RenderViewPepperHelper);
115 }; 115 };
116 116
117 } // namespace content 117 } // namespace content
118 118
119 #endif // CONTENT_RENDERER_RENDER_VIEW_PEPPER_HELPER_H 119 #endif // CONTENT_RENDERER_RENDER_VIEW_PEPPER_HELPER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698