Chromium Code Reviews| 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 398 // provided in the supplied params. | 402 // provided in the supplied params. |
| 399 virtual void ShowContextMenu(const ContextMenuParams& params) {} | 403 virtual void ShowContextMenu(const ContextMenuParams& params) {} |
| 400 | 404 |
| 401 // The render view has requested access to media devices listed in | 405 // The render view has requested access to media devices listed in |
| 402 // |request|, and the client should grant or deny that permission by | 406 // |request|, and the client should grant or deny that permission by |
| 403 // calling |callback|. | 407 // calling |callback|. |
| 404 virtual void RequestMediaAccessPermission( | 408 virtual void RequestMediaAccessPermission( |
| 405 const MediaStreamRequest* request, | 409 const MediaStreamRequest* request, |
| 406 const MediaResponseCallback& callback) {} | 410 const MediaResponseCallback& callback) {} |
| 407 | 411 |
| 412 virtual void AttachLayer(WebKit::WebLayer& layer) {} | |
|
klobag.chromium
2012/08/22 07:01:19
Should we use const WebLayer&?
no sievers
2012/08/22 21:17:40
Unfortunately removeFromParent() is non-const :(
| |
| 413 virtual void RemoveLayer(WebKit::WebLayer& layer) {} | |
| 414 | |
| 408 protected: | 415 protected: |
| 409 virtual ~RenderViewHostDelegate() {} | 416 virtual ~RenderViewHostDelegate() {} |
| 410 }; | 417 }; |
| 411 | 418 |
| 412 } // namespace content | 419 } // namespace content |
| 413 | 420 |
| 414 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 421 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |