| Index: ui/views/bubble/bubble_delegate.cc
|
| diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc
|
| index 32a7b542f471aa219bfa57028a8a871667593d45..40af6cf8d597b22706db16136fc2ff479a1e9fe2 100644
|
| --- a/ui/views/bubble/bubble_delegate.cc
|
| +++ b/ui/views/bubble/bubble_delegate.cc
|
| @@ -66,6 +66,12 @@ class BubbleBorderDelegate : public WidgetDelegate,
|
|
|
| // WidgetDelegate overrides:
|
| virtual bool CanActivate() const OVERRIDE { return false; }
|
| + virtual string16 GetWindowTitle() const {
|
| + return bubble_->GetWindowTitle();
|
| + }
|
| + virtual bool ShouldShowCloseButton() const OVERRIDE {
|
| + return bubble_->ShouldShowCloseButton();
|
| + }
|
| virtual void DeleteDelegate() OVERRIDE { delete this; }
|
| virtual Widget* GetWidget() OVERRIDE { return widget_; }
|
| virtual const Widget* GetWidget() const OVERRIDE { return widget_; }
|
| @@ -192,6 +198,10 @@ bool BubbleDelegateView::CanActivate() const {
|
| return !use_focusless();
|
| }
|
|
|
| +bool BubbleDelegateView::ShouldShowCloseButton() const {
|
| + return false;
|
| +}
|
| +
|
| View* BubbleDelegateView::GetContentsView() {
|
| return this;
|
| }
|
|
|