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

Unified Diff: ash/wm/property_util.cc

Issue 10905080: Exempt status bubble windows from status bar darkening (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make shelf browser test to confirm that status bubble doesn't cause darkening Created 8 years, 3 months 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: ash/wm/property_util.cc
diff --git a/ash/wm/property_util.cc b/ash/wm/property_util.cc
index 0163b2d4bbd856cc9634dc9e59089724eda9b1a7..d52b196bd39548822004ed2941072ca13a52b047 100644
--- a/ash/wm/property_util.cc
+++ b/ash/wm/property_util.cc
@@ -52,6 +52,14 @@ bool GetTrackedByWorkspace(aura::Window* window) {
return window->GetProperty(internal::kWindowTrackedByWorkspaceKey);
}
+void SetIgnoredByShelf(aura::Window* window, bool value) {
+ window->SetProperty(internal::kIgnoredByShelfKey, value);
+}
+
+bool GetIgnoredByShelf(aura::Window* window) {
+ return window->GetProperty(internal::kIgnoredByShelfKey);
+}
+
void SetPersistsAcrossAllWorkspaces(
aura::Window* window,
WindowPersistsAcrossAllWorkspacesType type) {

Powered by Google App Engine
This is Rietveld 408576698