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

Unified Diff: chrome/browser/ui/cocoa/notifications/balloon_view_bridge.h

Issue 231213003: notification balloons: Remove views and cocoa implementations of BalloonCollection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/ui/cocoa/notifications/balloon_view_bridge.h
diff --git a/chrome/browser/ui/cocoa/notifications/balloon_view_bridge.h b/chrome/browser/ui/cocoa/notifications/balloon_view_bridge.h
deleted file mode 100644
index f7f8f64f51008e9a675e08b0002dad7cfec94ae9..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/notifications/balloon_view_bridge.h
+++ /dev/null
@@ -1,39 +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_UI_COCOA_NOTIFICATIONS_BALLOON_VIEW_BRIDGE_H_
-#define CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BALLOON_VIEW_BRIDGE_H_
-
-#include "chrome/browser/notifications/balloon.h"
-
-@class BalloonController;
-class BalloonHost;
-namespace gfx {
-class Size;
-}
-
-// Bridges from the cross-platform BalloonView interface to the Cocoa
-// controller which will draw the view on screen.
-class BalloonViewBridge : public BalloonView {
- public:
- BalloonViewBridge();
- virtual ~BalloonViewBridge();
-
- // BalloonView interface.
- 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;
-
- private:
- // Weak pointer to the balloon controller which manages the UI.
- // This object cleans itself up when its windows close.
- BalloonController* controller_;
-
- DISALLOW_COPY_AND_ASSIGN(BalloonViewBridge);
-};
-
-#endif // CHROME_BROWSER_UI_COCOA_NOTIFICATIONS_BALLOON_VIEW_BRIDGE_H_
« no previous file with comments | « chrome/browser/ui/cocoa/notifications/balloon_view.mm ('k') | chrome/browser/ui/cocoa/notifications/balloon_view_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698