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

Side by Side Diff: Source/WebKit/chromium/public/WebFrameClient.h

Issue 13934004: Plumb an event through to content/ that is sent just before 'onload'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 217
218 // The page title is available. 218 // The page title is available.
219 virtual void didReceiveTitle(WebFrame* frame, const WebString& title, WebTex tDirection direction) { } 219 virtual void didReceiveTitle(WebFrame* frame, const WebString& title, WebTex tDirection direction) { }
220 220
221 // The icon for the page have changed. 221 // The icon for the page have changed.
222 virtual void didChangeIcon(WebFrame*, WebIconURL::Type) { } 222 virtual void didChangeIcon(WebFrame*, WebIconURL::Type) { }
223 223
224 // The frame's document finished loading. 224 // The frame's document finished loading.
225 virtual void didFinishDocumentLoad(WebFrame*) { } 225 virtual void didFinishDocumentLoad(WebFrame*) { }
226 226
227 // The 'load' event is about to be dispatched.
228 virtual void willHandleOnloadEvents(WebFrame*) { }
229
227 // The 'load' event was dispatched. 230 // The 'load' event was dispatched.
228 virtual void didHandleOnloadEvents(WebFrame*) { } 231 virtual void didHandleOnloadEvents(WebFrame*) { }
229 232
230 // The frame's document or one of its subresources failed to load. 233 // The frame's document or one of its subresources failed to load.
231 virtual void didFailLoad(WebFrame*, const WebURLError&) { } 234 virtual void didFailLoad(WebFrame*, const WebURLError&) { }
232 235
233 // The frame's document and all of its subresources succeeded to load. 236 // The frame's document and all of its subresources succeeded to load.
234 virtual void didFinishLoad(WebFrame*) { } 237 virtual void didFinishLoad(WebFrame*) { }
235 238
236 // The navigation resulted in no change to the documents within the page. 239 // The navigation resulted in no change to the documents within the page.
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 // Extensions3D.h in WebCore/platform/graphics). 442 // Extensions3D.h in WebCore/platform/graphics).
440 virtual void didLoseWebGLContext(WebFrame*, int) { } 443 virtual void didLoseWebGLContext(WebFrame*, int) { }
441 444
442 protected: 445 protected:
443 ~WebFrameClient() { } 446 ~WebFrameClient() { }
444 }; 447 };
445 448
446 } // namespace WebKit 449 } // namespace WebKit
447 450
448 #endif 451 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/loader/FrameLoaderClient.h ('k') | Source/WebKit/chromium/src/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698