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

Unified Diff: appengine/sheriff_o_matic/ui/ct-popout-iframe.html

Issue 1315693002: SoM: upgrade Polymer from 0.5 to 1.0 Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: get bower_components from polymer_1.0.4 Created 5 years, 4 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 | « appengine/sheriff_o_matic/ui/ct-party-time.html ('k') | appengine/sheriff_o_matic/ui/ct-popup-menu.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/sheriff_o_matic/ui/ct-popout-iframe.html
diff --git a/appengine/sheriff_o_matic/ui/ct-popout-iframe.html b/appengine/sheriff_o_matic/ui/ct-popout-iframe.html
index 953a5474806f29c9588f13fa07e785f550ada99c..541756373cc5657dbc69b709f3f5c66303db5419 100644
--- a/appengine/sheriff_o_matic/ui/ct-popout-iframe.html
+++ b/appengine/sheriff_o_matic/ui/ct-popout-iframe.html
@@ -2,11 +2,8 @@
Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
--->
-
-<polymer-element name="ct-popout-iframe" attributes="src" noscript>
- <template>
- <style>
+--><html><head><dom-module id="ct-popout-iframe">
+ <style>
:host {
display: flex;
flex-direction: column;
@@ -22,8 +19,15 @@ found in the LICENSE file.
flex: 1;
}
</style>
+ <template>
<iframe src="{{src}}"></iframe>
- <div class="link"><a href="{{src}}" target="_blank">pop out to a new tab</a></div>
+ <div class="link"><a target="_blank" href$="{{src}}">pop out to a new tab</a></div>
</template>
-</polymer-element>
+ <script>
+ Polymer({
+ is: 'ct-popout-iframe',
+ properties: { src: { notify: true } }
+ });
+ </script>
+</dom-module>
« no previous file with comments | « appengine/sheriff_o_matic/ui/ct-party-time.html ('k') | appengine/sheriff_o_matic/ui/ct-popup-menu.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698