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

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

Issue 1288973002: Observing DocumentTiming and sending data to RenderFrameImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: minor edits from review Created 5 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
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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 // script) from an insecure source. Note that the insecure content can 447 // script) from an insecure source. Note that the insecure content can
448 // spread to other frames in the same origin. 448 // spread to other frames in the same origin.
449 virtual void didRunInsecureContent(WebLocalFrame*, const WebSecurityOrigin&, const WebURL& insecureURL) { } 449 virtual void didRunInsecureContent(WebLocalFrame*, const WebSecurityOrigin&, const WebURL& insecureURL) { }
450 450
451 // A reflected XSS was encountered in the page and suppressed. 451 // A reflected XSS was encountered in the page and suppressed.
452 virtual void didDetectXSS(WebLocalFrame*, const WebURL&, bool didBlockEntire Page) { } 452 virtual void didDetectXSS(WebLocalFrame*, const WebURL&, bool didBlockEntire Page) { }
453 453
454 // A PingLoader was created, and a request dispatched to a URL. 454 // A PingLoader was created, and a request dispatched to a URL.
455 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } 455 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { }
456 456
457 // A Performance Event (e.g. First Paint) occurred
Bryan McQuade 2015/08/14 15:14:16 maybe just add 'timing' to the sentence : 'A perfo
458 virtual void didChangePerformanceTiming() { }
459
457 // The loaders in this frame have been stopped. 460 // The loaders in this frame have been stopped.
458 virtual void didAbortLoading(WebLocalFrame*) { } 461 virtual void didAbortLoading(WebLocalFrame*) { }
459 462
460 463
461 // Script notifications ------------------------------------------------ 464 // Script notifications ------------------------------------------------
462 465
463 // Notifies that a new script context has been created for this frame. 466 // Notifies that a new script context has been created for this frame.
464 // This is similar to didClearWindowObject but only called once per 467 // This is similar to didClearWindowObject but only called once per
465 // frame context. 468 // frame context.
466 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>, int extensionGroup, int worldId) { } 469 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>, int extensionGroup, int worldId) { }
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 // WebUSB -------------------------------------------------------------- 681 // WebUSB --------------------------------------------------------------
679 virtual WebUSBClient* usbClient() { return nullptr; } 682 virtual WebUSBClient* usbClient() { return nullptr; }
680 683
681 protected: 684 protected:
682 virtual ~WebFrameClient() { } 685 virtual ~WebFrameClient() { }
683 }; 686 };
684 687
685 } // namespace blink 688 } // namespace blink
686 689
687 #endif 690 #endif
OLDNEW
« Source/core/loader/FrameLoaderClient.h ('K') | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698