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..3095e281b5204fa3d652208951e02ac36b52ec9f 100644 |
| --- a/ui/views/bubble/bubble_delegate.h |
| +++ b/ui/views/bubble/bubble_delegate.h |
| @@ -66,6 +66,16 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
| use_focusless_ = use_focusless; |
| } |
| +#if defined(OS_CHROMEOS) |
|
Daniel Erat
2011/11/21 21:15:57
to be clear, i meant that everything screen-lock-r
alicet1
2011/11/21 23:01:21
I left the member variable there, as it is rather
|
| + bool show_while_screen_is_locked() const { |
| + return show_while_screen_is_locked_; |
| + } |
| +#endif |
| + |
| + 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 +155,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 on ChromeOS. |
| + bool show_while_screen_is_locked_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView); |
| }; |