Index: ash/launcher/overflow_bubble.h |
diff --git a/ash/launcher/overflow_bubble.h b/ash/launcher/overflow_bubble.h |
deleted file mode 100644 |
index 84fbcc126496ceb6f7862054be44a420641bfc80..0000000000000000000000000000000000000000 |
--- a/ash/launcher/overflow_bubble.h |
+++ /dev/null |
@@ -1,52 +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_LAUNCHER_OVERFLOW_BUBBLE_H_ |
-#define ASH_LAUNCHER_OVERFLOW_BUBBLE_H_ |
- |
-#include "base/basictypes.h" |
-#include "base/compiler_specific.h" |
-#include "ui/views/widget/widget_observer.h" |
- |
-namespace views { |
-class View; |
-} |
- |
-namespace ash { |
- |
-class LauncherDelegate; |
-class LauncherModel; |
- |
-namespace internal { |
- |
-class LauncherView; |
- |
-// OverflowBubble displays the overflown launcher items in a bubble. |
-class OverflowBubble : public views::WidgetObserver { |
- public: |
- OverflowBubble(); |
- virtual ~OverflowBubble(); |
- |
- // Shows an bubble pointing to |anchor| with |launcher_view| as its content. |
- void Show(views::View* anchor, LauncherView* launcher_view); |
- |
- void Hide(); |
- |
- bool IsShowing() const { return !!bubble_; } |
- LauncherView* launcher_view() { return launcher_view_; } |
- |
- private: |
- // Overridden from views::WidgetObserver: |
- virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; |
- |
- views::View* bubble_; // Owned by views hierarchy. |
- LauncherView* launcher_view_; // Owned by |bubble_|. |
- |
- DISALLOW_COPY_AND_ASSIGN(OverflowBubble); |
-}; |
- |
-} // namespace internal |
-} // namespace ash |
- |
-#endif // ASH_LAUNCHER_OVERFLOW_BUBBLE_H_ |