@@ -9,10 +9,10 @@ potentially prevent a window from being created.
9
9
TODO(loc): this patch is currently broken.
10
10
11
11
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
12
- index bf81e64d4ffe22c550199bd775a1a79534f042c8..3ed93c7cecf4c184e67261d15e15476539158096 100644
12
+ index baee2af78cd679e458c336786326957b6ea32440..5aa26ca8eb3d5128cc217950fe8bba27b44c26b6 100644
13
13
--- a/content/browser/frame_host/render_frame_host_impl.cc
14
14
+++ b/content/browser/frame_host/render_frame_host_impl.cc
15
- @@ -4357 ,6 +4357 ,7 @@ void RenderFrameHostImpl::CreateNewWindow(
15
+ @@ -4363 ,6 +4363 ,7 @@ void RenderFrameHostImpl::CreateNewWindow(
16
16
last_committed_origin_, params->window_container_type,
17
17
params->target_url, params->referrer.To<Referrer>(),
18
18
params->frame_name, params->disposition, *params->features,
@@ -21,7 +21,7 @@ index bf81e64d4ffe22c550199bd775a1a79534f042c8..3ed93c7cecf4c184e67261d15e154765
21
21
&no_javascript_access);
22
22
23
23
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
24
- index 1ba6488edf19109cb872086988ef322d0aed5a66..b61b15943c2ae8eb99ef4beefbffe1e6c1426ab3 100644
24
+ index 6883f29361bab9a78ba93da92e7bd234f62e2f8f..6a18c7085f102d475bd36925106e86c56812accc 100644
25
25
--- a/content/browser/web_contents/web_contents_impl.cc
26
26
+++ b/content/browser/web_contents/web_contents_impl.cc
27
27
@@ -2962,9 +2962,9 @@ RenderFrameHostDelegate* WebContentsImpl::CreateNewWindow(
@@ -53,10 +53,10 @@ index ce836b666eaca4312b01dec1cb012bbcb23b9050..9009a8b7a23e170ab0fbf81a6d157e18
53
53
54
54
// Operation result when the renderer asks the browser to create a new window.
55
55
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
56
- index c49222a1c068b0d8b30dea2916aa2486586b15cf..aeff1a685fc22c2e8fe988856cb529028f102182 100644
56
+ index 5990228237b99f382ba235a4bc59068ab12168de..c9fc489ded15dc3cfcdd71c86707e6e86a7e6ba3 100644
57
57
--- a/content/public/browser/content_browser_client.cc
58
58
+++ b/content/public/browser/content_browser_client.cc
59
- @@ -510 ,6 +510 ,8 @@ bool ContentBrowserClient::CanCreateWindow(
59
+ @@ -508 ,6 +508 ,8 @@ bool ContentBrowserClient::CanCreateWindow(
60
60
const std::string& frame_name,
61
61
WindowOpenDisposition disposition,
62
62
const blink::mojom::WindowFeatures& features,
@@ -66,18 +66,18 @@ index c49222a1c068b0d8b30dea2916aa2486586b15cf..aeff1a685fc22c2e8fe988856cb52902
66
66
bool opener_suppressed,
67
67
bool* no_javascript_access) {
68
68
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
69
- index 728f71d76c75dd3534bc58cd2a452666452b33d4..be343c7f4a9e412fbb7b43cc908b8bdcb12aa533 100644
69
+ index 7c7a70b95873ed089e311cc0917ad32d8e465a4e..2d8d316f948fbc25fd4b1aa899b38ba2607e24a1 100644
70
70
--- a/content/public/browser/content_browser_client.h
71
71
+++ b/content/public/browser/content_browser_client.h
72
- @@ -142 ,6 +142 ,7 @@ class NetworkService;
72
+ @@ -144 ,6 +144 ,7 @@ class NetworkService;
73
73
class TrustedURLLoaderHeaderClient;
74
74
} // namespace mojom
75
75
struct ResourceRequest;
76
76
+ class ResourceRequestBody;
77
77
} // namespace network
78
78
79
79
namespace rappor {
80
- @@ -833 ,6 +834 ,8 @@ class CONTENT_EXPORT ContentBrowserClient {
80
+ @@ -831 ,6 +832 ,8 @@ class CONTENT_EXPORT ContentBrowserClient {
81
81
const std::string& frame_name,
82
82
WindowOpenDisposition disposition,
83
83
const blink::mojom::WindowFeatures& features,
@@ -135,7 +135,7 @@ index d10b0f458416044f0b5eaeac4160ac26a2857d94..4e3a846a3825216e1a77e17fd8e03331
135
135
// typically happens when popups are created.
136
136
virtual void WebContentsCreated(WebContents* source_contents,
137
137
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
138
- index 470b4322002aa00e368b658ad837b21c5e10c68f..b49f8e65e505bbd658bdf994186501fa101330d5 100644
138
+ index 2a33016a5e54bbabfa8c534b954f6c72822ca70d..ea7084056f13c60bcc3ba8bd4991a924b6153ee2 100644
139
139
--- a/content/renderer/render_view_impl.cc
140
140
+++ b/content/renderer/render_view_impl.cc
141
141
@@ -68,6 +68,7 @@
0 commit comments