• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 "content/public/common/web_preferences.h"
8 #include "url/gurl.h"
9 
10 namespace content {
11 
GetDelegateView()12 RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() {
13   return NULL;
14 }
15 
OnMessageReceived(RenderViewHost * render_view_host,const IPC::Message & message)16 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host,
17                                                const IPC::Message& message) {
18   return false;
19 }
20 
GetAsWebContents()21 WebContents* RenderViewHostDelegate::GetAsWebContents() {
22   return NULL;
23 }
24 
ComputeWebkitPrefs()25 WebPreferences RenderViewHostDelegate::ComputeWebkitPrefs() {
26   return WebPreferences();
27 }
28 
IsFullscreenForCurrentTab() const29 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
30   return false;
31 }
32 
GetSessionStorageNamespace(SiteInstance * instance)33 SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace(
34     SiteInstance* instance) {
35   return NULL;
36 }
37 
38 SessionStorageNamespaceMap
GetSessionStorageNamespaceMap()39 RenderViewHostDelegate::GetSessionStorageNamespaceMap() {
40   return SessionStorageNamespaceMap();
41 }
42 
GetFrameTree()43 FrameTree* RenderViewHostDelegate::GetFrameTree() {
44   return NULL;
45 }
46 
IsNeverVisible()47 bool RenderViewHostDelegate::IsNeverVisible() {
48   return false;
49 }
50 
IsVirtualKeyboardRequested()51 bool RenderViewHostDelegate::IsVirtualKeyboardRequested() {
52   return false;
53 }
54 
55 }  // namespace content
56