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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 1303833002: Add WebPageImportanceSignals::issuedNonGetFetchFromScript() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: m_document\.page() not ->page() Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index df02b603f5a1b6fe809fd80a1f312fc0383f39b3..9146f699adc2776a182f32ba032c896ec26aefb7 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -252,6 +252,11 @@ public:
virtual FloatSize elasticOverscroll() const { return FloatSize(); }
+ // Called when observed XHR, fetch, and other fetch request with non-GET
+ // method is initiated from javascript. At this time, it is not guaranteed
+ // that this is comprehensive.
+ virtual void didObserveNonGetFetchFromScript() const {}
+
protected:
~ChromeClient() override { }
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698