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

Unified Diff: chrome/browser/resources/history/history.html

Issue 668983004: Add <a is="action-link">, a web component extension of <a> for in-page actions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 6 years, 2 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/browser/resources/history/history.html
diff --git a/chrome/browser/resources/history/history.html b/chrome/browser/resources/history/history.html
index 8362effa5c845804bc832f629db119019a83e35a..e6bcc8a94f4dafa6dfe7eb5d899f22c49e0ba7be 100644
--- a/chrome/browser/resources/history/history.html
+++ b/chrome/browser/resources/history/history.html
@@ -27,6 +27,7 @@
<link rel="stylesheet" href="other_devices.css">
</if>
+<script src="chrome://resources/js/action_link.js"></script>
<script src="chrome://resources/js/assert.js"></script>
<script src="chrome://resources/js/event_tracker.js"></script>
<script src="chrome://resources/js/util.js"></script>
@@ -122,13 +123,9 @@
</span>
</div>
<div id="results-pagination">
- <button id="newest-button" class="link-button" i18n-content="newest"
- hidden>
- </button>
- <button id="newer-button" class="link-button" i18n-content="newer" hidden>
- </button>
- <button id="older-button" class="link-button" i18n-content="older" hidden>
- </button>
+ <a is="action-link" id="newest-button" i18n-content="newest" hidden></a>
+ <a is="action-link" id="newer-button" i18n-content="newer" hidden></a>
+ <a is="action-link" id="older-button" i18n-content="older" hidden></a>
</div>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698