OLD | NEW |
---|---|
(Empty) | |
1 <!-- | |
2 Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
3 Use of this source code is governed by a BSD-style license that can be | |
4 found in the LICENSE file. | |
5 --> | |
6 <div id="title-bar" class="title-bar apps-v2-only"> | |
7 <span id="window-title" class="window-title"> </span> | |
Jamie
2014/05/05 22:37:15
I don't like the use of here, but the size
Sergey Ulanov
2014/05/06 07:58:14
nit: do you need both class and id here?
Sergey Ulanov
2014/05/06 07:58:14
Does it not work if you put a space instead of &nb
Jamie
2014/05/06 21:11:08
I don't think so. Even if it did, I would be nervo
Jamie
2014/05/06 21:11:08
I've eliminated all ids except the top-level one i
| |
8 <span class="window-controls-hover-target" id="window-controls"> | |
Sergey Ulanov
2014/05/06 07:58:14
Maybe use divs instead of spans and explicitly set
Jamie
2014/05/06 21:11:08
I've used spans for content that is laid out horiz
| |
9 <span class="window-controls"> | |
Sergey Ulanov
2014/05/06 07:58:14
you have both id=window-controls and class=window-
Jamie
2014/05/06 21:11:08
See above.
| |
10 <div> | |
kelvinp
2014/05/06 04:42:15
<span>'s are inline elements and <div>'s are block
Jamie
2014/05/06 21:11:08
Done.
| |
11 <span id="window-disconnect" | |
12 i18n-title="DISCONNECT_MYSELF_BUTTON" | |
13 class="window-control"> | |
14 <img src="icon_disconnect.webp"> | |
15 </span> | |
16 <span id="window-minimize" | |
kelvinp
2014/05/06 04:42:15
Do we care about RTL languages? Do we need to sho
Jamie
2014/05/06 21:11:08
Good catch! We do care, and I think the correct be
| |
17 i18n-title="MINIMIZE_WINDOW" | |
18 class="window-control"> | |
19 <img src="icon_minimize.webp"> | |
20 </span> | |
21 <span id="window-maximize-restore" | |
22 i18n-title="MAXIMIZE_WINDOW" | |
23 class="window-control"> | |
24 <img src="icon_maximize_restore.webp"> | |
25 </span> | |
26 <span id="window-close" | |
27 i18n-title="CLOSE_WINDOW" | |
28 class="window-control"> | |
29 <img src="icon_close.webp"> | |
30 </span> | |
31 </div> | |
32 <div id="window-controls-stub"> </div> | |
33 </span> | |
34 </span> | |
35 </div> | |
OLD | NEW |