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

Unified Diff: ash/launcher/overflow_bubble.h

Issue 10834079: views: Extract Widget observer into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | ash/launcher/overflow_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/overflow_bubble.h
diff --git a/ash/launcher/overflow_bubble.h b/ash/launcher/overflow_bubble.h
index aa2d0e32f36a445cbf78a2a52b5e4978119fd3dc..88c4d767f842479dd1b4f7607a74e128d808e90a 100644
--- a/ash/launcher/overflow_bubble.h
+++ b/ash/launcher/overflow_bubble.h
@@ -8,7 +8,7 @@
#include "ash/wm/shelf_types.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "ui/views/widget/widget.h"
+#include "ui/views/widget/widget_observer.h"
namespace views {
class View;
@@ -24,7 +24,7 @@ namespace internal {
class LauncherView;
// OverflowBubble displays an overflow bubble.
-class OverflowBubble : public views::Widget::Observer {
+class OverflowBubble : public views::WidgetObserver {
public:
OverflowBubble();
virtual ~OverflowBubble();
@@ -40,7 +40,7 @@ class OverflowBubble : public views::Widget::Observer {
bool IsShowing() const { return !!bubble_; }
private:
- // views::Widget::Observer overrides:
+ // Overridden from views::WidgetObserver:
virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE;
views::View* bubble_; // Owned by views hierarchy.
« no previous file with comments | « no previous file | ash/launcher/overflow_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698