summaryrefslogtreecommitdiffstats
path: root/remoting/resources
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 06:10:16 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 06:10:16 +0000
commitf733f2680c94fad910ce9686aa2645bc90ebc160 (patch)
tree1b43738a891b6713022c2d648b91c33733955d6a /remoting/resources
parent79e70d0fe37628603f793961269e74b9c6117e8b (diff)
downloadchromium_src-f733f2680c94fad910ce9686aa2645bc90ebc160.zip
chromium_src-f733f2680c94fad910ce9686aa2645bc90ebc160.tar.gz
chromium_src-f733f2680c94fad910ce9686aa2645bc90ebc160.tar.bz2
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
Diffstat (limited to 'remoting/resources')
-rw-r--r--remoting/resources/drag.webpbin0 -> 148 bytes
-rw-r--r--remoting/resources/icon_close.webpbin0 -> 410 bytes
-rw-r--r--remoting/resources/icon_disconnect.webpbin0 -> 360 bytes
-rw-r--r--remoting/resources/icon_maximize_restore.webpbin0 -> 350 bytes
-rw-r--r--remoting/resources/icon_minimize.webpbin0 -> 176 bytes
-rw-r--r--remoting/resources/remoting_strings.grd17
6 files changed, 16 insertions, 1 deletions
diff --git a/remoting/resources/drag.webp b/remoting/resources/drag.webp
new file mode 100644
index 0000000..e93f0ef
--- /dev/null
+++ b/remoting/resources/drag.webp
Binary files differ
diff --git a/remoting/resources/icon_close.webp b/remoting/resources/icon_close.webp
new file mode 100644
index 0000000..65ee17c
--- /dev/null
+++ b/remoting/resources/icon_close.webp
Binary files differ
diff --git a/remoting/resources/icon_disconnect.webp b/remoting/resources/icon_disconnect.webp
new file mode 100644
index 0000000..ac23d83
--- /dev/null
+++ b/remoting/resources/icon_disconnect.webp
Binary files differ
diff --git a/remoting/resources/icon_maximize_restore.webp b/remoting/resources/icon_maximize_restore.webp
new file mode 100644
index 0000000..a91c1cc
--- /dev/null
+++ b/remoting/resources/icon_maximize_restore.webp
Binary files differ
diff --git a/remoting/resources/icon_minimize.webp b/remoting/resources/icon_minimize.webp
new file mode 100644
index 0000000..a21cad0
--- /dev/null
+++ b/remoting/resources/icon_minimize.webp
Binary files differ
diff --git a/remoting/resources/remoting_strings.grd b/remoting/resources/remoting_strings.grd
index b9d8bc2..2161914 100644
--- a/remoting/resources/remoting_strings.grd
+++ b/remoting/resources/remoting_strings.grd
@@ -552,9 +552,24 @@ For information about privacy, please see the Google Privacy Policy (http://goo.
<message desc="Footer text displayed at the host after an access code has been generated, but before a client connects." name="IDS_FOOTER_WAITING">
waiting for connection…
</message>
- <message desc="Menu option for toggle full-screen mode. Equivalent to using the Wrench menu to do the same thing." name="IDS_FULL_SCREEN" formatter_data="android_java">
+ <message desc="Menu option for toggle full-screen mode." name="IDS_FULL_SCREEN" formatter_data="android_java">
Full screen
</message>
+ <message desc="Icon to leave full-screen mode." name="IDS_EXIT_FULL_SCREEN">
+ Exit full screen
+ </message>
+ <message desc="Tool-tip for the window's close icon." name="IDS_CLOSE_WINDOW">
+ Close window
+ </message>
+ <message desc="Tool-tip for the window's maximize icon." name="IDS_MAXIMIZE_WINDOW">
+ Maximize window
+ </message>
+ <message desc="Tool-tip for the window's minimize icon." name="IDS_MINIMIZE_WINDOW">
+ Minimize window
+ </message>
+ <message desc="Tool-tip for the window's restore icon." name="IDS_RESTORE_WINDOW">
+ Restore window
+ </message>
<message desc="Button displayed underneath explanatory text for app features. Clicking causes the text, infographic and the button itself to be replaced by the actual UI for that feature." name="IDS_GET_STARTED">
Get started
</message>