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

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 10978016: Remove two functions on WebContentsDelegate which didn't belong in content. They were only called f… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits and fixed prerender browser tests Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents_delegate.cc
===================================================================
--- content/public/browser/web_contents_delegate.cc (revision 158566)
+++ content/public/browser/web_contents_delegate.cc (working copy)
@@ -29,8 +29,6 @@
return false;
}
-bool WebContentsDelegate::IsApplication() const { return false; }
-
bool WebContentsDelegate::CanLoadDataURLsInWebUI() const { return false; }
gfx::Rect WebContentsDelegate::GetRootWindowResizerRect() const {
@@ -116,12 +114,6 @@
return true;
}
-bool WebContentsDelegate::ShouldAddNavigationToHistory(
- const history::HistoryAddPageArgs& add_page_args,
- NavigationType navigation_type) {
- return true;
-}
-
gfx::NativeWindow WebContentsDelegate::GetFrameNativeWindow() {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698