| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 namespace gfx { | 40 namespace gfx { |
| 41 class Point; | 41 class Point; |
| 42 class Rect; | 42 class Rect; |
| 43 class Size; | 43 class Size; |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace content { | 46 namespace content { |
| 47 | 47 |
| 48 class BrowserContext; | 48 class BrowserContext; |
| 49 class FrameTree; |
| 49 class PageState; | 50 class PageState; |
| 50 class RenderViewHost; | 51 class RenderViewHost; |
| 51 class RenderViewHostDelegateView; | 52 class RenderViewHostDelegateView; |
| 52 class SessionStorageNamespace; | 53 class SessionStorageNamespace; |
| 53 class SiteInstance; | 54 class SiteInstance; |
| 54 class WebContents; | 55 class WebContents; |
| 55 class WebContentsImpl; | 56 class WebContentsImpl; |
| 56 struct ContextMenuParams; | 57 struct ContextMenuParams; |
| 57 struct FileChooserParams; | 58 struct FileChooserParams; |
| 58 struct GlobalRequestID; | 59 struct GlobalRequestID; |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 // calling |callback|. | 426 // calling |callback|. |
| 426 virtual void RequestMediaAccessPermission( | 427 virtual void RequestMediaAccessPermission( |
| 427 const MediaStreamRequest& request, | 428 const MediaStreamRequest& request, |
| 428 const MediaResponseCallback& callback) {} | 429 const MediaResponseCallback& callback) {} |
| 429 | 430 |
| 430 // Returns the SessionStorageNamespace the render view should use. Might | 431 // Returns the SessionStorageNamespace the render view should use. Might |
| 431 // create the SessionStorageNamespace on the fly. | 432 // create the SessionStorageNamespace on the fly. |
| 432 virtual SessionStorageNamespace* GetSessionStorageNamespace( | 433 virtual SessionStorageNamespace* GetSessionStorageNamespace( |
| 433 SiteInstance* instance); | 434 SiteInstance* instance); |
| 434 | 435 |
| 436 virtual FrameTree* GetFrameTree(); |
| 437 |
| 435 protected: | 438 protected: |
| 436 virtual ~RenderViewHostDelegate() {} | 439 virtual ~RenderViewHostDelegate() {} |
| 437 }; | 440 }; |
| 438 | 441 |
| 439 } // namespace content | 442 } // namespace content |
| 440 | 443 |
| 441 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 444 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |