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

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

Issue 335993002: Convert MIDI permission requests to use WebContents in preparation for switching the code to using … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 content::RenderFrameHost* render_frame_host, 209 content::RenderFrameHost* render_frame_host,
210 content::DesktopNotificationDelegate* delegate, 210 content::DesktopNotificationDelegate* delegate,
211 base::Closure* cancel_callback) OVERRIDE; 211 base::Closure* cancel_callback) OVERRIDE;
212 virtual void RequestGeolocationPermission( 212 virtual void RequestGeolocationPermission(
213 content::WebContents* web_contents, 213 content::WebContents* web_contents,
214 int bridge_id, 214 int bridge_id,
215 const GURL& requesting_frame, 215 const GURL& requesting_frame,
216 bool user_gesture, 216 bool user_gesture,
217 base::Callback<void(bool)> result_callback, 217 base::Callback<void(bool)> result_callback,
218 base::Closure* cancel_callback) OVERRIDE; 218 base::Closure* cancel_callback) OVERRIDE;
219 virtual void RequestMidiSysExPermission(
220 content::WebContents* web_contents,
221 int bridge_id,
222 const GURL& requesting_frame,
223 bool user_gesture,
224 base::Callback<void(bool)> result_callback,
225 base::Closure* cancel_callback) OVERRIDE;
219 virtual bool CanCreateWindow(const GURL& opener_url, 226 virtual bool CanCreateWindow(const GURL& opener_url,
220 const GURL& opener_top_level_frame_url, 227 const GURL& opener_top_level_frame_url,
221 const GURL& source_origin, 228 const GURL& source_origin,
222 WindowContainerType container_type, 229 WindowContainerType container_type,
223 const GURL& target_url, 230 const GURL& target_url,
224 const content::Referrer& referrer, 231 const content::Referrer& referrer,
225 WindowOpenDisposition disposition, 232 WindowOpenDisposition disposition,
226 const blink::WebWindowFeatures& features, 233 const blink::WebWindowFeatures& features,
227 bool user_gesture, 234 bool user_gesture,
228 bool opener_suppressed, 235 bool opener_suppressed,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 prerender::PrerenderTracker* prerender_tracker_; 324 prerender::PrerenderTracker* prerender_tracker_;
318 325
319 friend class DisableWebRtcEncryptionFlagTest; 326 friend class DisableWebRtcEncryptionFlagTest;
320 327
321 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 328 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
322 }; 329 };
323 330
324 } // namespace chrome 331 } // namespace chrome
325 332
326 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 333 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698