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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void reloadLoFiImages() override; 135 void reloadLoFiImages() override;
136 void loadRequest(const WebURLRequest&) override; 136 void loadRequest(const WebURLRequest&) override;
137 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override; 137 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques t::CachePolicy) override;
138 void loadData( 138 void loadData(
139 const WebData&, const WebString& mimeType, const WebString& textEncoding , 139 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
140 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide; 140 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide;
141 void loadHTMLString( 141 void loadHTMLString(
142 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 142 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
143 bool replace) override; 143 bool replace) override;
144 void stopLoading() override; 144 void stopLoading() override;
145 void stopLoadingCheckCompletedNow() override;
145 WebDataSource* provisionalDataSource() const override; 146 WebDataSource* provisionalDataSource() const override;
146 WebDataSource* dataSource() const override; 147 WebDataSource* dataSource() const override;
147 void enableViewSourceMode(bool enable) override; 148 void enableViewSourceMode(bool enable) override;
148 bool isViewSourceModeEnabled() const override; 149 bool isViewSourceModeEnabled() const override;
149 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; 150 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override;
150 void dispatchWillSendRequest(WebURLRequest&) override; 151 void dispatchWillSendRequest(WebURLRequest&) override;
151 WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) override ; 152 WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) override ;
152 unsigned unloadListenerCount() const override; 153 unsigned unloadListenerCount() const override;
153 void insertText(const WebString&) override; 154 void insertText(const WebString&) override;
154 void setMarkedText(const WebString&, unsigned location, unsigned length) ove rride; 155 void setMarkedText(const WebString&, unsigned location, unsigned length) ove rride;
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 // cleared upon close(). 408 // cleared upon close().
408 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 409 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
409 #endif 410 #endif
410 }; 411 };
411 412
412 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 413 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
413 414
414 } // namespace blink 415 } // namespace blink
415 416
416 #endif 417 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698