Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: ui/views/bubble/bubble_delegate.h

Issue 8604012: move chromeos bubble setup code to window.cc (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698