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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 const void* cert_data, | 175 const void* cert_data, |
176 size_t cert_size, | 176 size_t cert_size, |
177 int render_process_id, | 177 int render_process_id, |
178 int render_view_id) OVERRIDE; | 178 int render_view_id) OVERRIDE; |
179 virtual content::MediaObserver* GetMediaObserver() OVERRIDE; | 179 virtual content::MediaObserver* GetMediaObserver() OVERRIDE; |
180 virtual void RequestDesktopNotificationPermission( | 180 virtual void RequestDesktopNotificationPermission( |
181 const GURL& source_origin, | 181 const GURL& source_origin, |
182 int callback_context, | 182 int callback_context, |
183 int render_process_id, | 183 int render_process_id, |
184 int render_view_id) OVERRIDE; | 184 int render_view_id) OVERRIDE; |
185 virtual WebKit::WebNotificationPresenter::Permission | 185 virtual blink::WebNotificationPresenter::Permission |
186 CheckDesktopNotificationPermission( | 186 CheckDesktopNotificationPermission( |
187 const GURL& source_origin, | 187 const GURL& source_origin, |
188 content::ResourceContext* context, | 188 content::ResourceContext* context, |
189 int render_process_id) OVERRIDE; | 189 int render_process_id) OVERRIDE; |
190 virtual void ShowDesktopNotification( | 190 virtual void ShowDesktopNotification( |
191 const content::ShowDesktopNotificationHostMsgParams& params, | 191 const content::ShowDesktopNotificationHostMsgParams& params, |
192 int render_process_id, | 192 int render_process_id, |
193 int render_view_id, | 193 int render_view_id, |
194 bool worker) OVERRIDE; | 194 bool worker) OVERRIDE; |
195 virtual void CancelDesktopNotification( | 195 virtual void CancelDesktopNotification( |
196 int render_process_id, | 196 int render_process_id, |
197 int render_view_id, | 197 int render_view_id, |
198 int notification_id) OVERRIDE; | 198 int notification_id) OVERRIDE; |
199 virtual bool CanCreateWindow(const GURL& opener_url, | 199 virtual bool CanCreateWindow(const GURL& opener_url, |
200 const GURL& opener_top_level_frame_url, | 200 const GURL& opener_top_level_frame_url, |
201 const GURL& source_origin, | 201 const GURL& source_origin, |
202 WindowContainerType container_type, | 202 WindowContainerType container_type, |
203 const GURL& target_url, | 203 const GURL& target_url, |
204 const content::Referrer& referrer, | 204 const content::Referrer& referrer, |
205 WindowOpenDisposition disposition, | 205 WindowOpenDisposition disposition, |
206 const WebKit::WebWindowFeatures& features, | 206 const blink::WebWindowFeatures& features, |
207 bool user_gesture, | 207 bool user_gesture, |
208 bool opener_suppressed, | 208 bool opener_suppressed, |
209 content::ResourceContext* context, | 209 content::ResourceContext* context, |
210 int render_process_id, | 210 int render_process_id, |
211 bool is_guest, | 211 bool is_guest, |
212 int opener_id, | 212 int opener_id, |
213 bool* no_javascript_access) OVERRIDE; | 213 bool* no_javascript_access) OVERRIDE; |
214 virtual std::string GetWorkerProcessTitle( | 214 virtual std::string GetWorkerProcessTitle( |
215 const GURL& url, content::ResourceContext* context) OVERRIDE; | 215 const GURL& url, content::ResourceContext* context) OVERRIDE; |
216 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 216 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 #endif | 281 #endif |
282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> | 282 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> |
283 permissions_policy_delegate_; | 283 permissions_policy_delegate_; |
284 | 284 |
285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 285 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
286 }; | 286 }; |
287 | 287 |
288 } // namespace chrome | 288 } // namespace chrome |
289 | 289 |
290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 290 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |