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

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

Issue 23007021: Report Javascript Runtime Errors to the Error Console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_ec_feldman
Patch Set: Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 "url/gurl.h" 7 #include "url/gurl.h"
8 #include "webkit/common/webpreferences.h" 8 #include "webkit/common/webpreferences.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() { 12 RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() {
13 return NULL; 13 return NULL;
14 } 14 }
15 15
16 RenderViewHostDelegate::RendererManagement* 16 RenderViewHostDelegate::RendererManagement*
17 RenderViewHostDelegate::GetRendererManagementDelegate() { 17 RenderViewHostDelegate::GetRendererManagementDelegate() {
18 return NULL; 18 return NULL;
19 } 19 }
20 20
21 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host, 21 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host,
22 const IPC::Message& message) { 22 const IPC::Message& message) {
23 return false; 23 return false;
24 } 24 }
25 25
26 bool RenderViewHostDelegate::AddMessageToConsole( 26 bool RenderViewHostDelegate::AddMessageToConsole(
27 int32 level, const string16& message, int32 line_no, 27 int32 level, const string16& message, int32 line_no,
28 const string16& source_id, const string16& stack_trace) { 28 const string16& source_id) {
29 return false; 29 return false;
30 } 30 }
31 31
32 const GURL& RenderViewHostDelegate::GetURL() const { 32 const GURL& RenderViewHostDelegate::GetURL() const {
33 return GURL::EmptyGURL(); 33 return GURL::EmptyGURL();
34 } 34 }
35 35
36 WebContents* RenderViewHostDelegate::GetAsWebContents() { 36 WebContents* RenderViewHostDelegate::GetAsWebContents() {
37 return NULL; 37 return NULL;
38 } 38 }
39 39
40 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 40 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
41 return WebPreferences(); 41 return WebPreferences();
42 } 42 }
43 43
44 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { 44 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
45 return false; 45 return false;
46 } 46 }
47 47
48 SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace( 48 SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace(
49 SiteInstance* instance) { 49 SiteInstance* instance) {
50 return NULL; 50 return NULL;
51 } 51 }
52 52
53 } // namespace content 53 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698