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

Side by Side Diff: content/public/browser/content_browser_client.h

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/content_common.gypi ('k') | content/public/common/show_desktop_notification_params.h » ('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) 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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 18 matching lines...) Expand all
29 class RenderWidgetHost; 29 class RenderWidgetHost;
30 class RenderWidgetHostView; 30 class RenderWidgetHostView;
31 class ResourceDispatcherHost; 31 class ResourceDispatcherHost;
32 class SiteInstance; 32 class SiteInstance;
33 class SSLCertErrorHandler; 33 class SSLCertErrorHandler;
34 class SSLClientAuthHandler; 34 class SSLClientAuthHandler;
35 class SkBitmap; 35 class SkBitmap;
36 class TabContents; 36 class TabContents;
37 class TabContentsView; 37 class TabContentsView;
38 class WorkerProcessHost; 38 class WorkerProcessHost;
39 struct DesktopNotificationHostMsg_Show_Params;
40 struct WebPreferences; 39 struct WebPreferences;
41 40
42 namespace content { 41 namespace content {
43 class BrowserMainParts; 42 class BrowserMainParts;
44 struct MainFunctionParams; 43 struct MainFunctionParams;
44 struct ShowDesktopNotificationHostMsgParams;
45 } 45 }
46 46
47 namespace crypto { 47 namespace crypto {
48 class CryptoModuleBlockingPasswordDelegate; 48 class CryptoModuleBlockingPasswordDelegate;
49 } 49 }
50 50
51 namespace net { 51 namespace net {
52 class CookieList; 52 class CookieList;
53 class CookieOptions; 53 class CookieOptions;
54 class NetLog; 54 class NetLog;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // This is called on the IO thread. 258 // This is called on the IO thread.
259 virtual WebKit::WebNotificationPresenter::Permission 259 virtual WebKit::WebNotificationPresenter::Permission
260 CheckDesktopNotificationPermission( 260 CheckDesktopNotificationPermission(
261 const GURL& source_url, 261 const GURL& source_url,
262 const content::ResourceContext& context, 262 const content::ResourceContext& context,
263 int render_process_id) = 0; 263 int render_process_id) = 0;
264 264
265 // Show a desktop notification. If |worker| is true, the request came from an 265 // Show a desktop notification. If |worker| is true, the request came from an
266 // HTML5 web worker, otherwise, it came from a renderer. 266 // HTML5 web worker, otherwise, it came from a renderer.
267 virtual void ShowDesktopNotification( 267 virtual void ShowDesktopNotification(
268 const DesktopNotificationHostMsg_Show_Params& params, 268 const content::ShowDesktopNotificationHostMsgParams& params,
269 int render_process_id, 269 int render_process_id,
270 int render_view_id, 270 int render_view_id,
271 bool worker) = 0; 271 bool worker) = 0;
272 272
273 // Cancels a displayed desktop notification. 273 // Cancels a displayed desktop notification.
274 virtual void CancelDesktopNotification( 274 virtual void CancelDesktopNotification(
275 int render_process_id, 275 int render_process_id,
276 int render_view_id, 276 int render_view_id,
277 int notification_id) = 0; 277 int notification_id) = 0;
278 278
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // This is called on a worker thread. 350 // This is called on a worker thread.
351 virtual 351 virtual
352 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 352 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
353 const GURL& url) = 0; 353 const GURL& url) = 0;
354 #endif 354 #endif
355 }; 355 };
356 356
357 } // namespace content 357 } // namespace content
358 358
359 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 359 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/show_desktop_notification_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698