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

Side by Side Diff: chrome/renderer/render_view.h

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 namespace base { 90 namespace base {
91 class WaitableEvent; 91 class WaitableEvent;
92 } 92 }
93 93
94 namespace gfx { 94 namespace gfx {
95 class Point; 95 class Point;
96 class Rect; 96 class Rect;
97 } 97 }
98 98
99 namespace pepper { 99 namespace webkit {
100 namespace ppapi {
101
100 class PluginInstance; 102 class PluginInstance;
101 class FullscreenContainer; 103 class FullscreenContainer;
102 } 104
105 } // namespace ppapi
106 } // namespace webkit
103 107
104 namespace safe_browsing { 108 namespace safe_browsing {
105 class PhishingClassifierDelegate; 109 class PhishingClassifierDelegate;
106 } 110 }
107 111
108 namespace webkit_glue { 112 namespace webkit_glue {
109 class ImageResourceFetcher; 113 class ImageResourceFetcher;
110 struct FileUploadData; 114 struct FileUploadData;
111 struct FormData; 115 struct FormData;
112 struct PasswordFormFillData; 116 struct PasswordFormFillData;
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // plugin. See default_plugin_shared.h for possible values of |status|. 328 // plugin. See default_plugin_shared.h for possible values of |status|.
325 void OnMissingPluginStatus(WebPluginDelegateProxy* delegate, 329 void OnMissingPluginStatus(WebPluginDelegateProxy* delegate,
326 int status); 330 int status);
327 331
328 // Notification that the given pepper plugin we created is being deleted the 332 // Notification that the given pepper plugin we created is being deleted the
329 // pointer must not be dereferenced as this is called from the destructor of 333 // pointer must not be dereferenced as this is called from the destructor of
330 // the plugin. 334 // the plugin.
331 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin); 335 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin);
332 336
333 // Creates a fullscreen container for a pepper plugin instance. 337 // Creates a fullscreen container for a pepper plugin instance.
334 pepper::FullscreenContainer* CreatePepperFullscreenContainer( 338 webkit::ppapi::FullscreenContainer* CreatePepperFullscreenContainer(
335 pepper::PluginInstance* plugin); 339 webkit::ppapi::PluginInstance* plugin);
336 340
337 // Create a new plugin without checking the content settings. 341 // Create a new plugin without checking the content settings.
338 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, 342 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame,
339 const WebKit::WebPluginParams& params); 343 const WebKit::WebPluginParams& params);
340 344
341 // Asks the browser for the CPBrowsingContext associated with this renderer. 345 // Asks the browser for the CPBrowsingContext associated with this renderer.
342 // This is an opaque identifier associated with the renderer for sending 346 // This is an opaque identifier associated with the renderer for sending
343 // messages for the given "Chrome Plugin." The Chrome Plugin API is used 347 // messages for the given "Chrome Plugin." The Chrome Plugin API is used
344 // only by gears and this function can be deleted when we remove gears. 348 // only by gears and this function can be deleted when we remove gears.
345 uint32 GetCPBrowsingContext(); 349 uint32 GetCPBrowsingContext();
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 // UI that is going to be hosted by this RenderView. 1010 // UI that is going to be hosted by this RenderView.
1007 void CreateDevToolsClient(); 1011 void CreateDevToolsClient();
1008 1012
1009 // Create a new NPAPI plugin. 1013 // Create a new NPAPI plugin.
1010 WebKit::WebPlugin* CreateNPAPIPlugin(WebKit::WebFrame* frame, 1014 WebKit::WebPlugin* CreateNPAPIPlugin(WebKit::WebFrame* frame,
1011 const WebKit::WebPluginParams& params, 1015 const WebKit::WebPluginParams& params,
1012 const FilePath& path, 1016 const FilePath& path,
1013 const std::string& mime_type); 1017 const std::string& mime_type);
1014 1018
1015 // Create a new Pepper plugin. 1019 // Create a new Pepper plugin.
1016 WebKit::WebPlugin* CreatePepperPlugin(WebKit::WebFrame* frame, 1020 WebKit::WebPlugin* CreatePepperPlugin(
1017 const WebKit::WebPluginParams& params, 1021 WebKit::WebFrame* frame,
1018 const FilePath& path, 1022 const WebKit::WebPluginParams& params,
1019 pepper::PluginModule* pepper_module); 1023 const FilePath& path,
1024 webkit::ppapi::PluginModule* pepper_module);
1020 1025
1021 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder( 1026 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder(
1022 WebKit::WebFrame* frame, 1027 WebKit::WebFrame* frame,
1023 const WebKit::WebPluginParams& params, 1028 const WebKit::WebPluginParams& params,
1024 const PluginGroup& group); 1029 const PluginGroup& group);
1025 1030
1026 // Sends an IPC notification that the specified content type was blocked. 1031 // Sends an IPC notification that the specified content type was blocked.
1027 // If the content type requires it, |resource_identifier| names the specific 1032 // If the content type requires it, |resource_identifier| names the specific
1028 // resource that was blocked (the plugin path in the case of plugins), 1033 // resource that was blocked (the plugin path in the case of plugins),
1029 // otherwise it's the empty string. 1034 // otherwise it's the empty string.
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1504 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1500 // sections rather than throwing it randomly at the end. If you're adding a 1505 // sections rather than throwing it randomly at the end. If you're adding a
1501 // bunch of stuff, you should probably create a helper class and put your 1506 // bunch of stuff, you should probably create a helper class and put your
1502 // data and methods on that to avoid bloating RenderView more. 1507 // data and methods on that to avoid bloating RenderView more.
1503 // --------------------------------------------------------------------------- 1508 // ---------------------------------------------------------------------------
1504 1509
1505 DISALLOW_COPY_AND_ASSIGN(RenderView); 1510 DISALLOW_COPY_AND_ASSIGN(RenderView);
1506 }; 1511 };
1507 1512
1508 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1513 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698