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

Unified Diff: chrome/browser/ui/browser.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: chrome/browser/ui/browser.cc
===================================================================
--- chrome/browser/ui/browser.cc (revision 158566)
+++ chrome/browser/ui/browser.cc (working copy)
@@ -1389,10 +1389,6 @@
return false;
}
-bool Browser::IsApplication() const {
- return is_app();
-}
-
gfx::Rect Browser::GetRootWindowResizerRect() const {
return window_->GetRootWindowResizerRect();
}
@@ -1478,13 +1474,6 @@
TabContents::FromWebContents(source));
}
-bool Browser::ShouldAddNavigationToHistory(
- const history::HistoryAddPageArgs& add_page_args,
- content::NavigationType navigation_type) {
- // Don't update history if running as app.
- return !IsApplication();
-}
-
bool Browser::ShouldCreateWebContents(
WebContents* web_contents,
int route_id,

Powered by Google App Engine
This is Rietveld 408576698