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

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

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/common/render_messages_internal.h ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual WebView* CreateWebView(WebView* webview, bool user_gesture); 199 virtual WebView* CreateWebView(WebView* webview, bool user_gesture);
200 virtual WebWidget* CreatePopupWidget(WebView* webview); 200 virtual WebWidget* CreatePopupWidget(WebView* webview);
201 virtual WebPluginDelegate* CreatePluginDelegate( 201 virtual WebPluginDelegate* CreatePluginDelegate(
202 WebView* webview, 202 WebView* webview,
203 const GURL& url, 203 const GURL& url,
204 const std::string& mime_type, 204 const std::string& mime_type,
205 const std::string& clsid, 205 const std::string& clsid,
206 std::string* actual_mime_type); 206 std::string* actual_mime_type);
207 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status); 207 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status);
208 virtual void OpenURL(WebView* webview, const GURL& url, 208 virtual void OpenURL(WebView* webview, const GURL& url,
209 const GURL& referrer,
209 WindowOpenDisposition disposition); 210 WindowOpenDisposition disposition);
210 virtual void DidDownloadImage(int id, 211 virtual void DidDownloadImage(int id,
211 const GURL& image_url, 212 const GURL& image_url,
212 bool errored, 213 bool errored,
213 const SkBitmap& image); 214 const SkBitmap& image);
214 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, 215 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL,
215 ErrorPageType error_type); 216 ErrorPageType error_type);
216 217
217 virtual void ShowContextMenu(WebView* webview, 218 virtual void ShowContextMenu(WebView* webview,
218 ContextNode::Type type, 219 ContextNode::Type type,
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 // to wait for an ACK from the browser before proceeding. 667 // to wait for an ACK from the browser before proceeding.
667 std::queue<IPC::Message*> queued_resource_messages_; 668 std::queue<IPC::Message*> queued_resource_messages_;
668 669
669 // Set if we are waiting for an ack for ViewHostMsg_CreateWindow 670 // Set if we are waiting for an ack for ViewHostMsg_CreateWindow
670 bool waiting_for_create_window_ack_; 671 bool waiting_for_create_window_ack_;
671 672
672 DISALLOW_COPY_AND_ASSIGN(RenderView); 673 DISALLOW_COPY_AND_ASSIGN(RenderView);
673 }; 674 };
674 675
675 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 676 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698