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

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

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix layering problem with unittest Created 8 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
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/public/browser/render_view_host_delegate.h" 5 #include "content/public/browser/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 namespace content { 10 namespace content {
(...skipping 16 matching lines...) Expand all
27 } 27 }
28 28
29 WebContents* RenderViewHostDelegate::GetAsWebContents() { 29 WebContents* RenderViewHostDelegate::GetAsWebContents() {
30 return NULL; 30 return NULL;
31 } 31 }
32 32
33 webkit_glue::WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 33 webkit_glue::WebPreferences RenderViewHostDelegate::GetWebkitPrefs() {
34 return webkit_glue::WebPreferences(); 34 return webkit_glue::WebPreferences();
35 } 35 }
36 36
37 bool RenderViewHostDelegate::ShouldIgnoreNavigation(
38 RenderViewHost* rvh,
39 const GURL& url,
40 const content::Referrer& referrer,
41 bool is_content_initiated) {
42 return false;
43 }
44
37 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { 45 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const {
38 return false; 46 return false;
39 } 47 }
40 48
41 } // namespace content 49 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698