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

Unified Diff: content/browser/frame_host/navigation_request_info.h

Issue 2572453002: [PlzNavigate] Wire page visibility info to navigation requests (Closed)
Patch Set: Created 4 years 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: content/browser/frame_host/navigation_request_info.h
diff --git a/content/browser/frame_host/navigation_request_info.h b/content/browser/frame_host/navigation_request_info.h
index 53579085c486d37027e44aaba212f3d33dcb327d..35f88c863161371afe6576acd6fcd3c459120802 100644
--- a/content/browser/frame_host/navigation_request_info.h
+++ b/content/browser/frame_host/navigation_request_info.h
@@ -12,6 +12,7 @@
#include "content/common/navigation_params.h"
#include "content/common/resource_request_body_impl.h"
#include "content/public/common/referrer.h"
+#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
#include "url/gurl.h"
#include "url/origin.h"
@@ -30,7 +31,8 @@ struct CONTENT_EXPORT NavigationRequestInfo {
bool are_ancestors_secure,
int frame_tree_node_id,
bool is_for_guests_only,
- bool report_raw_headers);
+ bool report_raw_headers,
+ blink::WebPageVisibilityState page_visibility_state);
~NavigationRequestInfo();
const CommonNavigationParams common_params;
@@ -55,6 +57,8 @@ struct CONTENT_EXPORT NavigationRequestInfo {
const bool is_for_guests_only;
const bool report_raw_headers;
+
+ blink::WebPageVisibilityState page_visibility_state;
};
} // namespace content
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/navigation_request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698