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

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

Issue 9030010: Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 "googleurl/src/gurl.h" 7 #include "googleurl/src/gurl.h"
8 #include "webkit/glue/webpreferences.h" 8 #include "webkit/glue/webpreferences.h"
9 9
10 using content::WebContents;
11
10 RenderViewHostDelegate::View* RenderViewHostDelegate::GetViewDelegate() { 12 RenderViewHostDelegate::View* RenderViewHostDelegate::GetViewDelegate() {
11 return NULL; 13 return NULL;
12 } 14 }
13 15
14 RenderViewHostDelegate::RendererManagement* 16 RenderViewHostDelegate::RendererManagement*
15 RenderViewHostDelegate::GetRendererManagementDelegate() { 17 RenderViewHostDelegate::GetRendererManagementDelegate() {
16 return NULL; 18 return NULL;
17 } 19 }
18 20
19 bool RenderViewHostDelegate::OnMessageReceived(const IPC::Message& message) { 21 bool RenderViewHostDelegate::OnMessageReceived(const IPC::Message& message) {
20 return false; 22 return false;
21 } 23 }
22 24
23 const GURL& RenderViewHostDelegate::GetURL() const { 25 const GURL& RenderViewHostDelegate::GetURL() const {
24 return GURL::EmptyGURL(); 26 return GURL::EmptyGURL();
25 } 27 }
26 28
27 TabContents* RenderViewHostDelegate::GetAsTabContents() { 29 TabContents* RenderViewHostDelegate::GetAsTabContents() {
28 return NULL; 30 return NULL;
29 } 31 }
30 32
33 WebContents* RenderViewHostDelegate::GetAsWebContents() {
34 return NULL;
35 }
36
31 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 37 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
32 return WebPreferences(); 38 return WebPreferences();
33 } 39 }
34 40
35 bool RenderViewHostDelegate::PreHandleKeyboardEvent( 41 bool RenderViewHostDelegate::PreHandleKeyboardEvent(
36 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { 42 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
37 return false; 43 return false;
38 } 44 }
39 45
40 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { 46 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
41 return false; 47 return false;
42 } 48 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698