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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 11759020: Implement a TODO in the media code: Change a "const MediaStreamRequest*" arg in various APIs to "co… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 406
407 // A context menu should be shown, to be built using the context information 407 // A context menu should be shown, to be built using the context information
408 // provided in the supplied params. 408 // provided in the supplied params.
409 virtual void ShowContextMenu(const ContextMenuParams& params, 409 virtual void ShowContextMenu(const ContextMenuParams& params,
410 ContextMenuSourceType type) {} 410 ContextMenuSourceType type) {}
411 411
412 // The render view has requested access to media devices listed in 412 // The render view has requested access to media devices listed in
413 // |request|, and the client should grant or deny that permission by 413 // |request|, and the client should grant or deny that permission by
414 // calling |callback|. 414 // calling |callback|.
415 virtual void RequestMediaAccessPermission( 415 virtual void RequestMediaAccessPermission(
416 const MediaStreamRequest* request, 416 const MediaStreamRequest& request,
417 const MediaResponseCallback& callback) {} 417 const MediaResponseCallback& callback) {}
418 418
419 protected: 419 protected:
420 virtual ~RenderViewHostDelegate() {} 420 virtual ~RenderViewHostDelegate() {}
421 }; 421 };
422 422
423 } // namespace content 423 } // namespace content
424 424
425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 425 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/media_stream_ui_controller.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698