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

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

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/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 const WTF::String&, bool loadManually, DetachedPluginPolicy) OVERRIDE; 123 const WTF::String&, bool loadManually, DetachedPluginPolicy) OVERRIDE;
124 virtual PassRefPtr<blink::Widget> createJavaAppletWidget( 124 virtual PassRefPtr<blink::Widget> createJavaAppletWidget(
125 blink::HTMLAppletElement*, 125 blink::HTMLAppletElement*,
126 const blink::KURL& /* base_url */, 126 const blink::KURL& /* base_url */,
127 const Vector<WTF::String>& paramNames, 127 const Vector<WTF::String>& paramNames,
128 const Vector<WTF::String>& paramValues) OVERRIDE; 128 const Vector<WTF::String>& paramValues) OVERRIDE;
129 virtual blink::ObjectContentType objectContentType( 129 virtual blink::ObjectContentType objectContentType(
130 const blink::KURL&, const WTF::String& mimeType, bool shouldPreferPlugIn sForImages) OVERRIDE; 130 const blink::KURL&, const WTF::String& mimeType, bool shouldPreferPlugIn sForImages) OVERRIDE;
131 virtual void didChangeScrollOffset() OVERRIDE; 131 virtual void didChangeScrollOffset() OVERRIDE;
132 virtual void didUpdateCurrentHistoryItem() OVERRIDE; 132 virtual void didUpdateCurrentHistoryItem() OVERRIDE;
133 virtual void didRemoveAllPendingStylesheet() OVERRIDE;
133 virtual bool allowScript(bool enabledPerSettings) OVERRIDE; 134 virtual bool allowScript(bool enabledPerSettings) OVERRIDE;
134 virtual bool allowScriptFromSource(bool enabledPerSettings, const blink::KUR L& scriptURL) OVERRIDE; 135 virtual bool allowScriptFromSource(bool enabledPerSettings, const blink::KUR L& scriptURL) OVERRIDE;
135 virtual bool allowPlugins(bool enabledPerSettings) OVERRIDE; 136 virtual bool allowPlugins(bool enabledPerSettings) OVERRIDE;
136 virtual bool allowImage(bool enabledPerSettings, const blink::KURL& imageURL ) OVERRIDE; 137 virtual bool allowImage(bool enabledPerSettings, const blink::KURL& imageURL ) OVERRIDE;
137 virtual bool allowMedia(const blink::KURL& mediaURL) OVERRIDE; 138 virtual bool allowMedia(const blink::KURL& mediaURL) OVERRIDE;
138 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, blink:: SecurityOrigin*, const blink::KURL&) OVERRIDE; 139 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, blink:: SecurityOrigin*, const blink::KURL&) OVERRIDE;
139 virtual bool allowRunningInsecureContent(bool enabledPerSettings, blink::Sec urityOrigin*, const blink::KURL&) OVERRIDE; 140 virtual bool allowRunningInsecureContent(bool enabledPerSettings, blink::Sec urityOrigin*, const blink::KURL&) OVERRIDE;
140 virtual void didNotAllowScript() OVERRIDE; 141 virtual void didNotAllowScript() OVERRIDE;
141 virtual void didNotAllowPlugins() OVERRIDE; 142 virtual void didNotAllowPlugins() OVERRIDE;
142 143
(...skipping 30 matching lines...) Expand all
173 // The WebFrame that owns this object and manages its lifetime. Therefore, 174 // The WebFrame that owns this object and manages its lifetime. Therefore,
174 // the web frame object is guaranteed to exist. 175 // the web frame object is guaranteed to exist.
175 WebLocalFrameImpl* m_webFrame; 176 WebLocalFrameImpl* m_webFrame;
176 }; 177 };
177 178
178 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, blink::FrameLoaderClient, client, clien t->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 179 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, blink::FrameLoaderClient, client, clien t->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl());
179 180
180 } // namespace blink 181 } // namespace blink
181 182
182 #endif 183 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698