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

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: move functionality of wm ipc out of browser so that views/bubble can use it. 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
« no previous file with comments | « chrome/browser/chromeos/setting_level_bubble.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « chrome/browser/chromeos/setting_level_bubble.cc ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698