summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/balloon_collection_mac.mm
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-29 17:51:36 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-29 17:51:36 +0000
commitc8173315b15ccf58d8062900fd25eebfd56eb327 (patch)
treea73c01e3f081369ec15cc91fefb80b2baf8eb94f /chrome/browser/notifications/balloon_collection_mac.mm
parent276aa6a60396329c7fb4a988bd0be7f7d0895651 (diff)
downloadchromium_src-c8173315b15ccf58d8062900fd25eebfd56eb327.zip
chromium_src-c8173315b15ccf58d8062900fd25eebfd56eb327.tar.gz
chromium_src-c8173315b15ccf58d8062900fd25eebfd56eb327.tar.bz2
Adds UI components for desktop notifications, including balloon view classes to display toasts on the screen, and manager for controlling the layout of the balloons.
BUG=none TEST=none yet (part of larger patch) Review URL: http://codereview.chromium.org/338051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/balloon_collection_mac.mm')
-rw-r--r--chrome/browser/notifications/balloon_collection_mac.mm22
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/browser/notifications/balloon_collection_mac.mm b/chrome/browser/notifications/balloon_collection_mac.mm
new file mode 100644
index 0000000..45728fb
--- /dev/null
+++ b/chrome/browser/notifications/balloon_collection_mac.mm
@@ -0,0 +1,22 @@
+// Copyright (c) 2009 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.
+
+#include "chrome/browser/notifications/balloon_collection.h"
+
+#include "base/gfx/size.h"
+#include "base/logging.h"
+
+Balloon* BalloonCollectionImpl::MakeBalloon(const Notification& notification,
+ Profile* profile) {
+ // TODO(johnnyg): http://crbug.com/23066. Part of future Mac support.
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
+bool BalloonCollectionImpl::Layout::RefreshSystemMetrics() {
+ // TODO(johnnyg): http://crbug.com/23066. Part of future Mac support.
+ NOTIMPLEMENTED();
+ return false;
+}
+