OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |