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

Side by Side Diff: content/browser/mock_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
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_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const GURL& source_origin, 94 const GURL& source_origin,
95 int callback_context, 95 int callback_context,
96 int render_process_id, 96 int render_process_id,
97 int render_view_id) OVERRIDE; 97 int render_view_id) OVERRIDE;
98 virtual WebKit::WebNotificationPresenter::Permission 98 virtual WebKit::WebNotificationPresenter::Permission
99 CheckDesktopNotificationPermission( 99 CheckDesktopNotificationPermission(
100 const GURL& source_origin, 100 const GURL& source_origin,
101 const content::ResourceContext& context, 101 const content::ResourceContext& context,
102 int render_process_id) OVERRIDE; 102 int render_process_id) OVERRIDE;
103 virtual void ShowDesktopNotification( 103 virtual void ShowDesktopNotification(
104 const DesktopNotificationHostMsg_Show_Params& params, 104 const content::ShowDesktopNotificationHostMsgParams& params,
105 int render_process_id, 105 int render_process_id,
106 int render_view_id, 106 int render_view_id,
107 bool worker) OVERRIDE; 107 bool worker) OVERRIDE;
108 virtual void CancelDesktopNotification( 108 virtual void CancelDesktopNotification(
109 int render_process_id, 109 int render_process_id,
110 int render_view_id, 110 int render_view_id,
111 int notification_id) OVERRIDE; 111 int notification_id) OVERRIDE;
112 virtual bool CanCreateWindow( 112 virtual bool CanCreateWindow(
113 const GURL& source_origin, 113 const GURL& source_origin,
114 WindowContainerType container_type, 114 WindowContainerType container_type,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 private: 152 private:
153 // Temporary directory for GetDefaultDownloadDirectory. 153 // Temporary directory for GetDefaultDownloadDirectory.
154 ScopedTempDir download_dir_; 154 ScopedTempDir download_dir_;
155 155
156 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); 156 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient);
157 }; 157 };
158 158
159 } // namespace content 159 } // namespace content
160 160
161 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 161 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browsertest.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698