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

Unified Diff: chrome/browser/ui/browser.cc

Issue 1908363002: Nuke chrome.embeddedeseach.newTabPage.navigateContentWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/search/search_ipc_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 58b5160ee45a54a0676a30d9577bb9b2bbb04a39..ebeaaa72c02b0c754783c2a5d3c38187e80e9a26 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1891,27 +1891,6 @@ bool Browser::CanSaveContents(content::WebContents* web_contents) const {
///////////////////////////////////////////////////////////////////////////////
// Browser, SearchTabHelperDelegate implementation:
-void Browser::NavigateOnThumbnailClick(const GURL& url,
- WindowOpenDisposition disposition,
- content::WebContents* source_contents) {
- DCHECK(source_contents);
- // We're guaranteed that AUTO_BOOKMARK is the right transition since this only
- // gets called to handle clicks in the new tab page (to navigate to most
- // visited item URLs) and in the search results page (to navigate to
- // privileged destinations (e.g. chrome://URLs)).
- //
- // TODO(kmadhusu): Page transitions to privileged destinations should be
- // marked as "LINK" instead of "AUTO_BOOKMARK"?
- chrome::NavigateParams params(this, url,
- ui::PAGE_TRANSITION_AUTO_BOOKMARK);
- params.referrer = content::Referrer();
- params.source_contents = source_contents;
- params.disposition = disposition;
- params.is_renderer_initiated = false;
- params.initiating_profile = profile_;
- chrome::Navigate(&params);
-}
-
void Browser::OnWebContentsInstantSupportDisabled(
const content::WebContents* web_contents) {
DCHECK(web_contents);
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/search/search_ipc_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698