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

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

Issue 2827047: Make RenderView call the plugin through WebKit::WebPlugin (instead of casting... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: compile until webkit is rolled Created 10 years, 5 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_plugin_delegate_impl.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) 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 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 namespace WebKit { 101 namespace WebKit {
102 class WebAccessibilityCache; 102 class WebAccessibilityCache;
103 class WebApplicationCacheHost; 103 class WebApplicationCacheHost;
104 class WebApplicationCacheHostClient; 104 class WebApplicationCacheHostClient;
105 class WebDataSource; 105 class WebDataSource;
106 class WebDragData; 106 class WebDragData;
107 class WebGeolocationServiceInterface; 107 class WebGeolocationServiceInterface;
108 class WebImage; 108 class WebImage;
109 class WebMediaPlayer; 109 class WebMediaPlayer;
110 class WebMediaPlayerClient; 110 class WebMediaPlayerClient;
111 class WebPlugin;
111 class WebStorageNamespace; 112 class WebStorageNamespace;
112 class WebURLRequest; 113 class WebURLRequest;
113 struct WebFileChooserParams; 114 struct WebFileChooserParams;
114 struct WebFindOptions; 115 struct WebFindOptions;
115 struct WebPoint; 116 struct WebPoint;
116 struct WebWindowFeatures; 117 struct WebWindowFeatures;
117 } 118 }
118 119
119 // We need to prevent a page from trying to create infinite popups. It is not 120 // We need to prevent a page from trying to create infinite popups. It is not
120 // as simple as keeping a count of the number of immediate children 121 // as simple as keeping a count of the number of immediate children
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 GURL GetAlternateErrorPageURL(const GURL& failed_url, 874 GURL GetAlternateErrorPageURL(const GURL& failed_url,
874 ErrorPageType error_type); 875 ErrorPageType error_type);
875 876
876 std::string GetAltHTMLForTemplate(const DictionaryValue& error_strings, 877 std::string GetAltHTMLForTemplate(const DictionaryValue& error_strings,
877 int template_resource_id) const; 878 int template_resource_id) const;
878 879
879 // Locates a sub frame with given xpath 880 // Locates a sub frame with given xpath
880 WebKit::WebFrame* GetChildFrame(const std::wstring& frame_xpath) const; 881 WebKit::WebFrame* GetChildFrame(const std::wstring& frame_xpath) const;
881 882
882 // Should only be called if this object wraps a PluginDocument. 883 // Should only be called if this object wraps a PluginDocument.
883 webkit_glue::WebPluginDelegate* GetDelegateForPluginDocument(); 884 WebKit::WebPlugin* GetWebPluginFromPluginDocument();
884 885
885 // Decodes a data: URL image or returns an empty image in case of failure. 886 // Decodes a data: URL image or returns an empty image in case of failure.
886 SkBitmap ImageFromDataUrl(const GURL&) const; 887 SkBitmap ImageFromDataUrl(const GURL&) const;
887 888
888 // Inject toolstrip CSS for extension moles and toolstrips. 889 // Inject toolstrip CSS for extension moles and toolstrips.
889 void InjectToolstripCSS(); 890 void InjectToolstripCSS();
890 891
891 // Inserts a string of CSS in a particular frame. |id| can be specified to 892 // Inserts a string of CSS in a particular frame. |id| can be specified to
892 // give the CSS style element an id, and (if specified) will replace the 893 // give the CSS style element an id, and (if specified) will replace the
893 // element with the same id. 894 // element with the same id.
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1276 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1276 // sections rather than throwing it randomly at the end. If you're adding a 1277 // sections rather than throwing it randomly at the end. If you're adding a
1277 // bunch of stuff, you should probably create a helper class and put your 1278 // bunch of stuff, you should probably create a helper class and put your
1278 // data and methods on that to avoid bloating RenderView more. 1279 // data and methods on that to avoid bloating RenderView more.
1279 // --------------------------------------------------------------------------- 1280 // ---------------------------------------------------------------------------
1280 1281
1281 DISALLOW_COPY_AND_ASSIGN(RenderView); 1282 DISALLOW_COPY_AND_ASSIGN(RenderView);
1282 }; 1283 };
1283 1284
1284 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1285 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698