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

Unified Diff: chrome/browser/notifications/fake_balloon_view.h

Issue 231723006: Remove balloon notification code. The last user was the Linux GTK port but that's deleted now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync after elliot's r263101 Created 6 years, 8 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
Index: chrome/browser/notifications/fake_balloon_view.h
===================================================================
--- chrome/browser/notifications/fake_balloon_view.h (revision 263121)
+++ chrome/browser/notifications/fake_balloon_view.h (working copy)
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 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_NOTIFICATIONS_FAKE_BALLOON_VIEW_H_
-#define CHROME_BROWSER_NOTIFICATIONS_FAKE_BALLOON_VIEW_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/notifications/balloon.h"
-
-// Test version of a balloon view which doesn't do anything viewable, but does
-// know how to close itself the same as a regular BalloonView.
-class FakeBalloonView : public BalloonView {
- public:
- explicit FakeBalloonView(Balloon* balloon);
- virtual ~FakeBalloonView();
-
- private:
- // Overridden from BalloonView:
- virtual void Show(Balloon* balloon) OVERRIDE;
- virtual void Update() OVERRIDE;
- virtual void RepositionToBalloon() OVERRIDE;
- virtual void Close(bool by_user) OVERRIDE;
- virtual gfx::Size GetSize() const OVERRIDE;
- virtual BalloonHost* GetHost() const OVERRIDE;
-
- // Non-owned pointer.
- Balloon* balloon_;
-
- DISALLOW_COPY_AND_ASSIGN(FakeBalloonView);
-};
-
-#endif // CHROME_BROWSER_NOTIFICATIONS_FAKE_BALLOON_VIEW_H_
« no previous file with comments | « chrome/browser/notifications/desktop_notifications_unittest.cc ('k') | chrome/browser/notifications/fake_balloon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698