| 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 29 matching lines...) Expand all Loading... |
| 40 namespace IPC { | 40 namespace IPC { |
| 41 class Message; | 41 class Message; |
| 42 } | 42 } |
| 43 | 43 |
| 44 namespace gfx { | 44 namespace gfx { |
| 45 class Point; | 45 class Point; |
| 46 class Rect; | 46 class Rect; |
| 47 class Size; | 47 class Size; |
| 48 } | 48 } |
| 49 | 49 |
| 50 namespace WebKit { |
| 51 class WebLayer; |
| 52 } |
| 53 |
| 50 namespace content { | 54 namespace content { |
| 51 | 55 |
| 52 class BrowserContext; | 56 class BrowserContext; |
| 53 class RenderViewHost; | 57 class RenderViewHost; |
| 54 class RenderViewHostDelegateView; | 58 class RenderViewHostDelegateView; |
| 55 class SessionStorageNamespace; | 59 class SessionStorageNamespace; |
| 56 class WebContents; | 60 class WebContents; |
| 57 struct ContextMenuParams; | 61 struct ContextMenuParams; |
| 58 struct FileChooserParams; | 62 struct FileChooserParams; |
| 59 struct GlobalRequestID; | 63 struct GlobalRequestID; |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 // provided in the supplied params. | 406 // provided in the supplied params. |
| 403 virtual void ShowContextMenu(const ContextMenuParams& params) {} | 407 virtual void ShowContextMenu(const ContextMenuParams& params) {} |
| 404 | 408 |
| 405 // The render view has requested access to media devices listed in | 409 // The render view has requested access to media devices listed in |
| 406 // |request|, and the client should grant or deny that permission by | 410 // |request|, and the client should grant or deny that permission by |
| 407 // calling |callback|. | 411 // calling |callback|. |
| 408 virtual void RequestMediaAccessPermission( | 412 virtual void RequestMediaAccessPermission( |
| 409 const MediaStreamRequest* request, | 413 const MediaStreamRequest* request, |
| 410 const MediaResponseCallback& callback) {} | 414 const MediaResponseCallback& callback) {} |
| 411 | 415 |
| 416 #if defined(OS_ANDROID) |
| 417 virtual void AttachLayer(WebKit::WebLayer* layer) {} |
| 418 virtual void RemoveLayer(WebKit::WebLayer* layer) {} |
| 419 #endif |
| 420 |
| 412 protected: | 421 protected: |
| 413 virtual ~RenderViewHostDelegate() {} | 422 virtual ~RenderViewHostDelegate() {} |
| 414 }; | 423 }; |
| 415 | 424 |
| 416 } // namespace content | 425 } // namespace content |
| 417 | 426 |
| 418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 427 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |