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

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: 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) 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 const WebURLResponse& redirectResponse) { } 236 const WebURLResponse& redirectResponse) { }
237 237
238 // Response headers have been received for the resource request given 238 // Response headers have been received for the resource request given
239 // by identifier. 239 // by identifier.
240 virtual void didReceiveResponse( 240 virtual void didReceiveResponse(
241 WebFrame*, unsigned identifier, const WebURLResponse&) { } 241 WebFrame*, unsigned identifier, const WebURLResponse&) { }
242 242
243 virtual void didChangeResourcePriority( 243 virtual void didChangeResourcePriority(
244 WebFrame*, unsigned identifier, const blink::WebURLRequest::Priority&) { } 244 WebFrame*, unsigned identifier, const blink::WebURLRequest::Priority&) { }
245 245
246 virtual void didChangeResourcePriority(
247 WebFrame* webFrame, unsigned identifier, const blink::WebURLRequest::Pri ority& priority, int) { didChangeResourcePriority(webFrame, identifier, priority ); }
248
246 // The resource request given by identifier succeeded. 249 // The resource request given by identifier succeeded.
247 virtual void didFinishResourceLoad( 250 virtual void didFinishResourceLoad(
248 WebFrame*, unsigned identifier) { } 251 WebFrame*, unsigned identifier) { }
249 252
250 // The specified request was satified from WebCore's memory cache. 253 // The specified request was satified from WebCore's memory cache.
251 virtual void didLoadResourceFromMemoryCache( 254 virtual void didLoadResourceFromMemoryCache(
252 WebFrame*, const WebURLRequest&, const WebURLResponse&) { } 255 WebFrame*, const WebURLRequest&, const WebURLResponse&) { }
253 256
254 // This frame has displayed inactive content (such as an image) from an 257 // This frame has displayed inactive content (such as an image) from an
255 // insecure source. Inactive content cannot spread to other frames. 258 // insecure source. Inactive content cannot spread to other frames.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 // process. See http://crbug.com/339659. 381 // process. See http://crbug.com/339659.
379 virtual void forwardInputEvent(const WebInputEvent*) { } 382 virtual void forwardInputEvent(const WebInputEvent*) { }
380 383
381 protected: 384 protected:
382 ~WebFrameClient() { } 385 ~WebFrameClient() { }
383 }; 386 };
384 387
385 } // namespace blink 388 } // namespace blink
386 389
387 #endif 390 #endif
OLDNEW
« Source/web/FrameLoaderClientImpl.cpp ('K') | « public/platform/WebURLLoader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698