Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 994 | 994 |
| 995 // Create a new Pepper plugin. | 995 // Create a new Pepper plugin. |
| 996 WebKit::WebPlugin* CreatePepperPlugin(WebKit::WebFrame* frame, | 996 WebKit::WebPlugin* CreatePepperPlugin(WebKit::WebFrame* frame, |
| 997 const WebKit::WebPluginParams& params, | 997 const WebKit::WebPluginParams& params, |
| 998 const FilePath& path, | 998 const FilePath& path, |
| 999 pepper::PluginModule* pepper_module); | 999 pepper::PluginModule* pepper_module); |
| 1000 | 1000 |
| 1001 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder( | 1001 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder( |
| 1002 WebKit::WebFrame* frame, | 1002 WebKit::WebFrame* frame, |
| 1003 const WebKit::WebPluginParams& params, | 1003 const WebKit::WebPluginParams& params, |
| 1004 PluginGroup* group); | 1004 PluginGroup& group); |
|
Bernhard Bauer
2010/12/03 16:13:28
Reference parameters should be const.
Jakob Kummerow
2010/12/06 18:21:12
Done.
| |
| 1005 | 1005 |
| 1006 // Sends an IPC notification that the specified content type was blocked. | 1006 // Sends an IPC notification that the specified content type was blocked. |
| 1007 // If the content type requires it, |resource_identifier| names the specific | 1007 // If the content type requires it, |resource_identifier| names the specific |
| 1008 // resource that was blocked (the plugin path in the case of plugins), | 1008 // resource that was blocked (the plugin path in the case of plugins), |
| 1009 // otherwise it's the empty string. | 1009 // otherwise it's the empty string. |
| 1010 void DidBlockContentType(ContentSettingsType settings_type, | 1010 void DidBlockContentType(ContentSettingsType settings_type, |
| 1011 const std::string& resource_identifier); | 1011 const std::string& resource_identifier); |
| 1012 | 1012 |
| 1013 // This callback is triggered when DownloadImage completes, either | 1013 // This callback is triggered when DownloadImage completes, either |
| 1014 // succesfully or with a failure. See DownloadImage for more details. | 1014 // succesfully or with a failure. See DownloadImage for more details. |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1469 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1469 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1470 // sections rather than throwing it randomly at the end. If you're adding a | 1470 // sections rather than throwing it randomly at the end. If you're adding a |
| 1471 // bunch of stuff, you should probably create a helper class and put your | 1471 // bunch of stuff, you should probably create a helper class and put your |
| 1472 // data and methods on that to avoid bloating RenderView more. | 1472 // data and methods on that to avoid bloating RenderView more. |
| 1473 // --------------------------------------------------------------------------- | 1473 // --------------------------------------------------------------------------- |
| 1474 | 1474 |
| 1475 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1475 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1476 }; | 1476 }; |
| 1477 | 1477 |
| 1478 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1478 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |