summaryrefslogtreecommitdiffstats
path: root/ash/wm/resize_shadow.cc
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate ash::internal namespaceoshima@chromium.org2014-04-031-2/+0
| | | | | | | | | | | Plus obvious style nit fixes. BUG=None TBR=sky@chromium.org Review URL: https://codereview.chromium.org/224113005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261522 0039d316-1c4b-4281-b951-d872f2087c98
* Move wm/core to wm namespace.ben@chromium.org2014-03-141-1/+1
| | | | | | | | | | | | | | | | Also sets up new targets for wm_core, wm_core_unittests, etc. R=sky@chromium.org TBR=sky@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256680 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256839 Review URL: https://codereview.chromium.org/196063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257183 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move wm/core to wm namespace."dmichael@chromium.org2014-03-131-1/+1
| | | | | | | | | | | | This reverts commit 521c703f8d62fa698c3e88287c64d8d23f9ac675. Broke gyp BUG= Review URL: https://codereview.chromium.org/199263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256846 0039d316-1c4b-4281-b951-d872f2087c98
* Move wm/core to wm namespace.ben@chromium.org2014-03-131-1/+1
| | | | | | | | | | | | | | Also sets up new targets for wm_core, wm_core_unittests, etc. R=sky@chromium.org TBR=sky@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256680 Review URL: https://codereview.chromium.org/196063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256839 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move wm/core to wm namespace."dmichael@chromium.org2014-03-121-1/+1
| | | | | | | | | | | | | | This reverts commit 067d7fe616a07011b9e2d2609fc65af8db6a7dfb. Broke the build: http://build.chromium.org/p/chromium.mac/builders/Mac%20Builder%20%28dbg%29/builds/63598/steps/compile/logs/stdio BUG= TBR=ben Review URL: https://codereview.chromium.org/198283002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256686 0039d316-1c4b-4281-b951-d872f2087c98
* Move wm/core to wm namespace.ben@chromium.org2014-03-121-1/+1
| | | | | | | | | | | | Also sets up new targets for wm_core, wm_core_unittests, etc. R=sky@chromium.org TBR=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/196063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256680 0039d316-1c4b-4281-b951-d872f2087c98
* Move files from ui/views/corewm to ui/wm/coreben@chromium.org2014-03-111-1/+1
| | | | | | | | | | R=sky@chromium.org TBR=sky@chromium.org http://crbug.com/308710 Review URL: https://codereview.chromium.org/194843004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256329 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in android_webview/, apps/, ash/.avi@chromium.org2013-06-271-1/+1
| | | | | | | | | | BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/18050008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209025 0039d316-1c4b-4281-b951-d872f2087c98
* Move shadow code to views\corewmben@chromium.org2012-11-141-2/+2
| | | | | | | | http://crbug.com/158115 R=derat@chromium.org Review URL: https://codereview.chromium.org/11275296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167733 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the shadow animation time to 100msskuhne@chromium.org2012-11-101-1/+1
| | | | | | | | | | BUG=160241 TEST=visual Review URL: https://chromiumcodereview.appspot.com/11363172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167027 0039d316-1c4b-4281-b951-d872f2087c98
* (reland r156610)oshima@chromium.org2012-09-131-1/+1
| | | | | | | | | | | | | 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-1/+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/+1
| | | | | | | | | 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
* Move DIP translation from ui/aura to ui/compositor.oshima@chromium.org2012-05-081-1/+1
| | | | | | | | | | | | | Layer's coordinate system is now in DIP. Added support of dynamic density switching. Removed ENABLE_DIP gyp/macro and added runtime flag "--ui-enable-dip" BUG=105165, 114666 TEST=enabled monitor test. added new tests to compositor_unittests Review URL: https://chromiumcodereview.appspot.com/10221028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135888 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move compositor/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-051-2/+2
| | | | | | | | | | BUG=104040 R=piman@chromium.org,ben@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10365007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135560 0039d316-1c4b-4281-b951-d872f2087c98
* This change makes Aura/Views to use DIP, while keeping layer to use Pixels. ↵oshima@chromium.org2012-04-271-1/+1
| | | | | | | | | | | | | This allow chrome/ash to run on high density screen in High Density Incompatible mode (everything scaled to 2x), except for web contents. I put this behind ENABLE_DIP to avoid regression. I'll make it runtime flag next week when we get render working. BUG=114666 TEST=manual: run with --aura-host-window-size=1000x800*2. Review URL: https://chromiumcodereview.appspot.com/10081011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134391 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Improved resize border effectjamescook@chromium.org2012-03-191-134/+73
| | | | | | | | | | | | | | Rewrote the effect to use ImageGrid, which both simplifies the code and allows images to be used to provide nice corners. + Exposed underlying ImageGrid layers so I could animate them + Set effect layers invisible at end of hide animation to conserve render resources BUG=118729 TEST=existing unit tests, move cursor near window edges and watch handles fade in and out TBR=ben@chromium.org for ui/ .grd file Review URL: https://chromiumcodereview.appspot.com/9717022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127491 0039d316-1c4b-4281-b951-d872f2087c98
* Reland - Ash: Add resize border shadow effectjamescook@chromium.org2012-03-171-0/+171
| | | | | | | | | | | | | | | | | * Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127268 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=127277 Review URL: http://codereview.chromium.org/9677070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127328 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127268 - Ash: Add resize border shadow effectjamescook@chromium.org2012-03-161-171/+0
| | | | | | | | | | | | | | | | * Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Review URL: https://chromiumcodereview.appspot.com/9677070 TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/9724005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127277 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Add resize border shadow effectjamescook@chromium.org2012-03-161-0/+171
* Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Review URL: https://chromiumcodereview.appspot.com/9677070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127268 0039d316-1c4b-4281-b951-d872f2087c98