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

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

Issue 207553008: Surface button for loading stale cache copy on net error page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix incorrect spelling of iOS. 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
Index: chrome/renderer/resources/neterror.html
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
index 63c6a6922064ed8d46bbf5048ef00e1ad244a167..e0eaf7ca7d21680724b7500d136917ddf5b096c6 100644
--- a/chrome/renderer/resources/neterror.html
+++ b/chrome/renderer/resources/neterror.html
@@ -21,12 +21,16 @@
</h1>
<div id="buttons">
<button id="reload-button" class="blue-button text-button"
- onclick="location = this.url"
- jsselect="reload" jsvalues=".url:reloadUrl"
+ onclick="reloadButtonClick(this.url);"
+ jsselect="reloadButton" jsvalues=".url:reloadUrl"
jscontent="msg"></button>
+ <button id="stale-load-button" class="blue-button text-button"
+ onclick="loadStaleButtonClick()"
+ jsselect="staleLoadButton"
+ jscontent="msg" jsvalues="title:title"></button>
<button id="more-less-button" class="text-button"
- onclick="toggleHelpBox()" jsdisplay="more"
- jsvalues=".moreText:more; .lessText:less;"
+ onclick="moreButtonClick(); toggleHelpBox()"
+ jsdisplay="more" jsvalues=".moreText:more; .lessText:less;"
jscontent="more"></button>
</div>
</div>
@@ -53,7 +57,7 @@
<button type="submit" id="search-button" class="blue-button"
jsvalues="aria-label:searchHeader">
<img id="search-image">
- </button>
+ </button>
</div>
</form>
<div class="error-code" jscontent="errorCode"></div>

Powered by Google App Engine
This is Rietveld 408576698