| 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 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1005 const WebKit::WebPluginParams& params, | 1005 const WebKit::WebPluginParams& params, |
| 1006 const FilePath& path, | 1006 const FilePath& path, |
| 1007 const std::string& mime_type); | 1007 const std::string& mime_type); |
| 1008 | 1008 |
| 1009 // Create a new Pepper plugin. | 1009 // Create a new Pepper plugin. |
| 1010 WebKit::WebPlugin* CreatePepperPlugin(WebKit::WebFrame* frame, | 1010 WebKit::WebPlugin* CreatePepperPlugin(WebKit::WebFrame* frame, |
| 1011 const WebKit::WebPluginParams& params, | 1011 const WebKit::WebPluginParams& params, |
| 1012 const FilePath& path, | 1012 const FilePath& path, |
| 1013 pepper::PluginModule* pepper_module); | 1013 pepper::PluginModule* pepper_module); |
| 1014 | 1014 |
| 1015 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder( | 1015 WebKit::WebPlugin* CreatePluginPlaceholder( |
| 1016 WebKit::WebFrame* frame, | 1016 WebKit::WebFrame* frame, |
| 1017 const WebKit::WebPluginParams& params, | 1017 const WebKit::WebPluginParams& params, |
| 1018 const PluginGroup& group); | 1018 const PluginGroup& group, |
| 1019 int resource_id, |
| 1020 int message_id); |
| 1019 | 1021 |
| 1020 // Sends an IPC notification that the specified content type was blocked. | 1022 // Sends an IPC notification that the specified content type was blocked. |
| 1021 // If the content type requires it, |resource_identifier| names the specific | 1023 // If the content type requires it, |resource_identifier| names the specific |
| 1022 // resource that was blocked (the plugin path in the case of plugins), | 1024 // resource that was blocked (the plugin path in the case of plugins), |
| 1023 // otherwise it's the empty string. | 1025 // otherwise it's the empty string. |
| 1024 void DidBlockContentType(ContentSettingsType settings_type, | 1026 void DidBlockContentType(ContentSettingsType settings_type, |
| 1025 const std::string& resource_identifier); | 1027 const std::string& resource_identifier); |
| 1026 | 1028 |
| 1027 // This callback is triggered when DownloadImage completes, either | 1029 // This callback is triggered when DownloadImage completes, either |
| 1028 // succesfully or with a failure. See DownloadImage for more details. | 1030 // succesfully or with a failure. See DownloadImage for more details. |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1490 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1492 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1491 // sections rather than throwing it randomly at the end. If you're adding a | 1493 // sections rather than throwing it randomly at the end. If you're adding a |
| 1492 // bunch of stuff, you should probably create a helper class and put your | 1494 // bunch of stuff, you should probably create a helper class and put your |
| 1493 // data and methods on that to avoid bloating RenderView more. | 1495 // data and methods on that to avoid bloating RenderView more. |
| 1494 // --------------------------------------------------------------------------- | 1496 // --------------------------------------------------------------------------- |
| 1495 | 1497 |
| 1496 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1498 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1497 }; | 1499 }; |
| 1498 | 1500 |
| 1499 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1501 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |