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

Side by Side Diff: ash/wm/property_util.h

Issue 10905080: Exempt status bubble windows from status bar darkening (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review nit 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/wm/property_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_WM_PROPERTY_UTIL_H_ 5 #ifndef ASH_WM_PROPERTY_UTIL_H_
6 #define ASH_WM_PROPERTY_UTIL_H_ 6 #define ASH_WM_PROPERTY_UTIL_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace aura { 10 namespace aura {
(...skipping 29 matching lines...) Expand all
40 40
41 // Deletes and clears the restore bounds property on |window|. 41 // Deletes and clears the restore bounds property on |window|.
42 ASH_EXPORT void ClearRestoreBounds(aura::Window* window); 42 ASH_EXPORT void ClearRestoreBounds(aura::Window* window);
43 43
44 enum WindowPersistsAcrossAllWorkspacesType { 44 enum WindowPersistsAcrossAllWorkspacesType {
45 WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_DEFAULT, 45 WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_DEFAULT,
46 WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_NO, 46 WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_NO,
47 WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_YES, 47 WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_YES,
48 }; 48 };
49 49
50 // Sets whether |window| is ignored when determining whether the shelf should
51 // be darkened when overlapped.
52 ASH_EXPORT void SetIgnoredByShelf(aura::Window* window, bool value);
53 ASH_EXPORT bool GetIgnoredByShelf(aura::Window* window);
54
50 // Sets whether the specified window is tracked by workspace code. Default is 55 // Sets whether the specified window is tracked by workspace code. Default is
51 // true. If set to false the workspace does not switch the current workspace, 56 // true. If set to false the workspace does not switch the current workspace,
52 // nor does it attempt to impose constraints on the bounds of the window. This 57 // nor does it attempt to impose constraints on the bounds of the window. This
53 // is intended for tab dragging. 58 // is intended for tab dragging.
54 ASH_EXPORT void SetTrackedByWorkspace(aura::Window* window, bool value); 59 ASH_EXPORT void SetTrackedByWorkspace(aura::Window* window, bool value);
55 ASH_EXPORT bool GetTrackedByWorkspace(aura::Window* window); 60 ASH_EXPORT bool GetTrackedByWorkspace(aura::Window* window);
56 61
57 // Makes |window| persist across all workspaces. The default is controlled 62 // Makes |window| persist across all workspaces. The default is controlled
58 // by SetDefaultPersistsAcrossAllWorkspaces(). 63 // by SetDefaultPersistsAcrossAllWorkspaces().
59 ASH_EXPORT void SetPersistsAcrossAllWorkspaces( 64 ASH_EXPORT void SetPersistsAcrossAllWorkspaces(
60 aura::Window* window, 65 aura::Window* window,
61 WindowPersistsAcrossAllWorkspacesType type); 66 WindowPersistsAcrossAllWorkspacesType type);
62 ASH_EXPORT bool GetPersistsAcrossAllWorkspaces(aura::Window* window); 67 ASH_EXPORT bool GetPersistsAcrossAllWorkspaces(aura::Window* window);
63 68
64 // Sets the default value for whether windows persist across all workspaces. 69 // Sets the default value for whether windows persist across all workspaces.
65 // The default is false. 70 // The default is false.
66 ASH_EXPORT void SetDefaultPersistsAcrossAllWorkspaces(bool value); 71 ASH_EXPORT void SetDefaultPersistsAcrossAllWorkspaces(bool value);
67 72
68 // Sets/Gets the RootWindowController for |root_window|. 73 // Sets/Gets the RootWindowController for |root_window|.
69 ASH_EXPORT void SetRootWindowController( 74 ASH_EXPORT void SetRootWindowController(
70 aura::RootWindow* root_window, 75 aura::RootWindow* root_window,
71 internal::RootWindowController* controller); 76 internal::RootWindowController* controller);
72 ASH_EXPORT internal::RootWindowController* GetRootWindowController( 77 ASH_EXPORT internal::RootWindowController* GetRootWindowController(
73 aura::RootWindow* root_window); 78 aura::RootWindow* root_window);
74 79
75 } 80 }
76 81
77 #endif // ASH_WM_PROPERTY_UTIL_H_ 82 #endif // ASH_WM_PROPERTY_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | ash/wm/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698