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

Unified Diff: chrome/renderer/resources/extensions/searchbox_api.js

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/common/render_messages.h ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/extensions/searchbox_api.js
diff --git a/chrome/renderer/resources/extensions/searchbox_api.js b/chrome/renderer/resources/extensions/searchbox_api.js
index 751d16a6aabcd48ebcf91971ff6993f811a3ebb3..cbbd2e3854b608cb0ebcf1271dd42d7b7fc63180 100644
--- a/chrome/renderer/resources/extensions/searchbox_api.js
+++ b/chrome/renderer/resources/extensions/searchbox_api.js
@@ -92,14 +92,12 @@ if (!chrome.embeddedSearch) {
native function CheckIsUserSyncingHistory();
native function DeleteMostVisitedItem();
native function GetAppLauncherEnabled();
- native function GetDispositionFromClick();
native function GetMostVisitedItems();
native function GetThemeBackgroundInfo();
native function IsInputInProgress();
native function LogEvent();
native function LogMostVisitedImpression();
native function LogMostVisitedNavigation();
- native function NavigateContentWindow();
native function UndoAllMostVisitedDeletions();
native function UndoMostVisitedDeletion();
@@ -139,18 +137,6 @@ if (!chrome.embeddedSearch) {
DeleteMostVisitedItem(restrictedId);
};
- this.getDispositionFromClick = function(middle_button,
- alt_key,
- ctrl_key,
- meta_key,
- shift_key) {
- return GetDispositionFromClick(middle_button,
- alt_key,
- ctrl_key,
- meta_key,
- shift_key);
- };
-
this.checkIsUserSignedIntoChromeAs = function(identity) {
CheckIsUserSignedInToChromeAs(identity);
};
@@ -177,10 +163,6 @@ if (!chrome.embeddedSearch) {
LogMostVisitedNavigation(position, provider);
};
- this.navigateContentWindow = function(rid, disposition) {
- NavigateContentWindow(rid, disposition);
- };
-
this.undoAllMostVisitedDeletions = function() {
UndoAllMostVisitedDeletions();
};
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698