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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 plugins { |
| 101 namespace ppapi { |
| 102 |
100 class PluginInstance; | 103 class PluginInstance; |
101 class FullscreenContainer; | 104 class FullscreenContainer; |
102 } | 105 |
| 106 } // namespace ppapi |
| 107 } // namespace plugins |
| 108 } // namespace webkit |
103 | 109 |
104 namespace safe_browsing { | 110 namespace safe_browsing { |
105 class PhishingClassifierDelegate; | 111 class PhishingClassifierDelegate; |
106 } | 112 } |
107 | 113 |
108 namespace webkit_glue { | 114 namespace webkit_glue { |
109 class ImageResourceFetcher; | 115 class ImageResourceFetcher; |
110 struct FileUploadData; | 116 struct FileUploadData; |
111 struct FormData; | 117 struct FormData; |
112 struct PasswordFormFillData; | 118 struct PasswordFormFillData; |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 // plugin. See default_plugin_shared.h for possible values of |status|. | 330 // plugin. See default_plugin_shared.h for possible values of |status|. |
325 void OnMissingPluginStatus(WebPluginDelegateProxy* delegate, | 331 void OnMissingPluginStatus(WebPluginDelegateProxy* delegate, |
326 int status); | 332 int status); |
327 | 333 |
328 // Notification that the given pepper plugin we created is being deleted the | 334 // 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 | 335 // pointer must not be dereferenced as this is called from the destructor of |
330 // the plugin. | 336 // the plugin. |
331 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin); | 337 void OnPepperPluginDestroy(WebPluginDelegatePepper* pepper_plugin); |
332 | 338 |
333 // Creates a fullscreen container for a pepper plugin instance. | 339 // Creates a fullscreen container for a pepper plugin instance. |
334 pepper::FullscreenContainer* CreatePepperFullscreenContainer( | 340 webkit::plugins::ppapi::FullscreenContainer* CreatePepperFullscreenContainer( |
335 pepper::PluginInstance* plugin); | 341 webkit::plugins::ppapi::PluginInstance* plugin); |
336 | 342 |
337 // Create a new plugin without checking the content settings. | 343 // Create a new plugin without checking the content settings. |
338 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, | 344 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, |
339 const WebKit::WebPluginParams& params); | 345 const WebKit::WebPluginParams& params); |
340 | 346 |
341 // Asks the browser for the CPBrowsingContext associated with this renderer. | 347 // Asks the browser for the CPBrowsingContext associated with this renderer. |
342 // This is an opaque identifier associated with the renderer for sending | 348 // This is an opaque identifier associated with the renderer for sending |
343 // messages for the given "Chrome Plugin." The Chrome Plugin API is used | 349 // 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. | 350 // only by gears and this function can be deleted when we remove gears. |
345 uint32 GetCPBrowsingContext(); | 351 uint32 GetCPBrowsingContext(); |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 // UI that is going to be hosted by this RenderView. | 1012 // UI that is going to be hosted by this RenderView. |
1007 void CreateDevToolsClient(); | 1013 void CreateDevToolsClient(); |
1008 | 1014 |
1009 // Create a new NPAPI plugin. | 1015 // Create a new NPAPI plugin. |
1010 WebKit::WebPlugin* CreateNPAPIPlugin(WebKit::WebFrame* frame, | 1016 WebKit::WebPlugin* CreateNPAPIPlugin(WebKit::WebFrame* frame, |
1011 const WebKit::WebPluginParams& params, | 1017 const WebKit::WebPluginParams& params, |
1012 const FilePath& path, | 1018 const FilePath& path, |
1013 const std::string& mime_type); | 1019 const std::string& mime_type); |
1014 | 1020 |
1015 // Create a new Pepper plugin. | 1021 // Create a new Pepper plugin. |
1016 WebKit::WebPlugin* CreatePepperPlugin(WebKit::WebFrame* frame, | 1022 WebKit::WebPlugin* CreatePepperPlugin( |
1017 const WebKit::WebPluginParams& params, | 1023 WebKit::WebFrame* frame, |
1018 const FilePath& path, | 1024 const WebKit::WebPluginParams& params, |
1019 pepper::PluginModule* pepper_module); | 1025 const FilePath& path, |
| 1026 webkit::plugins::ppapi::PluginModule* pepper_module); |
1020 | 1027 |
1021 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder( | 1028 WebKit::WebPlugin* CreateOutdatedPluginPlaceholder( |
1022 WebKit::WebFrame* frame, | 1029 WebKit::WebFrame* frame, |
1023 const WebKit::WebPluginParams& params, | 1030 const WebKit::WebPluginParams& params, |
1024 const PluginGroup& group); | 1031 const PluginGroup& group); |
1025 | 1032 |
1026 // Sends an IPC notification that the specified content type was blocked. | 1033 // Sends an IPC notification that the specified content type was blocked. |
1027 // If the content type requires it, |resource_identifier| names the specific | 1034 // If the content type requires it, |resource_identifier| names the specific |
1028 // resource that was blocked (the plugin path in the case of plugins), | 1035 // resource that was blocked (the plugin path in the case of plugins), |
1029 // otherwise it's the empty string. | 1036 // otherwise it's the empty string. |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1499 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1506 // 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 | 1507 // 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 | 1508 // bunch of stuff, you should probably create a helper class and put your |
1502 // data and methods on that to avoid bloating RenderView more. | 1509 // data and methods on that to avoid bloating RenderView more. |
1503 // --------------------------------------------------------------------------- | 1510 // --------------------------------------------------------------------------- |
1504 | 1511 |
1505 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1512 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1506 }; | 1513 }; |
1507 | 1514 |
1508 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1515 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |