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

Side by Side Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 169043004: Start commit on last stylesheet loaded if we already have the HTML body (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@deferredcommit
Patch Set: Compile fix Created 6 years, 4 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 | « Source/web/FrameLoaderClientImpl.h ('k') | Source/web/WebViewImpl.h » ('j') | 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, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 if (m_webFrame->client()) 164 if (m_webFrame->client())
165 m_webFrame->client()->didChangeScrollOffset(m_webFrame); 165 m_webFrame->client()->didChangeScrollOffset(m_webFrame);
166 } 166 }
167 167
168 void FrameLoaderClientImpl::didUpdateCurrentHistoryItem() 168 void FrameLoaderClientImpl::didUpdateCurrentHistoryItem()
169 { 169 {
170 if (m_webFrame->client()) 170 if (m_webFrame->client())
171 m_webFrame->client()->didUpdateCurrentHistoryItem(m_webFrame); 171 m_webFrame->client()->didUpdateCurrentHistoryItem(m_webFrame);
172 } 172 }
173 173
174 void FrameLoaderClientImpl::didRemoveAllPendingStylesheet()
175 {
176 WebViewImpl* webview = m_webFrame->viewImpl();
177 if (webview)
178 webview->didRemoveAllPendingStylesheet(m_webFrame);
179 }
180
174 bool FrameLoaderClientImpl::allowScript(bool enabledPerSettings) 181 bool FrameLoaderClientImpl::allowScript(bool enabledPerSettings)
175 { 182 {
176 if (m_webFrame->permissionClient()) 183 if (m_webFrame->permissionClient())
177 return m_webFrame->permissionClient()->allowScript(enabledPerSettings); 184 return m_webFrame->permissionClient()->allowScript(enabledPerSettings);
178 185
179 return enabledPerSettings; 186 return enabledPerSettings;
180 } 187 }
181 188
182 bool FrameLoaderClientImpl::allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) 189 bool FrameLoaderClientImpl::allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL)
183 { 190 {
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 m_webFrame->client()->didAbortLoading(m_webFrame); 829 m_webFrame->client()->didAbortLoading(m_webFrame);
823 } 830 }
824 831
825 void FrameLoaderClientImpl::dispatchDidChangeManifest() 832 void FrameLoaderClientImpl::dispatchDidChangeManifest()
826 { 833 {
827 if (m_webFrame->client()) 834 if (m_webFrame->client())
828 m_webFrame->client()->didChangeManifest(m_webFrame); 835 m_webFrame->client()->didChangeManifest(m_webFrame);
829 } 836 }
830 837
831 } // namespace blink 838 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698