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..49727e8de50b7d5e022223546d70c19bf088c57e 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 { |
Daniel Erat
2011/11/21 16:59:09
#if defined(OS_CHROMEOS)
alicet1
2011/11/21 20:58:45
Done.
|
+ 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 on ChromeOS. |
+ bool show_while_screen_is_locked_; |
+ |
DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView); |
}; |