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

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

Issue 5516004: Clean up PluginGroup and related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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
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 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 992
993 // Create a new Pepper plugin. 993 // Create a new Pepper plugin.
994 WebKit::WebPlugin* CreatePepperPlugin(WebKit::WebFrame* frame, 994 WebKit::WebPlugin* CreatePepperPlugin(WebKit::WebFrame* frame,
995 const WebKit::WebPluginParams& params, 995 const WebKit::WebPluginParams& params,
996 const FilePath& path, 996 const FilePath& path,
997 pepper::PluginModule* pepper_module); 997 pepper::PluginModule* pepper_module);
998 998
999 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder( 999 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder(
1000 WebKit::WebFrame* frame, 1000 WebKit::WebFrame* frame,
1001 const WebKit::WebPluginParams& params, 1001 const WebKit::WebPluginParams& params,
1002 PluginGroup* group); 1002 const PluginGroup& group);
1003 1003
1004 // Sends an IPC notification that the specified content type was blocked. 1004 // Sends an IPC notification that the specified content type was blocked.
1005 // If the content type requires it, |resource_identifier| names the specific 1005 // If the content type requires it, |resource_identifier| names the specific
1006 // resource that was blocked (the plugin path in the case of plugins), 1006 // resource that was blocked (the plugin path in the case of plugins),
1007 // otherwise it's the empty string. 1007 // otherwise it's the empty string.
1008 void DidBlockContentType(ContentSettingsType settings_type, 1008 void DidBlockContentType(ContentSettingsType settings_type,
1009 const std::string& resource_identifier); 1009 const std::string& resource_identifier);
1010 1010
1011 // This callback is triggered when DownloadImage completes, either 1011 // This callback is triggered when DownloadImage completes, either
1012 // succesfully or with a failure. See DownloadImage for more details. 1012 // succesfully or with a failure. See DownloadImage for more details.
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1467 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1467 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1468 // sections rather than throwing it randomly at the end. If you're adding a 1468 // sections rather than throwing it randomly at the end. If you're adding a
1469 // bunch of stuff, you should probably create a helper class and put your 1469 // bunch of stuff, you should probably create a helper class and put your
1470 // data and methods on that to avoid bloating RenderView more. 1470 // data and methods on that to avoid bloating RenderView more.
1471 // --------------------------------------------------------------------------- 1471 // ---------------------------------------------------------------------------
1472 1472
1473 DISALLOW_COPY_AND_ASSIGN(RenderView); 1473 DISALLOW_COPY_AND_ASSIGN(RenderView);
1474 }; 1474 };
1475 1475
1476 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1476 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698