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

Unified Diff: chrome/browser/resources/md_extensions/detail_view.html

Issue 2522303002: [MD Extensions] Add logic for opening the extension's home page (Closed)
Patch Set: add comment Created 4 years, 1 month 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 | « no previous file | chrome/browser/resources/md_extensions/detail_view.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_extensions/detail_view.html
diff --git a/chrome/browser/resources/md_extensions/detail_view.html b/chrome/browser/resources/md_extensions/detail_view.html
index f410264321aa41e00a7cbe26bb22e7a7bee9e815..3d792cbf6db341b87af7adaaaef9a2f291a3134d 100644
--- a/chrome/browser/resources/md_extensions/detail_view.html
+++ b/chrome/browser/resources/md_extensions/detail_view.html
@@ -32,6 +32,10 @@
padding: 8px 12px 0;
}
+ a paper-icon-button {
+ color: var(--paper-grey-600);
+ }
+
#name {
flex-grow: 1;
}
@@ -74,8 +78,10 @@
<paper-icon-button id="close-button" icon="arrow-back"
on-tap="onCloseButtonTap_"></paper-icon-button>
<span id="name">[[data.name]]</span>
- <paper-icon-button id="open-in-webstore" icon="open-in-new">
- </paper-icon-button>
+ <a id="open-homepage" href="[[data.homePage.url]]" tabindex="-1"
+ target="_blank" hidden$="[[!shouldShowHomepageButton_(data.*)]]">
+ <paper-icon-button icon="open-in-new"></paper-icon-button>
+ </a>
<paper-icon-button id="options" icon="settings"
on-tap="onOptionsButtonTap_"
hidden$="[[!shouldShowOptionsButton_(data.*)]]">
« no previous file with comments | « no previous file | chrome/browser/resources/md_extensions/detail_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698