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

Side by Side Diff: public/web/WebFrameClient.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: Rebase + variable name change. Created 6 years, 9 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 | « public/platform/WebURLLoader.h ('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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 const WebURLResponse& redirectResponse) { } 263 const WebURLResponse& redirectResponse) { }
264 264
265 // Response headers have been received for the resource request given 265 // Response headers have been received for the resource request given
266 // by identifier. 266 // by identifier.
267 virtual void didReceiveResponse( 267 virtual void didReceiveResponse(
268 WebLocalFrame*, unsigned identifier, const WebURLResponse&) { } 268 WebLocalFrame*, unsigned identifier, const WebURLResponse&) { }
269 269
270 virtual void didChangeResourcePriority( 270 virtual void didChangeResourcePriority(
271 WebLocalFrame*, unsigned identifier, const blink::WebURLRequest::Priorit y&) { } 271 WebLocalFrame*, unsigned identifier, const blink::WebURLRequest::Priorit y&) { }
272 272
273 virtual void didChangeResourcePriority(
274 WebFrame* webFrame, unsigned identifier, const blink::WebURLRequest::Pri ority& priority, int) { didChangeResourcePriority(webFrame, identifier, priority ); }
275
273 // The resource request given by identifier succeeded. 276 // The resource request given by identifier succeeded.
274 virtual void didFinishResourceLoad( 277 virtual void didFinishResourceLoad(
275 WebLocalFrame*, unsigned identifier) { } 278 WebLocalFrame*, unsigned identifier) { }
276 279
277 // The specified request was satified from WebCore's memory cache. 280 // The specified request was satified from WebCore's memory cache.
278 virtual void didLoadResourceFromMemoryCache( 281 virtual void didLoadResourceFromMemoryCache(
279 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } 282 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { }
280 283
281 // This frame has displayed inactive content (such as an image) from an 284 // This frame has displayed inactive content (such as an image) from an
282 // insecure source. Inactive content cannot spread to other frames. 285 // insecure source. Inactive content cannot spread to other frames.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 406 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
404 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 407 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
405 408
406 protected: 409 protected:
407 ~WebFrameClient() { } 410 ~WebFrameClient() { }
408 }; 411 };
409 412
410 } // namespace blink 413 } // namespace blink
411 414
412 #endif 415 #endif
OLDNEW
« no previous file with comments | « public/platform/WebURLLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698