// WidgetDelegateView overrides:
virtual BubbleDelegateView* AsBubbleDelegate() OVERRIDE;
- virtual bool CanActivate() const OVERRIDE;
virtual bool ShouldShowCloseButton() const OVERRIDE;
virtual View* GetContentsView() OVERRIDE;
virtual NonClientFrameView* CreateNonClientFrameView(Widget* widget) OVERRIDE;
gfx::NativeView parent_window() const { return parent_window_; }
void set_parent_window(gfx::NativeView window) { parent_window_ = window; }
- bool use_focusless() const { return use_focusless_; }
- void set_use_focusless(bool focusless) { use_focusless_ = focusless; }
-
bool accept_events() const { return accept_events_; }
void set_accept_events(bool accept_events) { accept_events_ = accept_events; }
// Insets applied to the |anchor_view_| bounds.
gfx::Insets anchor_view_insets_;
- // If true, the bubble does not take focus on display; default is false.
- bool use_focusless_;
-
// Specifies whether the bubble (or its border) handles mouse events, etc.
bool accept_events_;
bool border_accepts_events_;