render_view_host_delegate.cc revision a1401311d1ab56c4ed0a474bd38c108f75cb0cd9
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.
4
5#include "content/browser/renderer_host/render_view_host_delegate.h"
6
7#include "url/gurl.h"
8#include "webkit/common/webpreferences.h"
9
10namespace content {
11
12RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() {
13  return NULL;
14}
15
16bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host,
17                                               const IPC::Message& message) {
18  return false;
19}
20
21bool RenderViewHostDelegate::AddMessageToConsole(
22    int32 level, const base::string16& message, int32 line_no,
23    const base::string16& source_id) {
24  return false;
25}
26
27const GURL& RenderViewHostDelegate::GetURL() const {
28  return GURL::EmptyGURL();
29}
30
31WebContents* RenderViewHostDelegate::GetAsWebContents() {
32  return NULL;
33}
34
35WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
36  return WebPreferences();
37}
38
39bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
40  return false;
41}
42
43SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace(
44    SiteInstance* instance) {
45  return NULL;
46}
47
48FrameTree* RenderViewHostDelegate::GetFrameTree() {
49  return NULL;
50}
51
52}  // namespace content
53