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

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

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 4 years, 6 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/public/web/WebView.h
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
index c8a6244d72ea5a619cad8632d597ea76f2af8d21..40d4461a654a432da2579cd1abfe9a9fa28d9a2f 100644
--- a/third_party/WebKit/public/web/WebView.h
+++ b/third_party/WebKit/public/web/WebView.h
@@ -126,8 +126,9 @@ public:
// Creates a WebView that is NOT yet initialized. You will need to
// call setMainFrame to finish the initialization. It is valid
- // to pass a null client pointer.
- BLINK_EXPORT static WebView* create(WebViewClient*);
+ // to pass a null client pointer. The WebPageVisibilityState defines the
+ // initial visibility of the page.
+ BLINK_EXPORT static WebView* create(WebViewClient*, WebPageVisibilityState);
// After creating a WebView, you should immediately call this method.
// You can optionally modify the settings before calling this method.

Powered by Google App Engine
This is Rietveld 408576698