summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 05:44:26 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 05:44:26 +0000
commit4bb33630869981809c47c36c3c18813d6b005d34 (patch)
tree505252dfeac2de2d02a89d1f7e69ffcdf4affcf5 /chrome/browser/resources
parenta93244407e205a8619d620ce91bafbdf88eab195 (diff)
downloadchromium_src-4bb33630869981809c47c36c3c18813d6b005d34.zip
chromium_src-4bb33630869981809c47c36c3c18813d6b005d34.tar.gz
chromium_src-4bb33630869981809c47c36c3c18813d6b005d34.tar.bz2
Browser side support (sans UI) for desktop notifications.
BUG=none TEST=none Review URL: http://codereview.chromium.org/194108 Review URL: http://codereview.chromium.org/271052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/notification.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/chrome/browser/resources/notification.html b/chrome/browser/resources/notification.html
new file mode 100644
index 0000000..5e436e7
--- /dev/null
+++ b/chrome/browser/resources/notification.html
@@ -0,0 +1,36 @@
+<html>
+<head>
+<title>$2</title>
+<style type="text/css"><!--
+#icon {
+height:48px;
+width:48px;
+position:absolute;
+top:2px;
+left:2px;
+display:$4;
+}
+#title {
+font-weight:bold;
+position:absolute;
+top:3px;
+left:$5px;
+font-family:sans-serif;
+font-size:11pt;
+}
+#body {
+position:absolute;
+left:$5px;
+top:20px;
+font-family:sans-serif;
+font-size:9pt;
+}
+//-->
+</style>
+</head>
+<body>
+<div id="icon"><img src="$1" /></div>
+<div id="title">$2</div>
+<div id="body">$3</div>
+</body>
+</html>