OLD | NEW |
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 "android_webview/browser/aw_web_preferences_populater.h" | 8 #include "android_webview/browser/aw_web_preferences_populater.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 bool overridable, | 102 bool overridable, |
103 bool strict_enforcement, | 103 bool strict_enforcement, |
104 const base::Callback<void(bool)>& callback, | 104 const base::Callback<void(bool)>& callback, |
105 content::CertificateRequestResultType* result) OVERRIDE; | 105 content::CertificateRequestResultType* result) OVERRIDE; |
106 virtual void SelectClientCertificate( | 106 virtual void SelectClientCertificate( |
107 int render_process_id, | 107 int render_process_id, |
108 int render_view_id, | 108 int render_view_id, |
109 const net::HttpNetworkSession* network_session, | 109 const net::HttpNetworkSession* network_session, |
110 net::SSLCertRequestInfo* cert_request_info, | 110 net::SSLCertRequestInfo* cert_request_info, |
111 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; | 111 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; |
112 virtual WebKit::WebNotificationPresenter::Permission | 112 virtual blink::WebNotificationPresenter::Permission |
113 CheckDesktopNotificationPermission( | 113 CheckDesktopNotificationPermission( |
114 const GURL& source_url, | 114 const GURL& source_url, |
115 content::ResourceContext* context, | 115 content::ResourceContext* context, |
116 int render_process_id) OVERRIDE; | 116 int render_process_id) OVERRIDE; |
117 virtual void ShowDesktopNotification( | 117 virtual void ShowDesktopNotification( |
118 const content::ShowDesktopNotificationHostMsgParams& params, | 118 const content::ShowDesktopNotificationHostMsgParams& params, |
119 int render_process_id, | 119 int render_process_id, |
120 int render_view_id, | 120 int render_view_id, |
121 bool worker) OVERRIDE; | 121 bool worker) OVERRIDE; |
122 virtual void CancelDesktopNotification( | 122 virtual void CancelDesktopNotification( |
123 int render_process_id, | 123 int render_process_id, |
124 int render_view_id, | 124 int render_view_id, |
125 int notification_id) OVERRIDE; | 125 int notification_id) OVERRIDE; |
126 virtual bool CanCreateWindow(const GURL& opener_url, | 126 virtual bool CanCreateWindow(const GURL& opener_url, |
127 const GURL& opener_top_level_frame_url, | 127 const GURL& opener_top_level_frame_url, |
128 const GURL& source_origin, | 128 const GURL& source_origin, |
129 WindowContainerType container_type, | 129 WindowContainerType container_type, |
130 const GURL& target_url, | 130 const GURL& target_url, |
131 const content::Referrer& referrer, | 131 const content::Referrer& referrer, |
132 WindowOpenDisposition disposition, | 132 WindowOpenDisposition disposition, |
133 const WebKit::WebWindowFeatures& features, | 133 const blink::WebWindowFeatures& features, |
134 bool user_gesture, | 134 bool user_gesture, |
135 bool opener_suppressed, | 135 bool opener_suppressed, |
136 content::ResourceContext* context, | 136 content::ResourceContext* context, |
137 int render_process_id, | 137 int render_process_id, |
138 bool is_guest, | 138 bool is_guest, |
139 int opener_id, | 139 int opener_id, |
140 bool* no_javascript_access) OVERRIDE; | 140 bool* no_javascript_access) OVERRIDE; |
141 virtual std::string GetWorkerProcessTitle( | 141 virtual std::string GetWorkerProcessTitle( |
142 const GURL& url, | 142 const GURL& url, |
143 content::ResourceContext* context) OVERRIDE; | 143 content::ResourceContext* context) OVERRIDE; |
(...skipping 26 matching lines...) Expand all Loading... |
170 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 170 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
171 | 171 |
172 JniDependencyFactory* native_factory_; | 172 JniDependencyFactory* native_factory_; |
173 | 173 |
174 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 174 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
175 }; | 175 }; |
176 | 176 |
177 } // namespace android_webview | 177 } // namespace android_webview |
178 | 178 |
179 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 179 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |