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

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

Issue 11343028: Revert 164652 - speculative revert - this change may have caused print dialog test failures on XP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/ash_switches.cc ('k') | 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 50 // Sets whether |window| is ignored when determining whether the shelf should
51 // be darkened when overlapped. 51 // be darkened when overlapped.
52 ASH_EXPORT void SetIgnoredByShelf(aura::Window* window, bool value); 52 ASH_EXPORT void SetIgnoredByShelf(aura::Window* window, bool value);
53 ASH_EXPORT bool GetIgnoredByShelf(const aura::Window* window); 53 ASH_EXPORT bool GetIgnoredByShelf(aura::Window* window);
54 54
55 // 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
56 // 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,
57 // 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
58 // is intended for tab dragging. 58 // is intended for tab dragging.
59 ASH_EXPORT void SetTrackedByWorkspace(aura::Window* window, bool value); 59 ASH_EXPORT void SetTrackedByWorkspace(aura::Window* window, bool value);
60 ASH_EXPORT bool GetTrackedByWorkspace(const aura::Window* window); 60 ASH_EXPORT bool GetTrackedByWorkspace(aura::Window* window);
61 61
62 // Makes |window| persist across all workspaces. The default is controlled 62 // Makes |window| persist across all workspaces. The default is controlled
63 // by SetDefaultPersistsAcrossAllWorkspaces(). 63 // by SetDefaultPersistsAcrossAllWorkspaces().
64 ASH_EXPORT void SetPersistsAcrossAllWorkspaces( 64 ASH_EXPORT void SetPersistsAcrossAllWorkspaces(
65 aura::Window* window, 65 aura::Window* window,
66 WindowPersistsAcrossAllWorkspacesType type); 66 WindowPersistsAcrossAllWorkspacesType type);
67 ASH_EXPORT bool GetPersistsAcrossAllWorkspaces(aura::Window* window); 67 ASH_EXPORT bool GetPersistsAcrossAllWorkspaces(aura::Window* window);
68 68
69 // Sets the default value for whether windows persist across all workspaces. 69 // Sets the default value for whether windows persist across all workspaces.
70 // The default is false. 70 // The default is false.
71 ASH_EXPORT void SetDefaultPersistsAcrossAllWorkspaces(bool value); 71 ASH_EXPORT void SetDefaultPersistsAcrossAllWorkspaces(bool value);
72 72
73 // Sets/Gets the RootWindowController for |root_window|. 73 // Sets/Gets the RootWindowController for |root_window|.
74 ASH_EXPORT void SetRootWindowController( 74 ASH_EXPORT void SetRootWindowController(
75 aura::RootWindow* root_window, 75 aura::RootWindow* root_window,
76 internal::RootWindowController* controller); 76 internal::RootWindowController* controller);
77 ASH_EXPORT internal::RootWindowController* GetRootWindowController( 77 ASH_EXPORT internal::RootWindowController* GetRootWindowController(
78 aura::RootWindow* root_window); 78 aura::RootWindow* root_window);
79 79
80 } 80 }
81 81
82 #endif // ASH_WM_PROPERTY_UTIL_H_ 82 #endif // ASH_WM_PROPERTY_UTIL_H_
OLDNEW
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/wm/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698