OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/shell/shell_content_browser_client.h" | 5 #include "content/shell/shell_content_browser_client.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "content/browser/webui/empty_web_ui_factory.h" | 8 #include "content/browser/webui/empty_web_ui_factory.h" |
9 #include "content/shell/shell.h" | 9 #include "content/shell/shell.h" |
10 #include "content/shell/shell_browser_main.h" | 10 #include "content/shell/shell_browser_main.h" |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 WebKit::WebNotificationPresenter::Permission | 207 WebKit::WebNotificationPresenter::Permission |
208 ShellContentBrowserClient::CheckDesktopNotificationPermission( | 208 ShellContentBrowserClient::CheckDesktopNotificationPermission( |
209 const GURL& source_origin, | 209 const GURL& source_origin, |
210 const content::ResourceContext& context, | 210 const content::ResourceContext& context, |
211 int render_process_id) { | 211 int render_process_id) { |
212 return WebKit::WebNotificationPresenter::PermissionAllowed; | 212 return WebKit::WebNotificationPresenter::PermissionAllowed; |
213 } | 213 } |
214 | 214 |
215 void ShellContentBrowserClient::ShowDesktopNotification( | 215 void ShellContentBrowserClient::ShowDesktopNotification( |
216 const DesktopNotificationHostMsg_Show_Params& params, | 216 const content::ShowDesktopNotificationHostMsgParams& params, |
217 int render_process_id, | 217 int render_process_id, |
218 int render_view_id, | 218 int render_view_id, |
219 bool worker) { | 219 bool worker) { |
220 } | 220 } |
221 | 221 |
222 void ShellContentBrowserClient::CancelDesktopNotification( | 222 void ShellContentBrowserClient::CancelDesktopNotification( |
223 int render_process_id, | 223 int render_process_id, |
224 int render_view_id, | 224 int render_view_id, |
225 int notification_id) { | 225 int notification_id) { |
226 } | 226 } |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 tab_contents_view->tab_contents()->browser_context(), | 329 tab_contents_view->tab_contents()->browser_context(), |
330 GURL(), | 330 GURL(), |
331 tab_contents_view->tab_contents()->GetSiteInstance(), | 331 tab_contents_view->tab_contents()->GetSiteInstance(), |
332 route_id, | 332 route_id, |
333 tab_contents_view->tab_contents()); | 333 tab_contents_view->tab_contents()); |
334 return shell->tab_contents(); | 334 return shell->tab_contents(); |
335 } | 335 } |
336 #endif | 336 #endif |
337 | 337 |
338 } // namespace content | 338 } // namespace content |
OLD | NEW |