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

Side by Side Diff: appengine/chromium_rietveld/new_static/components/cr-patch-file-messages.html

Issue 1001723003: Create a common directory of widgets and css. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. --> 3 found in the LICENSE file. -->
4 4
5 <link rel="import" href="cr-patch-file-message.html"> 5 <link rel="import" href="cr-patch-file-message.html">
6 6
7 <polymer-element name="cr-patch-file-messages" attributes="beforeMessages afterM essages file"> 7 <polymer-element name="cr-patch-file-messages" attributes="beforeMessages afterM essages file">
8 <template> 8 <template>
9 <link rel="stylesheet" href="common.css"> 9 <link rel="stylesheet" href="../common/common.css">
10 <style> 10 <style>
11 :host { 11 :host {
12 display: block; 12 display: block;
13 } 13 }
14 14
15 cr-patch-file-message { 15 cr-patch-file-message {
16 background-color: #ffd; 16 background-color: #ffd;
17 border-bottom: 1px solid #dcdcdc; 17 border-bottom: 1px solid #dcdcdc;
18 } 18 }
19 19
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 this.file.removeMessage(message); 119 this.file.removeMessage(message);
120 this.beforeMessages.remove(message); 120 this.beforeMessages.remove(message);
121 this.afterMessages.remove(message); 121 this.afterMessages.remove(message);
122 // TODO(esprehn): Is there a better way than removing yourself? 122 // TODO(esprehn): Is there a better way than removing yourself?
123 if (!this.beforeMessages.length && !this.afterMessages.length) 123 if (!this.beforeMessages.length && !this.afterMessages.length)
124 this.remove(); 124 this.remove();
125 }, 125 },
126 }); 126 });
127 </script> 127 </script>
128 </polymer-element> 128 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698