Index: ash/system/web_notification/popup_bubble.h |
diff --git a/ash/system/web_notification/popup_bubble.h b/ash/system/web_notification/popup_bubble.h |
deleted file mode 100644 |
index 5ece8654410d0bdc0331040433eea09361245339..0000000000000000000000000000000000000000 |
--- a/ash/system/web_notification/popup_bubble.h |
+++ /dev/null |
@@ -1,50 +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 ASH_SYSTEM_WEB_NOTIFICATION_POPUP_BUBBLE_H_ |
-#define ASH_SYSTEM_WEB_NOTIFICATION_POPUP_BUBBLE_H_ |
- |
-#include "ash/ash_export.h" |
-#include "ash/system/web_notification/web_notification_bubble.h" |
-#include "ash/system/web_notification/web_notification_list.h" |
-#include "base/timer.h" |
- |
-namespace message_center { |
- |
-class PopupBubbleContentsView; |
- |
-// Bubble for popup notifications. |
-class ASH_EXPORT PopupBubble : public WebNotificationBubble { |
- public: |
- explicit PopupBubble(WebNotificationList::Delegate* delegate); |
- |
- virtual ~PopupBubble(); |
- |
- void StartAutoCloseTimer(); |
- void StopAutoCloseTimer(); |
- |
- // Overridden from WebNotificationBubble. |
- virtual TrayBubbleView::InitParams GetInitParams( |
- TrayBubbleView::AnchorAlignment anchor_alignment) OVERRIDE; |
- virtual void InitializeContents(TrayBubbleView* bubble_view) OVERRIDE; |
- virtual void OnBubbleViewDestroyed() OVERRIDE; |
- virtual void UpdateBubbleView() OVERRIDE; |
- virtual void OnMouseEnteredView() OVERRIDE; |
- virtual void OnMouseExitedView() OVERRIDE; |
- |
- size_t NumMessageViewsForTest() const; |
- |
- private: |
- void OnAutoClose(); |
- |
- base::OneShotTimer<PopupBubble> autoclose_; |
- PopupBubbleContentsView* contents_view_; |
- size_t num_popups_; |
- |
- DISALLOW_COPY_AND_ASSIGN(PopupBubble); |
-}; |
- |
-} // namespace message_center |
- |
-#endif // ASH_SYSTEM_WEB_NOTIFICATION_POPUP_BUBBLE_H_ |