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