diff options
Diffstat (limited to 'ash/system/tray/tray_bubble_wrapper.h')
-rw-r--r-- | ash/system/tray/tray_bubble_wrapper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/system/tray/tray_bubble_wrapper.h b/ash/system/tray/tray_bubble_wrapper.h index 3af47d5..baa5416 100644 --- a/ash/system/tray/tray_bubble_wrapper.h +++ b/ash/system/tray/tray_bubble_wrapper.h @@ -30,15 +30,15 @@ class TrayBubbleWrapper : public views::WidgetObserver { // views::WidgetObserver overrides: virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; + const TrayBackgroundView* tray() const { return tray_; } TrayBackgroundView* tray() { return tray_; } - views::TrayBubbleView* bubble_view() { return bubble_view_; } - views::Widget* bubble_widget() { return bubble_widget_; } + const views::TrayBubbleView* bubble_view() const { return bubble_view_; } + const views::Widget* bubble_widget() const { return bubble_widget_; } private: TrayBackgroundView* tray_; views::TrayBubbleView* bubble_view_; // unowned views::Widget* bubble_widget_; - scoped_ptr<TrayEventFilter> tray_event_filter_; DISALLOW_COPY_AND_ASSIGN(TrayBubbleWrapper); }; |