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
3 // found in the LICENSE file.
5 #include "content/browser/renderer_host/render_view_host_delegate.h"
8 #include "webkit/common/webpreferences.h"
12 RenderViewHostDelegateView
* RenderViewHostDelegate::GetDelegateView() {
16 RenderViewHostDelegate::RendererManagement
*
17 RenderViewHostDelegate::GetRendererManagementDelegate() {
21 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost
* render_view_host
,
22 const IPC::Message
& message
) {
26 bool RenderViewHostDelegate::AddMessageToConsole(
27 int32 level
, const base::string16
& message
, int32 line_no
,
28 const base::string16
& source_id
) {
32 const GURL
& RenderViewHostDelegate::GetURL() const {
33 return GURL::EmptyGURL();
36 WebContents
* RenderViewHostDelegate::GetAsWebContents() {
40 WebPreferences
RenderViewHostDelegate::GetWebkitPrefs() {
41 return WebPreferences();
44 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
48 SessionStorageNamespace
* RenderViewHostDelegate::GetSessionStorageNamespace(
49 SiteInstance
* instance
) {
53 FrameTree
* RenderViewHostDelegate::GetFrameTree() {
57 } // namespace content