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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1360223002: Remove some redundant frame parameters from WebFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 // The resource request given by identifier succeeded. 421 // The resource request given by identifier succeeded.
422 virtual void didFinishResourceLoad( 422 virtual void didFinishResourceLoad(
423 WebLocalFrame*, unsigned identifier) { } 423 WebLocalFrame*, unsigned identifier) { }
424 424
425 // The specified request was satified from WebCore's memory cache. 425 // The specified request was satified from WebCore's memory cache.
426 virtual void didLoadResourceFromMemoryCache( 426 virtual void didLoadResourceFromMemoryCache(
427 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } 427 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { }
428 428
429 // This frame has displayed inactive content (such as an image) from an 429 // This frame has displayed inactive content (such as an image) from an
430 // insecure source. Inactive content cannot spread to other frames. 430 // insecure source. Inactive content cannot spread to other frames.
431 virtual void didDisplayInsecureContent(WebLocalFrame*) { } 431 virtual void didDisplayInsecureContent() { }
432 432
433 // The indicated security origin has run active content (such as a 433 // The indicated security origin has run active content (such as a
434 // script) from an insecure source. Note that the insecure content can 434 // script) from an insecure source. Note that the insecure content can
435 // spread to other frames in the same origin. 435 // spread to other frames in the same origin.
436 virtual void didRunInsecureContent(WebLocalFrame*, const WebSecurityOrigin&, const WebURL& insecureURL) { } 436 virtual void didRunInsecureContent(const WebSecurityOrigin&, const WebURL& i nsecureURL) { }
437 437
438 // A reflected XSS was encountered in the page and suppressed. 438 // A reflected XSS was encountered in the page and suppressed.
439 virtual void didDetectXSS(WebLocalFrame*, const WebURL&, bool didBlockEntire Page) { } 439 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { }
440 440
441 // A PingLoader was created, and a request dispatched to a URL. 441 // A PingLoader was created, and a request dispatched to a URL.
442 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } 442 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { }
443 443
444 // A performance timing event (e.g. first paint) occurred 444 // A performance timing event (e.g. first paint) occurred
445 virtual void didChangePerformanceTiming() { } 445 virtual void didChangePerformanceTiming() { }
446 446
447 // The loaders in this frame have been stopped. 447 // The loaders in this frame have been stopped.
448 virtual void didAbortLoading(WebLocalFrame*) { } 448 virtual void didAbortLoading(WebLocalFrame*) { }
449 449
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 // WebUSB -------------------------------------------------------------- 662 // WebUSB --------------------------------------------------------------
663 virtual WebUSBClient* usbClient() { return nullptr; } 663 virtual WebUSBClient* usbClient() { return nullptr; }
664 664
665 protected: 665 protected:
666 virtual ~WebFrameClient() { } 666 virtual ~WebFrameClient() { }
667 }; 667 };
668 668
669 } // namespace blink 669 } // namespace blink
670 670
671 #endif 671 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698