summaryrefslogtreecommitdiffstats
path: root/ash/ash.gyp
Commit message (Collapse)AuthorAgeFilesLines
* Move Ash system network trays to ash/system/chromeos (Take 2)stevenjb@chromium.org2012-10-181-7/+8
| | | | | | | | | | | | Exclude system/chromeos when chromeos != 1 BUG=154856 Original CL: http://codereview.chromium.org/11039034/ TBR=jennyz,ben Review URL: https://codereview.chromium.org/11190029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162733 0039d316-1c4b-4281-b951-d872f2087c98
* ash : Decouple power button controller and session state controller.antrim@chromium.org2012-10-181-0/+2
| | | | | | | | | | | | | Prepare code to introduce two versions of SessionStateController later. BUG=138171, 139461 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162140 Review URL: https://chromiumcodereview.appspot.com/11091023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162675 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete code for secondary displayoshima@chromium.org2012-10-171-2/+0
| | | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/11194032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162544 0039d316-1c4b-4281-b951-d872f2087c98
* Removes worskpace 1 code. Will rename next.sky@chromium.org2012-10-171-12/+0
| | | | | | | | | | | BUG=none TEST=none R=ben@chromium.org,nkostylev@chromium.org TBR=nkostylev@chromium.org Review URL: https://codereview.chromium.org/11201002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162420 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 162377 - Move Ash system network trays to ash/system/chromeostommi@chromium.org2012-10-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | ### Reason: 52>system\chromeos\tray_display.cc(56): error C2039: 'output_configurator' : is not a member of 'ash::Shell' 52> ..\ash/shell.h(116) : see declaration of 'ash::Shell' 52>system\chromeos\tray_display.cc(56): error C2227: left of '->output_state' must point to class/struct/union/generic type 52>system\chromeos\tray_display.cc(122): error C2039: 'output_configurator' : is not a member of 'ash::Shell' 52> ..\ash/shell.h(116) : see declaration of 'ash::Shell' 52>system\chromeos\tray_display.cc(122): error C2227: left of '->AddObserver' must point to class/struct/union/generic type 52>system\chromeos\tray_display.cc(127): error C2039: 'output_configurator' : is not a member of 'ash::Shell' 52> ..\ash/shell.h(116) : see declaration of 'ash::Shell' 52>system\chromeos\tray_display.cc(127): error C2227: left of '->RemoveObserver' must point to class/struct/union/generic type ### Also adds DEPS to keep chromeos dependencies out of ash/system This is part of an effort to move chromeos network management code from src/chrome/ to src/chromeos. BUG=154856 Review URL: https://chromiumcodereview.appspot.com/11039034 TBR=stevenjb@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162406 0039d316-1c4b-4281-b951-d872f2087c98
* Move Ash system network trays to ash/system/chromeosstevenjb@chromium.org2012-10-171-7/+7
| | | | | | | | | | | | Also adds DEPS to keep chromeos dependencies out of ash/system This is part of an effort to move chromeos network management code from src/chrome/ to src/chromeos. BUG=154856 Review URL: https://chromiumcodereview.appspot.com/11039034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162377 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 162140 - ash : Decouple power button controller and session state ↵mattm@chromium.org2012-10-161-2/+0
| | | | | | | | | | | | | | | | controller. Prepare code to introduce two versions of SessionStateController later. BUG=138171, 139461 Review URL: https://chromiumcodereview.appspot.com/11091023 TBR=antrim@chromium.org Review URL: https://codereview.chromium.org/11185006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162201 0039d316-1c4b-4281-b951-d872f2087c98
* ash : Decouple power button controller and session state controller.antrim@chromium.org2012-10-161-0/+2
| | | | | | | | | | | Prepare code to introduce two versions of SessionStateController later. BUG=138171, 139461 Review URL: https://chromiumcodereview.appspot.com/11091023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162140 0039d316-1c4b-4281-b951-d872f2087c98
* Moves TrayBubbleView out of ash namespacestevenjb@chromium.org2012-10-151-0/+4
| | | | | | | | | | | | Creates TrayEventFilter and TrayBubbleWrapper. BUG=150872 For ash.gyp: TBR=ben@chromium.org Review URL: https://codereview.chromium.org/11028134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161888 0039d316-1c4b-4281-b951-d872f2087c98
* views: Split test_support_views in two targets.tfarina@chromium.org2012-10-141-2/+2
| | | | | | | | | | | | One with content dep and one without. BUG=141187 R=ben@chromium.org TBR=jam@chromium.org Review URL: https://codereview.chromium.org/11117009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161810 0039d316-1c4b-4281-b951-d872f2087c98
* Tweaks workspace animation code per latest from Nicholas. Additionallysky@chromium.org2012-10-121-0/+4
| | | | | | | | | | | | moves the switching animation into its own file and cleans it up. BUG=155179 TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/11106003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161591 0039d316-1c4b-4281-b951-d872f2087c98
* Add Wallpaper option to launcher context menusaintlou@chromium.org2012-10-111-2/+0
| | | | | | | | BUG=143015 Review URL: https://codereview.chromium.org/11092034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161391 0039d316-1c4b-4281-b951-d872f2087c98
* Removes WindowAnimationDelegate. It was never needed.sky@chromium.org2012-10-111-2/+0
| | | | | | | | | | BUG=155179 TEST=none, code cleanup R=ben@chromium.org Review URL: https://codereview.chromium.org/11086057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161356 0039d316-1c4b-4281-b951-d872f2087c98
* Renames SystemBackgroundController to ColoredWindowController andsky@chromium.org2012-10-111-2/+2
| | | | | | | | | | makes it a bit more generic. I'm going to need it for some animations. BUG=155179 TEST=none Review URL: https://codereview.chromium.org/11086064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161349 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate custom paint code for TrayBubbleView stevenjb@chromium.org2012-10-081-2/+0
| | | | | | | | | | | | | | | | | | Remove unnecessary borders and backgrounds; use BIG_SHADOW for bubbles. Also fixes some notification layout issues: * Layout needs to initially be narrower by the width of the scroll bar so the height is correct. BUG=132772 TEST=Thoroughly test web notifications (message center). See issue for test url. Also thoroughly test system tray bubble, detailed views, and notifications. For ash.gyp: TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/11026012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160680 0039d316-1c4b-4281-b951-d872f2087c98
* Extract files for implementing unit tests from ash_unittests.mazda@chromium.org2012-10-061-19/+32
| | | | | | | | | | This change is needed for adding tests in http://codereview.chromium.org/11033038/. BUG=154183 Review URL: https://chromiumcodereview.appspot.com/11066045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160573 0039d316-1c4b-4281-b951-d872f2087c98
* Include wallpaper to win_aura's executablesoshima@chromium.org2012-10-061-0/+2
| | | | | | | | | | | This fixes crash at startup time. BUG=151870 TEST=ash_shell.exe no longer crash at startup Review URL: https://chromiumcodereview.appspot.com/11026075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160562 0039d316-1c4b-4281-b951-d872f2087c98
* Adds DisplayErrorDialog to show the error message of the failure of ↵mukai@chromium.org2012-10-051-0/+2
| | | | | | | | | | | | | mirroring to the users. This CL depends on http://codereview.chromium.org/10989084/. BUG=149061 Review URL: https://chromiumcodereview.appspot.com/10986087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160521 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add tests for desktop background, fix namesjamescook@chromium.org2012-10-051-0/+1
| | | | | | | | | | | | | | | | | | * Add basic unit tests for DesktopBackgroundController * Add test for race condition between Chrome OS resume from sleep/wallpaper refresh and screen unlock. See bug. * Rename ComponentWrapper class to AnimatingDesktopController * Rename kComponentWrapper key to kAnimatingDesktopController * Rename kWindowDesktopComponent key to kDesktopController * Fix lots of component vs. controller names BUG=149043 TEST=added DesktopBackgroundControllerTest.* Review URL: https://chromiumcodereview.appspot.com/11026047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160449 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring part 1 : extract animatorantrim@chromium.org2012-10-041-0/+2
| | | | | | | | | | | | | BUG=138171,139461 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159690 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159896 Review URL: https://chromiumcodereview.appspot.com/10914016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160161 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 159896 - Refactoring part 1 : extract animatorkmadhusu@chromium.org2012-10-031-2/+0
| | | | | | | | | | | | | | BUG=138171,139461 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159690 Review URL: https://chromiumcodereview.appspot.com/10914016 TBR=antrim@chromium.org Review URL: https://codereview.chromium.org/11013026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159905 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring part 1 : extract animatorantrim@chromium.org2012-10-031-0/+2
| | | | | | | | | | | BUG=138171,139461 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159690 Review URL: https://chromiumcodereview.appspot.com/10914016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159896 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 159690, linux clang compile warnings - Refactoring part 1 : extract ↵kkania@chromium.org2012-10-021-2/+0
| | | | | | | | | | | | | | animator BUG=138171,139461 Review URL: https://chromiumcodereview.appspot.com/10914016 TBR=antrim@chromium.org Review URL: https://codereview.chromium.org/11039025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159699 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring part 1 : extract animatorantrim@chromium.org2012-10-021-0/+2
| | | | | | | | | BUG=138171,139461 Review URL: https://chromiumcodereview.appspot.com/10914016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159690 0039d316-1c4b-4281-b951-d872f2087c98
* Extract internal classes into separate message_center namespace for eventual ↵miket@chromium.org2012-09-271-0/+14
| | | | | | | | | | | | | move to ui/. TBR for ash OWNERS. BUG=150872 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10960022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159039 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cursor getting invisible after moving a window.mazda@chromium.org2012-09-211-0/+3
| | | | | | | | | | | | The platform cursor value was not correctly set when cursor was unlocked. This CL fixes it and adds unittests. BUG=150904 Review URL: https://chromiumcodereview.appspot.com/10965020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157924 0039d316-1c4b-4281-b951-d872f2087c98
* Add ScreenPositionClient::ConvertNativePointToScreen.mazda@chromium.org2012-09-201-0/+1
| | | | | | | | | | | This will be used to convert mouse location properly in RootWindow when X's native input is captured by a drag operation. BUG=148686 Review URL: https://chromiumcodereview.appspot.com/10911342 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157702 0039d316-1c4b-4281-b951-d872f2087c98
* Move wallpapers to ash/resourceoshima@chromium.org2012-09-141-1/+1
| | | | | | | | | | TBR=sky@chromium.org BUG=141663 TEST=none Review URL: https://codereview.chromium.org/10910264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156728 0039d316-1c4b-4281-b951-d872f2087c98
* (reland r156610)oshima@chromium.org2012-09-131-1/+6
| | | | | | | | | | | | | add ash_resources.grd and necessary changes to use images in ash/resources BUG=146034 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156610 Review URL: https://codereview.chromium.org/10905242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156637 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r156610 "add ash_resources.grd and necessary changes to use images in ↵oshima@chromium.org2012-09-131-6/+1
| | | | | | | | | | ash/resources" TBR=oshima@chromium.org BUG=146034 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156614 0039d316-1c4b-4281-b951-d872f2087c98
* add ash_resources.grd and necessary changes to use images in ash/resourcesoshima@chromium.org2012-09-131-1/+6
| | | | | | | | | BUG=146034 TEST=none Review URL: https://codereview.chromium.org/10905242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156610 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Show the default tray bubble when dragging the shelf from the right edge.sadrul@chromium.org2012-09-121-0/+2
| | | | | | | | | | | If the shelf is dragged from the bottom at the right edge of the screen, then start showing the tray bubble with the drag. BUG=146878 Review URL: https://chromiumcodereview.appspot.com/10913217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156382 0039d316-1c4b-4281-b951-d872f2087c98
* Restoring minimized windows to pre minimizing state, preserving the restore ↵skuhne@chromium.org2012-09-121-0/+1
| | | | | | | | | | | | rectangle BUG=148426 TEST=unit test Review URL: https://chromiumcodereview.appspot.com/10914208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156205 0039d316-1c4b-4281-b951-d872f2087c98
* Makes windows snap together when dragging and close enough.sky@chromium.org2012-09-111-0/+3
| | | | | | | | | | | BUG=137338 TEST=covered by tests. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10916236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156172 0039d316-1c4b-4281-b951-d872f2087c98
* Add "Display" item in the uber tray.mukai@chromium.org2012-09-111-0/+2
| | | | | | | | | | | | | Previously I submitted a CL for this, but it was reverted due to build break of win_aura. To prevent the error again, I splitted it into two, and this is the second CL to add the actual UI. BUG=141394 TBR=sky@chromium.org, oshima@chromium.org, jennyz@chromium.org, sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10918180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156156 0039d316-1c4b-4281-b951-d872f2087c98
* Move ash specific cursor code to CursorManager.mazda@chromium.org2012-09-111-0/+2
| | | | | | | | | | | | | | | Main changes are as follows. - Move the responsibility of managing cursors to ash::CursorManager from aura::RootWindowHostLinux. - Set the same cursor to all root windows with CursorManager so that cursor is updated properly while dragging across displays - Introduce CursorLoader class, which implements platform specific cursor loading. - Add SetDeviceScaleFactor to CursorClient, which sets the device scale factor used for the cursor. BUG=132862,144756 Review URL: https://chromiumcodereview.appspot.com/10919135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156109 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 156070 - Add a new tray item for the current multi display configuration.dcheng@chromium.org2012-09-111-2/+0
| | | | | | | | | | | | Tested on lumpy. BUG=141394 Review URL: https://chromiumcodereview.appspot.com/10905097 TBR=mukai@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156080 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new tray item for the current multi display configuration.mukai@chromium.org2012-09-111-0/+2
| | | | | | | | | | Tested on lumpy. BUG=141394 Review URL: https://chromiumcodereview.appspot.com/10905097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156070 0039d316-1c4b-4281-b951-d872f2087c98
* Make ToplevelWindowEventFilter and WorkspaceEventFilter into event handlers.ben@chromium.org2012-09-111-8/+8
| | | | | | | | http://crbug.com/147653 R=sky@chromium.org,sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10916221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155940 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding "views: Add a gyp file to build webview.". Try 2.tfarina@chromium.org2012-09-011-0/+1
| | | | | | | | | | | This reverts commit d2287c4694d749d9e0c4095d7b004beee7b27e86. BUG=105557 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10916010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154621 0039d316-1c4b-4281-b951-d872f2087c98
* Allow "snapping" while dragging a window to another displayoshima@chromium.org2012-09-011-0/+3
| | | | | | | | | | | | | | | | | by reserving the corner that blocks pass through. Cleanup: Move the code that handle warp from DisplayCotnroller to MouseCursorEventFilter. Removed unnecesary namespace, dead code. BUG=143289 TEST=added new tests. manual=connect external monitor and drag a window to another display. a warp hole will be shown at the edge where you can drag a window into. Dragging to other place should start snapping operation. Review URL: https://chromiumcodereview.appspot.com/10899034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154551 0039d316-1c4b-4281-b951-d872f2087c98
* Added restore functionality for maximize full/left/rightskuhne@chromium.org2012-08-311-0/+1
| | | | | | | | | | | | | | BUG=141725 TEST=unit test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154226 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154295 Review URL: https://chromiumcodereview.appspot.com/10883069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154372 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add some gesture support to the shelf.sadrul@chromium.org2012-08-301-0/+2
| | | | | | | | | | | | | With this change, the shelf can be hidden by dragging it down (in horizontal position, left/right when in vertical position). The ShelfGestureHandler is currently used by the launcher and tray widgets. In a follow-up CL, the bezel-gesture handler will also use it to control the shelf. BUG=145406 Review URL: https://chromiumcodereview.appspot.com/10916004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154315 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154295 - Added restore functionality for maximize full/left/rightjsbell@chromium.org2012-08-301-1/+0
| | | | | | | | | | | | | | | BUG=141725 TEST=unit test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154226 Review URL: https://chromiumcodereview.appspot.com/10883069 TBR=skuhne@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154306 0039d316-1c4b-4281-b951-d872f2087c98
* Added restore functionality for maximize full/left/rightskuhne@chromium.org2012-08-301-0/+1
| | | | | | | | | | | | BUG=141725 TEST=unit test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154226 Review URL: https://chromiumcodereview.appspot.com/10883069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154295 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154226 - Added restore functionality for maximize full/left/rightdmazzoni@chromium.org2012-08-301-1/+0
| | | | | | | | | | | | | BUG=141725 TEST=unit test Review URL: https://chromiumcodereview.appspot.com/10883069 TBR=skuhne@chromium.org Review URL: https://chromiumcodereview.appspot.com/10913014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154230 0039d316-1c4b-4281-b951-d872f2087c98
* Added restore functionality for maximize full/left/rightskuhne@chromium.org2012-08-301-0/+1
| | | | | | | | | | BUG=141725 TEST=unit test Review URL: https://chromiumcodereview.appspot.com/10883069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154226 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Introduce a two-finger drag handler for moving windows.sadrul@chromium.org2012-08-291-0/+2
| | | | | | | | | | Dragging anywhere on a top-level window with two-finger should move the window. BUG=145120 Review URL: https://chromiumcodereview.appspot.com/10894042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153984 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Move bezel gesture handling into a separate file.sadrul@chromium.org2012-08-291-0/+2
| | | | | | | | BUG=none Review URL: https://chromiumcodereview.appspot.com/10890029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153891 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Move long-press affordance handling code into its own file out of ↵sadrul@chromium.org2012-08-291-0/+2
| | | | | | | | | | SystemGestureEventFilter. BUG=none Review URL: https://chromiumcodereview.appspot.com/10892028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153851 0039d316-1c4b-4281-b951-d872f2087c98