Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.cc

Issue 8469015: Switch BackgroundContents to use TabContents instead of RenderViewHost. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix unittest Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/browser/renderer_host/render_view_host_delegate.h" 5 #include "content/browser/renderer_host/render_view_host_delegate.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "content/public/common/renderer_preferences.h" 8 #include "content/public/common/renderer_preferences.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 const GURL& RenderViewHostDelegate::GetURL() const { 26 const GURL& RenderViewHostDelegate::GetURL() const {
27 return GURL::EmptyGURL(); 27 return GURL::EmptyGURL();
28 } 28 }
29 29
30 TabContents* RenderViewHostDelegate::GetAsTabContents() { 30 TabContents* RenderViewHostDelegate::GetAsTabContents() {
31 return NULL; 31 return NULL;
32 } 32 }
33 33
34 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() {
35 return NULL;
36 }
37
38 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 34 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
39 return WebPreferences(); 35 return WebPreferences();
40 } 36 }
41 37
42 bool RenderViewHostDelegate::PreHandleKeyboardEvent( 38 bool RenderViewHostDelegate::PreHandleKeyboardEvent(
43 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { 39 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
44 return false; 40 return false;
45 } 41 }
46 42
47 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { 43 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
48 return false; 44 return false;
49 } 45 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698