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

Unified Diff: trunk/src/chrome/renderer/resources/neterror.js

Issue 185003002: Revert 254207 "Switch to using the new Link Doctor API." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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 | « trunk/src/chrome/renderer/resources/neterror.html ('k') | trunk/src/chrome/test/data/mock-link-doctor.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/renderer/resources/neterror.js
===================================================================
--- trunk/src/chrome/renderer/resources/neterror.js (revision 254240)
+++ trunk/src/chrome/renderer/resources/neterror.js (working copy)
@@ -53,13 +53,6 @@
classList['last_icon_class'] = newClass;
}
-// Does a search using |baseSearchUrl| and the text in the search box.
-function search(baseSearchUrl) {
- var searchTextNode = document.getElementById('search-box');
- document.location = baseSearchUrl + searchTextNode.value;
- return false;
-}
-
<if expr="is_macosx or is_ios or is_linux or is_android">
// Re-orders buttons. Used on Mac, Linux, and Android, where reload should go
// on the right.
« no previous file with comments | « trunk/src/chrome/renderer/resources/neterror.html ('k') | trunk/src/chrome/test/data/mock-link-doctor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698