Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6835)

Unified Diff: chrome/browser/status_icons/desktop_notification_balloon.h

Issue 8417027: Revert 107722 - Implement notifications for the DisplayBalloon method on Linux and Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/status_icons/desktop_notification_balloon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/status_icons/desktop_notification_balloon.h
===================================================================
--- chrome/browser/status_icons/desktop_notification_balloon.h (revision 107726)
+++ chrome/browser/status_icons/desktop_notification_balloon.h (working copy)
@@ -1,37 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_STATUS_ICONS_DESKTOP_NOTIFICATION_BALLOON_H_
-#define CHROME_BROWSER_STATUS_ICONS_DESKTOP_NOTIFICATION_BALLOON_H_
-#pragma once
-
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/string16.h"
-
-class Notification;
-class SkBitmap;
-
-// Provides the notification balloon functionality by using desktop
-// notifications to platforms that don't have a specific native API.
-class DesktopNotificationBalloon {
- public:
- DesktopNotificationBalloon();
- virtual ~DesktopNotificationBalloon();
-
- void DisplayBalloon(const SkBitmap& icon,
- const string16& title,
- const string16& contents);
-
- private:
- // Notification balloon.
- scoped_ptr<Notification> notification_;
-
- // Counter to provide unique ids to notifications.
- static int id_count_;
-
- DISALLOW_COPY_AND_ASSIGN(DesktopNotificationBalloon);
-};
-
-#endif // CHROME_BROWSER_STATUS_ICONS_DESKTOP_NOTIFICATION_BALLOON_H_
« no previous file with comments | « no previous file | chrome/browser/status_icons/desktop_notification_balloon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698