Chromium Code Reviews| Index: ui/views/bubble/bubble_delegate.h |
| diff --git a/ui/views/bubble/bubble_delegate.h b/ui/views/bubble/bubble_delegate.h |
| index a2654e163eb838af1f43f35f992bea639ce29a48..aacd471ff7189d6484e7e1b71832a301a4dd2a25 100644 |
| --- a/ui/views/bubble/bubble_delegate.h |
| +++ b/ui/views/bubble/bubble_delegate.h |
| @@ -66,6 +66,13 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
| use_focusless_ = use_focusless; |
| } |
| + bool show_while_screen_is_locked() const { |
| + return show_while_screen_is_locked_; |
| + } |
| + void set_show_while_screen_is_locked(bool show) { |
| + show_while_screen_is_locked_ = show; |
| + } |
| + |
| // Get the arrow's anchor point in screen space. |
| virtual gfx::Point GetAnchorPoint(); |
| @@ -145,6 +152,9 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
| // These bubbles are not interactive and should not gain focus. |
| bool use_focusless_; |
| + // Whether to show this bubble when screen is locked. |
|
msw
2011/11/20 10:30:44
Add "on ChromeOS."?
alicet1
2011/11/20 16:21:45
Done.
|
| + bool show_while_screen_is_locked_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView); |
| }; |