Index: remoting/webapp/html/title_bar.html |
diff --git a/remoting/webapp/html/title_bar.html b/remoting/webapp/html/title_bar.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..15fa79dcd230e9dd66221395be5efb3b4be6fd2b |
--- /dev/null |
+++ b/remoting/webapp/html/title_bar.html |
@@ -0,0 +1,35 @@ |
+<!-- |
+Copyright (c) 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. |
+--> |
+<div id="title-bar" class="title-bar apps-v2-only"> |
+ <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
|
+ <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
|
+ <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.
|
+ <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.
|
+ <span id="window-disconnect" |
+ i18n-title="DISCONNECT_MYSELF_BUTTON" |
+ class="window-control"> |
+ <img src="icon_disconnect.webp"> |
+ </span> |
+ <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
|
+ i18n-title="MINIMIZE_WINDOW" |
+ class="window-control"> |
+ <img src="icon_minimize.webp"> |
+ </span> |
+ <span id="window-maximize-restore" |
+ i18n-title="MAXIMIZE_WINDOW" |
+ class="window-control"> |
+ <img src="icon_maximize_restore.webp"> |
+ </span> |
+ <span id="window-close" |
+ i18n-title="CLOSE_WINDOW" |
+ class="window-control"> |
+ <img src="icon_close.webp"> |
+ </span> |
+ </div> |
+ <div id="window-controls-stub"> </div> |
+ </span> |
+ </span> |
+</div> |