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

Unified Diff: third_party/WebKit/public/web/WebDocument.h

Issue 2481413004: [Extensions] Make port creation synchronous in unload handlers (Closed)
Patch Set: polish Created 4 years, 1 month 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/public/web/WebDocument.h
diff --git a/third_party/WebKit/public/web/WebDocument.h b/third_party/WebKit/public/web/WebDocument.h
index 72ef28291110a19c0b5a5b83a3c306c10dd7b539..91de33b306dcaa7c5e12614f3e8cb1604fe583f1 100644
--- a/third_party/WebKit/public/web/WebDocument.h
+++ b/third_party/WebKit/public/web/WebDocument.h
@@ -136,6 +136,9 @@ class WebDocument : public WebNode {
// Each call to this method overrides any previous calls.
BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors);
+ BLINK_EXPORT bool unloadStarted() const;
+ BLINK_EXPORT bool processingBeforeUnload() const;
+
BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const;
BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement(

Powered by Google App Engine
This is Rietveld 408576698