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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 774573003: Start pulling away notification logic from ChromeContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('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) 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 int render_process_id, 173 int render_process_id,
174 int render_frame_id, 174 int render_frame_id,
175 net::SSLCertRequestInfo* cert_request_info, 175 net::SSLCertRequestInfo* cert_request_info,
176 const base::Callback<void(net::X509Certificate*)>& callback) override; 176 const base::Callback<void(net::X509Certificate*)>& callback) override;
177 void AddCertificate(net::CertificateMimeType cert_type, 177 void AddCertificate(net::CertificateMimeType cert_type,
178 const void* cert_data, 178 const void* cert_data,
179 size_t cert_size, 179 size_t cert_size,
180 int render_process_id, 180 int render_process_id,
181 int render_frame_id) override; 181 int render_frame_id) override;
182 content::MediaObserver* GetMediaObserver() override; 182 content::MediaObserver* GetMediaObserver() override;
183 blink::WebNotificationPermission CheckDesktopNotificationPermission( 183 content::PlatformNotificationService* GetPlatformNotificationService()
184 const GURL& source_origin, 184 override;
185 content::ResourceContext* context,
186 int render_process_id) override;
187 void ShowDesktopNotification(
188 const content::ShowDesktopNotificationHostMsgParams& params,
189 content::BrowserContext* browser_context,
190 int render_process_id,
191 scoped_ptr<content::DesktopNotificationDelegate> delegate,
192 base::Closure* cancel_callback) override;
193 void RequestPermission( 185 void RequestPermission(
194 content::PermissionType permission, 186 content::PermissionType permission,
195 content::WebContents* web_contents, 187 content::WebContents* web_contents,
196 int bridge_id, 188 int bridge_id,
197 const GURL& requesting_frame, 189 const GURL& requesting_frame,
198 bool user_gesture, 190 bool user_gesture,
199 const base::Callback<void(bool)>& result_callback) override; 191 const base::Callback<void(bool)>& result_callback) override;
200 content::PermissionStatus GetPermissionStatus( 192 content::PermissionStatus GetPermissionStatus(
201 content::PermissionType permission, 193 content::PermissionType permission,
202 content::BrowserContext* browser_context, 194 content::BrowserContext* browser_context,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 328 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
337 329
338 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 330 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
339 331
340 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 332 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
341 }; 333 };
342 334
343 } // namespace chrome 335 } // namespace chrome
344 336
345 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 337 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698