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

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

Issue 7066039: Remove dependency on PrefChangeRegistrar and renderer_preferences_util from content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: also remove predictor_api.h Created 9 years, 7 months 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 "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
9 #include "content/common/renderer_preferences.h" 9 #include "content/common/renderer_preferences.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 TabContents* RenderViewHostDelegate::GetAsTabContents() { 36 TabContents* RenderViewHostDelegate::GetAsTabContents() {
37 return NULL; 37 return NULL;
38 } 38 }
39 39
40 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() { 40 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() {
41 return NULL; 41 return NULL;
42 } 42 }
43 43
44 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const {
45 return GURL();
46 }
47
48 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 44 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
49 return WebPreferences(); 45 return WebPreferences();
50 } 46 }
51 47
52 bool RenderViewHostDelegate::IsExternalTabContainer() const { 48 bool RenderViewHostDelegate::IsExternalTabContainer() const {
53 return false; 49 return false;
54 } 50 }
55 51
56 bool RenderViewHostDelegate::RequestDesktopNotificationPermission( 52 bool RenderViewHostDelegate::RequestDesktopNotificationPermission(
57 const GURL& source_origin, int callback_context) { 53 const GURL& source_origin, int callback_context) {
58 return false; 54 return false;
59 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698