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

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

Issue 228803002: Revert 255617, due to it not tracking use of the link doctor page properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Minor header changes Created 6 years, 8 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/renderer/resources/neterror.html ('k') | 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: chrome/renderer/resources/neterror.js
===================================================================
--- chrome/renderer/resources/neterror.js (revision 261404)
+++ 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 | « chrome/renderer/resources/neterror.html ('k') | chrome/test/data/mock-link-doctor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698