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

Unified Diff: ash/system/web_notification/popup_bubble.h

Issue 11229022: Move ash/system/web_notification message_center to ui/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again. Created 8 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 | « ash/system/web_notification/message_center_bubble.cc ('k') | ash/system/web_notification/popup_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ash/system/web_notification/message_center_bubble.cc ('k') | ash/system/web_notification/popup_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698