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

Side by Side Diff: content/shell/shell_content_browser_client.cc

Issue 8511075: Move the struct used when showing a desktop notification to content/public/common, so that chrome... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | 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) 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
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
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
OLDNEW
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698