diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 20:59:18 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 20:59:18 +0000 |
commit | 214a12be5c06e7197b7eb4b990ff480ba12c4fad (patch) | |
tree | a2eadde775113b507ba75fd8bed9eb5d2d395e01 /remoting | |
parent | 38e4681f3581fb269dd676cf77ee2a35cf8608c7 (diff) | |
download | chromium_src-214a12be5c06e7197b7eb4b990ff480ba12c4fad.zip chromium_src-214a12be5c06e7197b7eb4b990ff480ba12c4fad.tar.gz chromium_src-214a12be5c06e7197b7eb4b990ff480ba12c4fad.tar.bz2 |
Initial files for Me2Mom web-app.
BUG=None
TEST=Manual
Review URL: http://codereview.chromium.org/6985005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/webapp/me2mom/choice.html | 23 | ||||
-rw-r--r-- | remoting/webapp/me2mom/chromoting.png | bin | 0 -> 1108 bytes | |||
-rw-r--r-- | remoting/webapp/me2mom/client.html | 15 | ||||
-rw-r--r-- | remoting/webapp/me2mom/host.html | 15 | ||||
-rw-r--r-- | remoting/webapp/me2mom/main.css | 51 | ||||
-rw-r--r-- | remoting/webapp/me2mom/manifest.json | 9 |
6 files changed, 113 insertions, 0 deletions
diff --git a/remoting/webapp/me2mom/choice.html b/remoting/webapp/me2mom/choice.html new file mode 100644 index 0000000..c4e5e4e --- /dev/null +++ b/remoting/webapp/me2mom/choice.html @@ -0,0 +1,23 @@ +<!-- +Copyright (c) 2011 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. +--> + +<html> + <head> + <link rel="stylesheet" type="text/css" href="main.css" /> + <title>Select Role</title> + </head> + <body> + <div id="host-or-client-choice"> + <p class="message">Select role:</p> + <button class="role-select" onclick="location.replace('host.html');"> + Host + </button> + <button class="role-select" onclick="location.replace('client.html');"> + Client + </button> + </div> + </body> +</html> diff --git a/remoting/webapp/me2mom/chromoting.png b/remoting/webapp/me2mom/chromoting.png Binary files differnew file mode 100644 index 0000000..97172a2 --- /dev/null +++ b/remoting/webapp/me2mom/chromoting.png diff --git a/remoting/webapp/me2mom/client.html b/remoting/webapp/me2mom/client.html new file mode 100644 index 0000000..065053e --- /dev/null +++ b/remoting/webapp/me2mom/client.html @@ -0,0 +1,15 @@ +<!-- +Copyright (c) 2011 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. +--> + +<html> + <head> + <link rel="stylesheet" type="text/css" href="main.css" /> + <title>Select Role</title> + </head> + <body> + <p class="message">Client-mode selected.</p> + </body> +</html> diff --git a/remoting/webapp/me2mom/host.html b/remoting/webapp/me2mom/host.html new file mode 100644 index 0000000..38630f0 --- /dev/null +++ b/remoting/webapp/me2mom/host.html @@ -0,0 +1,15 @@ +<!-- +Copyright (c) 2011 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. +--> + +<html> + <head> + <link rel="stylesheet" type="text/css" href="main.css" /> + <title>Select Role</title> + </head> + <body> + <p class="message">Host-mode selected.</p> + </body> +</html> diff --git a/remoting/webapp/me2mom/main.css b/remoting/webapp/me2mom/main.css new file mode 100644 index 0000000..c7d0e8d --- /dev/null +++ b/remoting/webapp/me2mom/main.css @@ -0,0 +1,51 @@ +body { + font-family: Helvetica, sans-serif; + cursor: default; + font-size: 13px; + min-width:200px; + min-height:100px; +} + +p { + color: black; +} + +.message { + font-family: sans-serif; + font-size: 1.2em; + padding: 0 4px 0 4px; +} + +button { + -webkit-border-radius: 2px; + -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); + -webkit-user-select: none; + background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); + border: 1px solid #aaa; + color: #444; + font-size: inherit; + margin-bottom: 0px; + min-width: 4em; + padding: 3px 12px 3px 12px; +} + + +button:hover { + -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); + background: #ebebeb -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9); + border-color: #999; + color: #222; +} + +button:active { + -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2); + background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc); + color: #333; +} + +button[disabled], button[disabled]:hover { + -webkit-box-shadow: none; + background: -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5); + border-color: #aaa; + color: #888; +} diff --git a/remoting/webapp/me2mom/manifest.json b/remoting/webapp/me2mom/manifest.json new file mode 100644 index 0000000..6fbd740 --- /dev/null +++ b/remoting/webapp/me2mom/manifest.json @@ -0,0 +1,9 @@ +{ + "name": "Chromoting Me2Mom", + "version": "1.0", + "description": "Me2Mom-style remote support in Chrome.", + "browser_action": { + "default_icon": "chromoting.png", + "popup": "choice.html" + } +} |