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

Unified Diff: webkit/glue/webview.h

Issue 200054: Hook up WebFrameClient, replacing many WebViewDelegate methods.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview.h
===================================================================
--- webkit/glue/webview.h (revision 25715)
+++ webkit/glue/webview.h (working copy)
@@ -15,6 +15,7 @@
namespace WebKit {
class WebDragData;
class WebEditingClient;
+class WebFrameClient;
class WebFrame;
class WebSettings;
struct WebPoint;
@@ -57,9 +58,10 @@
static WebView* Create(
WebViewDelegate* delegate, WebKit::WebEditingClient* editing_client);
- // After creating a WebView, you should immediately call this function.
- // You can optionally modify the settings (via GetSettings()) in between.
- virtual void InitializeMainFrame() = 0;
+ // After creating a WebView, you should immediately call this function. You
+ // can optionally modify the settings (via GetSettings()) in between. The
+ // frame_client will receive events for the main frame and any child frames.
+ virtual void InitializeMainFrame(WebKit::WebFrameClient* frame_client) = 0;
// Tells all Page instances of this view to update the visited link state for
// the specified hash.
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698