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

Side by Side Diff: android_webview/browser/aw_content_browser_client.h

Issue 2506183002: Make window.open() IPCs be frame-based (Closed)
Patch Set: Rebase. Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 content::ResourceType resource_type, 80 content::ResourceType resource_type,
81 bool overridable, 81 bool overridable,
82 bool strict_enforcement, 82 bool strict_enforcement,
83 bool expired_previous_decision, 83 bool expired_previous_decision,
84 const base::Callback<void(content::CertificateRequestResultType)>& 84 const base::Callback<void(content::CertificateRequestResultType)>&
85 callback) override; 85 callback) override;
86 void SelectClientCertificate( 86 void SelectClientCertificate(
87 content::WebContents* web_contents, 87 content::WebContents* web_contents,
88 net::SSLCertRequestInfo* cert_request_info, 88 net::SSLCertRequestInfo* cert_request_info,
89 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; 89 std::unique_ptr<content::ClientCertificateDelegate> delegate) override;
90 bool CanCreateWindow(const GURL& opener_url, 90 bool CanCreateWindow(int opener_render_process_id,
91 int opener_render_frame_id,
92 const GURL& opener_url,
91 const GURL& opener_top_level_frame_url, 93 const GURL& opener_top_level_frame_url,
92 const GURL& source_origin, 94 const GURL& source_origin,
93 WindowContainerType container_type, 95 WindowContainerType container_type,
94 const GURL& target_url, 96 const GURL& target_url,
95 const content::Referrer& referrer, 97 const content::Referrer& referrer,
96 const std::string& frame_name, 98 const std::string& frame_name,
97 WindowOpenDisposition disposition, 99 WindowOpenDisposition disposition,
98 const blink::WebWindowFeatures& features, 100 const blink::WebWindowFeatures& features,
99 bool user_gesture, 101 bool user_gesture,
100 bool opener_suppressed, 102 bool opener_suppressed,
101 content::ResourceContext* context, 103 content::ResourceContext* context,
102 int render_process_id,
103 int opener_render_view_id,
104 int opener_render_frame_id,
105 bool* no_javascript_access) override; 104 bool* no_javascript_access) override;
106 void ResourceDispatcherHostCreated() override; 105 void ResourceDispatcherHostCreated() override;
107 net::NetLog* GetNetLog() override; 106 net::NetLog* GetNetLog() override;
108 void ClearCache(content::RenderFrameHost* rfh) override; 107 void ClearCache(content::RenderFrameHost* rfh) override;
109 void ClearCookies(content::RenderFrameHost* rfh) override; 108 void ClearCookies(content::RenderFrameHost* rfh) override;
110 base::FilePath GetDefaultDownloadDirectory() override; 109 base::FilePath GetDefaultDownloadDirectory() override;
111 std::string GetDefaultDownloadName() override; 110 std::string GetDefaultDownloadName() override;
112 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; 111 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override;
113 bool AllowPepperSocketAPI( 112 bool AllowPepperSocketAPI(
114 content::BrowserContext* browser_context, 113 content::BrowserContext* browser_context,
(...skipping 26 matching lines...) Expand all
141 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 140 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
142 141
143 JniDependencyFactory* native_factory_; 142 JniDependencyFactory* native_factory_;
144 143
145 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 144 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
146 }; 145 };
147 146
148 } // namespace android_webview 147 } // namespace android_webview
149 148
150 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 149 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698