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

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

Issue 458013: Make the default RendererPreferences smarter.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/renderer_host/render_view_host_delegate.h" 5 #include "chrome/browser/renderer_host/render_view_host_delegate.h"
6 6
7 #include "base/gfx/rect.h" 7 #include "base/gfx/rect.h"
8 #include "base/singleton.h"
8 #include "chrome/common/renderer_preferences.h" 9 #include "chrome/common/renderer_preferences.h"
9 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
10 #include "webkit/glue/webpreferences.h" 11 #include "webkit/glue/webpreferences.h"
11 12
13 #if defined(OS_LINUX)
14 #include "chrome/common/gtk_util.h"
15 #endif
16
12 RenderViewHostDelegate::View* RenderViewHostDelegate::GetViewDelegate() { 17 RenderViewHostDelegate::View* RenderViewHostDelegate::GetViewDelegate() {
13 return NULL; 18 return NULL;
14 } 19 }
15 20
16 RenderViewHostDelegate::RendererManagement* 21 RenderViewHostDelegate::RendererManagement*
17 RenderViewHostDelegate::GetRendererManagementDelegate() { 22 RenderViewHostDelegate::GetRendererManagementDelegate() {
18 return NULL; 23 return NULL;
19 } 24 }
20 25
21 RenderViewHostDelegate::BrowserIntegration* 26 RenderViewHostDelegate::BrowserIntegration*
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 66 }
62 67
63 void RenderViewHostDelegate::AddBlockedNotice(const GURL& url, 68 void RenderViewHostDelegate::AddBlockedNotice(const GURL& url,
64 const string16& reason) { 69 const string16& reason) {
65 } 70 }
66 71
67 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { 72 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const {
68 return GURL(); 73 return GURL();
69 } 74 }
70 75
71 RendererPreferences RenderViewHostDelegate::GetRendererPrefs() const {
72 return RendererPreferences();
73 }
74
75 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 76 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
76 return WebPreferences(); 77 return WebPreferences();
77 } 78 }
78 79
79 bool RenderViewHostDelegate::CanBlur() const { 80 bool RenderViewHostDelegate::CanBlur() const {
80 return true; 81 return true;
81 } 82 }
82 83
83 gfx::Rect RenderViewHostDelegate::GetRootWindowResizerRect() const { 84 gfx::Rect RenderViewHostDelegate::GetRootWindowResizerRect() const {
84 return gfx::Rect(); 85 return gfx::Rect();
85 } 86 }
86 87
87 bool RenderViewHostDelegate::IsExternalTabContainer() const { 88 bool RenderViewHostDelegate::IsExternalTabContainer() const {
88 return false; 89 return false;
89 } 90 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698