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

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 153983004: Schedule image resource downloads by decreasing visual impact - Blink Side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0; 210 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0;
211 211
212 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; } 212 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; }
213 // Informs the embedder that a WebGL canvas inside this frame received a lost context 213 // Informs the embedder that a WebGL canvas inside this frame received a lost context
214 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 214 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
215 virtual void didLoseWebGLContext(int) { } 215 virtual void didLoseWebGLContext(int) { }
216 216
217 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 217 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
218 virtual void dispatchWillInsertBody() { } 218 virtual void dispatchWillInsertBody() { }
219 219
220 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 220 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority, int /*intraPriorityValue*/) { }
esprehn 2014/02/12 21:42:18 I don't think you need to comment out the names he
shatch 2014/02/13 18:13:50 Done.
221 221
222 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider(PassOwnPtr<blink::WebServiceWorkerProviderClient>) = 0; 222 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider(PassOwnPtr<blink::WebServiceWorkerProviderClient>) = 0;
223 223
224 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; } 224 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; }
225 225
226 virtual void didStopAllLoaders() { } 226 virtual void didStopAllLoaders() { }
227 227
228 virtual bool isFrameLoaderClientImpl() const { return false; } 228 virtual bool isFrameLoaderClientImpl() const { return false; }
229 }; 229 };
230 230
231 } // namespace WebCore 231 } // namespace WebCore
232 232
233 #endif // FrameLoaderClient_h 233 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698