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

Side by Side Diff: public/web/WebFrameClient.h

Issue 710443002: Add didCreateNewDocument() notification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use didCreateNewDocument() instead Created 6 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 | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) { } 259 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) { }
260 260
261 // The provisional load failed. 261 // The provisional load failed.
262 virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&) { } 262 virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&) { }
263 263
264 // The provisional datasource is now committed. The first part of the 264 // The provisional datasource is now committed. The first part of the
265 // response body has been received, and the encoding of the response 265 // response body has been received, and the encoding of the response
266 // body is known. 266 // body is known.
267 virtual void didCommitProvisionalLoad(WebLocalFrame*, const WebHistoryItem&, WebHistoryCommitType) { } 267 virtual void didCommitProvisionalLoad(WebLocalFrame*, const WebHistoryItem&, WebHistoryCommitType) { }
268 268
269 // The frame's document has just been initialized.
270 virtual void didCreateNewDocument(WebLocalFrame* frame) { }
271
269 // The window object for the frame has been cleared of any extra 272 // The window object for the frame has been cleared of any extra
270 // properties that may have been set by script from the previously 273 // properties that may have been set by script from the previously
271 // loaded document. 274 // loaded document.
272 virtual void didClearWindowObject(WebLocalFrame* frame) { } 275 virtual void didClearWindowObject(WebLocalFrame* frame) { }
273 276
274 // The document element has been created. 277 // The document element has been created.
275 virtual void didCreateDocumentElement(WebLocalFrame*) { } 278 virtual void didCreateDocumentElement(WebLocalFrame*) { }
276 279
277 // The page title is available. 280 // The page title is available.
278 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W ebTextDirection direction) { } 281 virtual void didReceiveTitle(WebLocalFrame* frame, const WebString& title, W ebTextDirection direction) { }
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 // associated with the WebDataSource. 573 // associated with the WebDataSource.
571 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } 574 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; }
572 575
573 protected: 576 protected:
574 virtual ~WebFrameClient() { } 577 virtual ~WebFrameClient() { }
575 }; 578 };
576 579
577 } // namespace blink 580 } // namespace blink
578 581
579 #endif 582 #endif
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698