summaryrefslogtreecommitdiffstats
path: root/ash/shell_window_ids.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: Shelf Widgetharrym@chromium.org2013-03-091-2/+2
| | | | | | | | | | | Refactor the classes related with displaying the shelf (background behind the launcher/status area widget) to be a separate class. Removing background delegates from the launcher and status area widget (represented on tray views). TBR=ben@chromium.org BUG=163002 Review URL: https://chromiumcodereview.appspot.com/12313118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187122 0039d316-1c4b-4281-b951-d872f2087c98
* Extract the code of showing a dragging window on another display from ↵mazda@chromium.org2012-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | PhantomWindowController. PhantomWindowController shows two styles of window, STYLE_SHADOW and STYLE_DRAGGING. Although STYLE_SHADOW is specific to workspace, STYLE_DRAGGING is not specific to workspace. This CL separates this feature into two classes so that the STYLE_DRAGGING part can be used from non-workspace specific code - Extract the STYLE_DRAGGING part from PhantomWindowController into DragWindowController. - Move the ownership of the copied window layer from WorkspaceWindowResizer to DragWindowController. BUG=156519 Review URL: https://chromiumcodereview.appspot.com/11280283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171048 0039d316-1c4b-4281-b951-d872f2087c98
* Renames Workspace*2 -> Workspace*.sky@chromium.org2012-10-311-4/+3
| | | | | | | | | | BUG=none TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: https://codereview.chromium.org/11293014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165226 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Clean up system background layer.derat@chromium.org2012-10-291-26/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a SystemBackgroundController class that's responsible for a ui::Layer that's stacked underneath all other layers. I'm also adding an --ash-copy-host-background-at-boot flag that can be set to instruct the controller to copy the host window's content into the system background layer at startup; otherwise, we display the same background color used by Chrome OS's boot splash screen. I suspect that there's a small performance hit from copying (I've seen the XGetImage() take between 25 and 170 ms depending on hardware), although it seems to be hidden in the noise of our total boot times. Regardless, I figure that we should only turn this on right now for systems that need it (to hide an even-longer delay where the compositor is drawing but the login background images hasn't been loaded). In any case, once the login background is visible, the system background layer is reset to display the black background that's needed for fullscreen animations that manipulate the desktop background (for the workspace or power button). BUG=152309 Review URL: https://chromiumcodereview.appspot.com/11273059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164704 0039d316-1c4b-4281-b951-d872f2087c98
* Added new lock/shutdown implementations in ↵antrim@chromium.org2012-10-241-0/+3
| | | | | | | | | | | | session_state_controller_impl2/session_state_animator. This CL is a follow-up for https://codereview.chromium.org/11230050/. BUG=138171, 139461 Review URL: https://chromiumcodereview.appspot.com/11220002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163790 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Display system background while loading wallpaper.derat@chromium.org2012-10-031-3/+4
| | | | | | | | | | | | | | | | | | | | | When the wallpaper takes a long time to load, areas of the screen that aren't covered by other layers are painted white. This looks okay when we first boot, but not when we're displaying the login after logging out or while we're starting a guest session. This makes us instead initialize SystemBackgroundController immediately with either a #fefefe or black color depending on whether this is the first Chrome run after boot or not. Its color is updated to black after the login wallpaper animation is finished. BUG=151111,152751 Review URL: https://chromiumcodereview.appspot.com/11054005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159822 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug where dragging a tab from one display to the other wouldn'tsky@chromium.org2012-09-041-0/+5
| | | | | | | | | | | | | | | attach to the target tabstrip correctly. This is because the code to find the window to attach to ended up always seeing the phantom window. BUG=136919 TEST=none R=oshima@chromium.org Review URL: https://chromiumcodereview.appspot.com/10905079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154831 0039d316-1c4b-4281-b951-d872f2087c98
* Makes workspace 2 show an alternate background (system background)sky@chromium.org2012-08-271-17/+23
| | | | | | | | | | | | | | beneath the desktop when a window is maximized. This background is visible during the animation and behind the launcher. BUG=137342 TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10875070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153509 0039d316-1c4b-4281-b951-d872f2087c98
* Initial crack at new workspace behavior. Each workspace now has itssky@chromium.org2012-08-201-14/+23
| | | | | | | | | | | | | | | own window. This complicates usage of shell window ids a bit. I need to sort out animations (I've disabled them for the moment when this is enabled). BUG=137342 TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10830365 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152322 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd display should show the same background as login/lock screen:antrim@chromium.org2012-08-071-7/+10
| | | | | | | | | | | | | | | Added special container for background on lock screen. Background view can now be created in specific container. Disabled lock screen wallpaper implementation based on serving PNG image via data source. BUG=136853,137581 TEST=Lock screen on multimonitor configuration. Check that windows on secondary display are hidden with background. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149869 Review URL: https://chromiumcodereview.appspot.com/10810039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150271 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 149869 because it broke ash_unittests on win_aura and linux_chromeos.sadrul@chromium.org2012-08-031-10/+7
| | | | | | | | | | | | | | | | | | | """ 2nd display should show the same background as login/lock screen: Added special container for background on lock screen. Background view can now be created in specific container. Disabled lock screen wallpaper implementation based on serving PNG image via data source. BUG=136853,137581 TEST=Lock screen on multimonitor configuration. Check that windows on secondary display are hidden with background. Review URL: https://chromiumcodereview.appspot.com/10810039 TBR=antrim@chromium.org Review URL: https://chromiumcodereview.appspot.com/10829173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149878 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd display should show the same background as login/lock screen:antrim@chromium.org2012-08-031-7/+10
| | | | | | | | | | | | | Added special container for background on lock screen. Background view can now be created in specific container. Disabled lock screen wallpaper implementation based on serving PNG image via data source. BUG=136853,137581 TEST=Lock screen on multimonitor configuration. Check that windows on secondary display are hidden with background. Review URL: https://chromiumcodereview.appspot.com/10810039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149869 0039d316-1c4b-4281-b951-d872f2087c98
* Remove #pragma once from ashajwong@chromium.org2012-07-111-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10693135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146075 0039d316-1c4b-4281-b951-d872f2087c98
* Change the parent container for the IME candidate window.mukai@chromium.org2012-06-261-7/+12
| | | | | | | | | | | | This CL creates a new container (InputMethodContainer) and use it. BUG=130713 TEST=manually checked with app-list and network dialog. Made sure doesn't break alt-tab. No additional breaks on aura_shell_unittest Review URL: https://chromiumcodereview.appspot.com/10629013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144182 0039d316-1c4b-4281-b951-d872f2087c98
* Set panels windows to always be on top.stevenjb@google.com2012-03-261-8/+11
| | | | | | | | | | | Make always on top windows part of WorkspaceLayoutManager but not part of any actual workspace. BUG=119794 TEST=Test minimizing, maximizing, and moving popup windows and panels in normal and maximized mode. Review URL: https://chromiumcodereview.appspot.com/9836089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128846 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Create new containers for PowerButtonController.derat@chromium.org2012-02-231-14/+30
| | | | | | | | | | | | | | | | This nests ash's existing containers inside of three new higher-level containers-of-containers. The new higher-level containers can be animated by PowerButtonController without messing up transformations that have already been applied to the lower-level containers. BUG=114953 TEST=manual: locked and unlocked screen in compact mode with multiple browser windows Review URL: http://codereview.chromium.org/9428056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123288 0039d316-1c4b-4281-b951-d872f2087c98
* Implement taking partial screenshot.mukai@chromium.org2012-02-161-0/+4
| | | | | | | | | | BUG=108763 TEST=manually && aura_shell_unittests passed Review URL: http://codereview.chromium.org/9368051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122281 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Create a new containerr for drag/drop images and tooltips.varunjain@chromium.org2012-02-021-3/+6
| | | | | | | | | BUG=111148 TEST=manual Review URL: https://chromiumcodereview.appspot.com/9314040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120230 0039d316-1c4b-4281-b951-d872f2087c98
* Stack un-parented control windows in their own container. This prevents them ↵ben@chromium.org2012-01-201-11/+15
| | | | | | | | | | from interfering in existing window layout heuristics/animations. BUG=none TEST=existing Review URL: https://chromiumcodereview.appspot.com/9138026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118541 0039d316-1c4b-4281-b951-d872f2087c98
* Rename system modal types and classes appropriately.flackr@chromium.org2012-01-181-2/+2
| | | | | | | | | | | | | | | | Renames the following as per the bug description by ben@: kShellWindowId_ModalContainer -> kShellWindowId_SystemModalContainer kShellWindowId_LockModalContainer -> kShellWindowId_LockSystemModalContainer ModalContainerLayoutManager->SystemModalContainerLayoutManager ModalityEventFilter->SystemModalContainerEventFilter BUG=109460 TEST=All tests and compilation still succeed. Review URL: https://chromiumcodereview.appspot.com/9249022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118127 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Add container for setting bubbles.derat@chromium.org2012-01-071-2/+6
| | | | | | | | | | | | | | | | | This adds a new container (with nothing stored in it yet) for the bubbles that are briefly displayed on Chrome OS when the volume or brightness is changed. I'm also renaming the MenusAndTooltipsContainer window ID constant to MenuAndTooltipContainer to match the other constants. BUG=108389 TEST=compiles Review URL: http://codereview.chromium.org/9110034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116788 0039d316-1c4b-4281-b951-d872f2087c98
* Bypass ToplevelWindowEventFilter for panels.prasadt@chromium.org2011-12-271-6/+9
| | | | | | | | | | | With this change minimize and drag work on panels in Aura. BUG=108497 TEST=Run chrome in aura. Create a panel. Click on titlebar. Drag. Review URL: http://codereview.chromium.org/9027020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115850 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the aura_shell namespace to ashben@chromium.org2011-12-241-2/+2
| | | | | | | | | http://crbug.com/108457 TEST=none TBR=sky Review URL: http://codereview.chromium.org/9033007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115748 0039d316-1c4b-4281-b951-d872f2087c98
* Move last few files -> ashben@chromium.org2011-12-231-0/+47
http://crbug.com/108457 TEST=none TBR=sky Review URL: http://codereview.chromium.org/9036011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115743 0039d316-1c4b-4281-b951-d872f2087c98