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

Side by Side Diff: third_party/WebKit/public/web/WebFrame.h

Issue 1475863005: [Async][WIP] Call FrameLoader::checkCompleted() asynchronously to avoid sync body.onload() Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimRequest.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 // This method is short-hand for calling LoadData, where mime_type is 378 // This method is short-hand for calling LoadData, where mime_type is
379 // "text/html" and text_encoding is "UTF-8". 379 // "text/html" and text_encoding is "UTF-8".
380 virtual void loadHTMLString(const WebData& html, 380 virtual void loadHTMLString(const WebData& html,
381 const WebURL& baseURL, 381 const WebURL& baseURL,
382 const WebURL& unreachableURL = WebURL(), 382 const WebURL& unreachableURL = WebURL(),
383 bool replace = false) = 0; 383 bool replace = false) = 0;
384 384
385 // Stops any pending loads on the frame and its children. 385 // Stops any pending loads on the frame and its children.
386 virtual void stopLoading() = 0; 386 virtual void stopLoading() = 0;
387 387
388 virtual void stopLoadingCheckCompletedNow() { }
389
388 // Returns the data source that is currently loading. May be null. 390 // Returns the data source that is currently loading. May be null.
389 virtual WebDataSource* provisionalDataSource() const = 0; 391 virtual WebDataSource* provisionalDataSource() const = 0;
390 392
391 // Returns the data source that is currently loaded. 393 // Returns the data source that is currently loaded.
392 virtual WebDataSource* dataSource() const = 0; 394 virtual WebDataSource* dataSource() const = 0;
393 395
394 // View-source rendering mode. Set this before loading an URL to cause 396 // View-source rendering mode. Set this before loading an URL to cause
395 // it to be rendered in view-source mode. 397 // it to be rendered in view-source mode.
396 virtual void enableViewSourceMode(bool) = 0; 398 virtual void enableViewSourceMode(bool) = 0;
397 virtual bool isViewSourceModeEnabled() const = 0; 399 virtual bool isViewSourceModeEnabled() const = 0;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 WebFrame* m_firstChild; 627 WebFrame* m_firstChild;
626 WebFrame* m_lastChild; 628 WebFrame* m_lastChild;
627 629
628 WebFrame* m_opener; 630 WebFrame* m_opener;
629 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; 631 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker;
630 }; 632 };
631 633
632 } // namespace blink 634 } // namespace blink
633 635
634 #endif 636 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698