Call ComputeWebKitPrefs on the correct RVH, and remove dead code.
[chromium-blink-merge.git] / content / browser / renderer_host / render_view_host_delegate.cc
blobbc72dcdfef832d464629d309bdd0ceb47bc2f75d
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"
7 #include "content/public/common/web_preferences.h"
8 #include "url/gurl.h"
10 namespace content {
12 RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() {
13 return NULL;
16 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host,
17 const IPC::Message& message) {
18 return false;
21 WebContents* RenderViewHostDelegate::GetAsWebContents() {
22 return NULL;
25 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
26 return false;
29 SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace(
30 SiteInstance* instance) {
31 return NULL;
34 SessionStorageNamespaceMap
35 RenderViewHostDelegate::GetSessionStorageNamespaceMap() {
36 return SessionStorageNamespaceMap();
39 FrameTree* RenderViewHostDelegate::GetFrameTree() {
40 return NULL;
43 bool RenderViewHostDelegate::IsNeverVisible() {
44 return false;
47 bool RenderViewHostDelegate::IsVirtualKeyboardRequested() {
48 return false;
51 } // namespace content