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

Unified Diff: public/web/WebFrameClient.h

Issue 546263002: [ServiceWorker] Introduce isControlledByServiceWorker() in FrameLoaderClient and WebFrameClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index ff19656543895482adacd59ac393e9a90383450a..90f07b0ba66b9575a25bbffa0bc497d2e7afcc89 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -566,6 +566,11 @@ public:
// Notifies embedder about an accessibility event.
virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { }
+ // ServiceWorker -------------------------------------------------------
+
+ // Whether the frame is controlled by the ServiceWorker
+ virtual bool controlledByServiceWorker() { return false; }
tkent 2014/09/08 07:38:33 The function name should be |isControlledByService
horo 2014/09/08 08:19:42 Done.
+
protected:
virtual ~WebFrameClient() { }
};
« Source/web/FrameLoaderClientImpl.cpp ('K') | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698