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

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

Issue 459953002: Migrate geolocation permissions to the new common permission class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months 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) 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 virtual void ShowDesktopNotification( 198 virtual void ShowDesktopNotification(
199 const content::ShowDesktopNotificationHostMsgParams& params, 199 const content::ShowDesktopNotificationHostMsgParams& params,
200 content::RenderFrameHost* render_frame_host, 200 content::RenderFrameHost* render_frame_host,
201 scoped_ptr<content::DesktopNotificationDelegate> delegate, 201 scoped_ptr<content::DesktopNotificationDelegate> delegate,
202 base::Closure* cancel_callback) OVERRIDE; 202 base::Closure* cancel_callback) OVERRIDE;
203 virtual void RequestGeolocationPermission( 203 virtual void RequestGeolocationPermission(
204 content::WebContents* web_contents, 204 content::WebContents* web_contents,
205 int bridge_id, 205 int bridge_id,
206 const GURL& requesting_frame, 206 const GURL& requesting_frame,
207 bool user_gesture, 207 bool user_gesture,
208 base::Callback<void(bool)> result_callback, 208 const base::Callback<void(bool)>& result_callback) OVERRIDE;
209 base::Closure* cancel_callback) OVERRIDE; 209 virtual void CancelGeolocationPermissionRequest(
210 content::WebContents* web_contents,
211 int bridge_id,
212 const GURL& requesting_frame) OVERRIDE;
210 virtual void RequestMidiSysExPermission( 213 virtual void RequestMidiSysExPermission(
211 content::WebContents* web_contents, 214 content::WebContents* web_contents,
212 int bridge_id, 215 int bridge_id,
213 const GURL& requesting_frame, 216 const GURL& requesting_frame,
214 bool user_gesture, 217 bool user_gesture,
215 base::Callback<void(bool)> result_callback, 218 base::Callback<void(bool)> result_callback,
216 base::Closure* cancel_callback) OVERRIDE; 219 base::Closure* cancel_callback) OVERRIDE;
217 virtual void DidUseGeolocationPermission(content::WebContents* web_contents, 220 virtual void DidUseGeolocationPermission(content::WebContents* web_contents,
218 const GURL& frame_url, 221 const GURL& frame_url,
219 const GURL& main_frame_url) OVERRIDE; 222 const GURL& main_frame_url) OVERRIDE;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 356 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
354 357
355 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 358 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
356 359
357 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 360 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
358 }; 361 };
359 362
360 } // namespace chrome 363 } // namespace chrome
361 364
362 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 365 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698