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

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

Issue 6646025: Deleted WebPluginDelegatePepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « chrome/renderer/pepper_widget.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 class Rect; 105 class Rect;
106 } 106 }
107 107
108 namespace webkit { 108 namespace webkit {
109 109
110 namespace npapi { 110 namespace npapi {
111 class PluginGroup; 111 class PluginGroup;
112 } // namespace npapi 112 } // namespace npapi
113 113
114 namespace ppapi { 114 namespace ppapi {
115 class FullscreenContainer;
115 class PluginInstance; 116 class PluginInstance;
116 class FullscreenContainer; 117 class PluginModule;
117 } // namespace ppapi 118 } // namespace ppapi
118 119
119 } // namespace webkit 120 } // namespace webkit
120 121
121 namespace webkit_glue { 122 namespace webkit_glue {
122 struct CustomContextMenuContext; 123 struct CustomContextMenuContext;
123 class ImageResourceFetcher; 124 class ImageResourceFetcher;
124 struct FileUploadData; 125 struct FileUploadData;
125 struct FormData; 126 struct FormData;
126 struct PasswordFormFillData; 127 struct PasswordFormFillData;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 // (See also WebPluginPageDelegate implementation.) 325 // (See also WebPluginPageDelegate implementation.)
325 326
326 // Notification that the given plugin has crashed. 327 // Notification that the given plugin has crashed.
327 void PluginCrashed(const FilePath& plugin_path); 328 void PluginCrashed(const FilePath& plugin_path);
328 329
329 // Notification that the default plugin has done something about a missing 330 // Notification that the default plugin has done something about a missing
330 // plugin. See default_plugin_shared.h for possible values of |status|. 331 // plugin. See default_plugin_shared.h for possible values of |status|.
331 void OnMissingPluginStatus(WebPluginDelegateProxy* delegate, 332 void OnMissingPluginStatus(WebPluginDelegateProxy* delegate,
332 int status); 333 int status);
333 334
334 // Notification that the given pepper plugin we created is being deleted the
335 // pointer must not be dereferenced as this is called from the destructor of
336 // the plugin.
337 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin);
338
339 // Creates a fullscreen container for a pepper plugin instance. 335 // Creates a fullscreen container for a pepper plugin instance.
340 webkit::ppapi::FullscreenContainer* CreatePepperFullscreenContainer( 336 webkit::ppapi::FullscreenContainer* CreatePepperFullscreenContainer(
341 webkit::ppapi::PluginInstance* plugin); 337 webkit::ppapi::PluginInstance* plugin);
342 338
343 // Create a new plugin without checking the content settings. 339 // Create a new plugin without checking the content settings.
344 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, 340 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame,
345 const WebKit::WebPluginParams& params); 341 const WebKit::WebPluginParams& params);
346 342
347 // Asks the browser for the CPBrowsingContext associated with this renderer. 343 // Asks the browser for the CPBrowsingContext associated with this renderer.
348 // This is an opaque identifier associated with the renderer for sending 344 // This is an opaque identifier associated with the renderer for sending
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 // to install itself when user clicks on the info bar. 1293 // to install itself when user clicks on the info bar.
1298 base::WeakPtr<webkit::npapi::WebPluginDelegate> first_default_plugin_; 1294 base::WeakPtr<webkit::npapi::WebPluginDelegate> first_default_plugin_;
1299 1295
1300 PepperPluginDelegateImpl pepper_delegate_; 1296 PepperPluginDelegateImpl pepper_delegate_;
1301 1297
1302 // All the currently active plugin delegates for this RenderView; kept so that 1298 // All the currently active plugin delegates for this RenderView; kept so that
1303 // we can enumerate them to send updates about things like window location 1299 // we can enumerate them to send updates about things like window location
1304 // or tab focus and visibily. These are non-owning references. 1300 // or tab focus and visibily. These are non-owning references.
1305 std::set<WebPluginDelegateProxy*> plugin_delegates_; 1301 std::set<WebPluginDelegateProxy*> plugin_delegates_;
1306 1302
1307 // A list of all Pepper v1 plugins that we've created that haven't been
1308 // destroyed yet. Pepper v2 plugins are tracked by the pepper_delegate_.
1309 std::set<WebPluginDelegatePepper*> current_oldstyle_pepper_plugins_;
1310
1311 // Helper objects ------------------------------------------------------------ 1303 // Helper objects ------------------------------------------------------------
1312 1304
1313 ScopedRunnableMethodFactory<RenderView> page_info_method_factory_; 1305 ScopedRunnableMethodFactory<RenderView> page_info_method_factory_;
1314 ScopedRunnableMethodFactory<RenderView> accessibility_method_factory_; 1306 ScopedRunnableMethodFactory<RenderView> accessibility_method_factory_;
1315 1307
1316 RendererWebCookieJarImpl cookie_jar_; 1308 RendererWebCookieJarImpl cookie_jar_;
1317 1309
1318 // The next group of objects all implement RenderViewObserver, so are deleted 1310 // The next group of objects all implement RenderViewObserver, so are deleted
1319 // along with the RenderView automatically. This is why we just store weak 1311 // along with the RenderView automatically. This is why we just store weak
1320 // references. 1312 // references.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 // bunch of stuff, you should probably create a helper class and put your 1446 // bunch of stuff, you should probably create a helper class and put your
1455 // data and methods on that to avoid bloating RenderView more. You can use 1447 // data and methods on that to avoid bloating RenderView more. You can use
1456 // the Observer interface to filter IPC messages and receive frame change 1448 // the Observer interface to filter IPC messages and receive frame change
1457 // notifications. 1449 // notifications.
1458 // --------------------------------------------------------------------------- 1450 // ---------------------------------------------------------------------------
1459 1451
1460 DISALLOW_COPY_AND_ASSIGN(RenderView); 1452 DISALLOW_COPY_AND_ASSIGN(RenderView);
1461 }; 1453 };
1462 1454
1463 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1455 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper_widget.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698