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

Unified Diff: remoting/webapp/html/title_bar.html

Issue 265393005: Implement apps v2 custom window frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed file added accidentally. Created 6 years, 7 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
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">&nbsp;</span>
Jamie 2014/05/05 22:37:15 I don't like the use of &nbsp; 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">&nbsp;</div>
+ </span>
+ </span>
+</div>

Powered by Google App Engine
This is Rietveld 408576698