From f733f2680c94fad910ce9686aa2645bc90ebc160 Mon Sep 17 00:00:00 2001 From: "jamiewalch@chromium.org" Date: Wed, 14 May 2014 06:10:16 +0000 Subject: Implement apps v2 custom window frame. The default apps v2 container is pretty basic. We want to provide something that looks prettier and also implements some functionality specific to our use-case: * When connected to a host, a disconnect icon is added to the window controls (it's therefore no longer needed in the tool-bar). * When connected to a host, maximize == full-screen. * In full-screen mode, the window controls are still accessible, but are auto-hidden near the top-left corner (but not obscuring it, since it's often a hot-spot on the server). * For touch-screen devices with no concept of hover, clicking the "stub" will also reveal the controls. There should be no change to the v1 UX, but I don't plan on landing this CL before the M36 branch point, just in case. BUG=134213 Review URL: https://codereview.chromium.org/265393005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270342 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/webapp/html/template_main.html | 92 ++++++++++++++++++--------------- remoting/webapp/html/toolbar.html | 12 +++-- remoting/webapp/html/window_frame.html | 29 +++++++++++ 3 files changed, 86 insertions(+), 47 deletions(-) create mode 100644 remoting/webapp/html/window_frame.html (limited to 'remoting/webapp/html') diff --git a/remoting/webapp/html/template_main.html b/remoting/webapp/html/template_main.html index e690e3f..78e738e 100644 --- a/remoting/webapp/html/template_main.html +++ b/remoting/webapp/html/template_main.html @@ -5,7 +5,7 @@ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> - + @@ -14,13 +14,16 @@ found in the LICENSE file. + - + + + - + - + - - + + - + +
+   + +
+ + + + + + + + + + + + +
+
 
+
+
-- cgit v1.1