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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 292123015: Remove WebContents::IsActiveEntry from Instant Extended and from WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 6ed02ce9fe313491114cffcedede6a9f14b08ea0..a3f67e585091340a99f779beaad63cc8083e5d8d 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2065,15 +2065,6 @@ void WebContentsImpl::GenerateMHTML(
MHTMLGenerationManager::GetInstance()->SaveMHTML(this, file, callback);
}
-// TODO(nasko): Rename this method to IsVisibleEntry.
-bool WebContentsImpl::IsActiveEntry(int32 page_id) {
- NavigationEntryImpl* visible_entry =
- NavigationEntryImpl::FromNavigationEntry(controller_.GetVisibleEntry());
- return (visible_entry != NULL &&
- visible_entry->site_instance() == GetSiteInstance() &&
- visible_entry->GetPageID() == page_id);
-}
-
const std::string& WebContentsImpl::GetContentsMimeType() const {
return contents_mime_type_;
}
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698