summaryrefslogtreecommitdiffstats
path: root/ash/monitor
Commit message (Collapse)AuthorAgeFilesLines
* Move DIP translation from ui/aura to ui/compositor.oshima@chromium.org2012-05-082-0/+24
| | | | | | | | | | | | | 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
* This change makes Aura/Views to use DIP, while keeping layer to use Pixels. ↵oshima@chromium.org2012-04-273-15/+23
| | | | | | | | | | | | | 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
* * Separated implementation class from gfx::Screenoshima@chromium.org2012-04-255-123/+147
| | | | | | | | | | | | * Moved Monitor class to gfx/. * Converted all use of gfx::Screen to match new API BUG=115347,111990 TEST=none Review URL: https://chromiumcodereview.appspot.com/9960042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133961 0039d316-1c4b-4281-b951-d872f2087c98
* *Move aura::Env::DeleteInstance to BrowserProcessImpl::StartTearDown which ↵oshima@chromium.org2012-03-292-23/+6
| | | | | | | | | | | | | | | is executed after MetricsService records Monitor size. * Keep monitor objects instead of deleting them when root window is deleted. MetricsService needs this after Shell's root window is deleted. * Moved Monitor class'es destructor to .cc as it has non trivial destructor. R=ben@chromium.org BUG=120563 TEST=none Review URL: https://chromiumcodereview.appspot.com/9791080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129712 0039d316-1c4b-4281-b951-d872f2087c98
* Don't delete Primary monitor and it's root window whenoshima@chromium.org2012-03-243-6/+76
| | | | | | | | | | | | | # of monitors goes zero. BUG=none TEST=nonoe Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128684 Review URL: https://chromiumcodereview.appspot.com/9835068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128786 0039d316-1c4b-4281-b951-d872f2087c98
* * Keep the mouse in the desktop in multi monitor environment. I ended up ↵oshima@chromium.org2012-03-241-2/+2
| | | | | | | | | | | | | | | | | using XFIXES to make launcher autohide works smoothlyl. * Made dtor of ML::Dispatcher publiic and Eliminated aura::Dispatcher * Refactored DispatcherLinux so that it re-dispatch event per window. * Removed ConfineToWindow in RHWVA::LockMouse because a) it's not necessary on device (mouse is always confined to root window), b) it should confine to the RWHVA's window but not root window, so this is not exactly right. I'll work on this in separate CL after m19. BUG=115510 TEST=none Review URL: http://codereview.chromium.org/9808010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128739 0039d316-1c4b-4281-b951-d872f2087c98
* Update image and text color for secondary monitor UIoshima@chromium.org2012-03-241-4/+3
| | | | | | | | | | | to match the mock. BUG=115510 TEST=none Review URL: http://codereview.chromium.org/9836065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128722 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 128684 - Appears to have an infinite loop in a unit test due to not ↵rsleevi@chromium.org2012-03-243-71/+6
| | | | | | | | | | | | | | | | | adhering to a post-condition. Don't delete Primary monitor and it's root window when # of monitors goes zero. BUG=none TEST=nonoe Review URL: http://codereview.chromium.org/9835068 TBR=oshima@chromium.org Review URL: https://chromiumcodereview.appspot.com/9837080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128686 0039d316-1c4b-4281-b951-d872f2087c98
* Don't delete Primary monitor and it's root window whenoshima@chromium.org2012-03-243-6/+71
| | | | | | | | | | | # of monitors goes zero. BUG=none TEST=nonoe Review URL: http://codereview.chromium.org/9835068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128684 0039d316-1c4b-4281-b951-d872f2087c98
* Add shortcut image to the secondary monitor screenoshima@chromium.org2012-03-231-16/+35
| | | | | | | | | | | Moved the message to the top per glen's request. BUG=115510 TEST=none Review URL: https://chromiumcodereview.appspot.com/9834055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128602 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r128507 "Revert r128436 "relanding: disabled workspace_window_resizer ↵oshima@chromium.org2012-03-236-26/+378
| | | | | | | | | | | | test. fixed access-after-free."" TBR=backer@chromium.org BUG=chromium-os:28304 TEST=none Review URL: https://chromiumcodereview.appspot.com/9837046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128509 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r128436 "relanding: disabled workspace_window_resizer test. fixed ↵backer@chromium.org2012-03-236-378/+26
| | | | | | | | | | | | | | access-after-free." This causes a black screen on Alex when building from ToT chrome. BUG=chromium-os:28304 TBR=oshima TEST=can log in on Alex Review URL: https://chromiumcodereview.appspot.com/9838060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128507 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the launcher use a layer with a solid color, which is cheapersky@chromium.org2012-03-231-1/+1
| | | | | | | | | | | | than a textured layer. BUG=119581 TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9835028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128500 0039d316-1c4b-4281-b951-d872f2087c98
* relanding: disabled workspace_window_resizer test. fixed access-after-free.oshima@chromium.org2012-03-236-26/+378
| | | | | | | | | | | | | | | | * MonitorChangeObserverX11 that listen to Xrandr events and update monitor configurations. * Message on secondary monitor view * Accelerator to create/delete/cycle monitors to test multi monitor on linux desktop * unittest for MultiMonitorManager/MonitorController BUG=115510 TEST=multi_monitor_manager_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128330 Review URL: https://chromiumcodereview.appspot.com/9754001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128436 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r128330 "* MonitorChangeObserverX11 that listen to Xrandr events and ↵oshima@chromium.org2012-03-236-377/+26
| | | | | | | | | | | | update monitor configurations." TBR=ben@chromium.org BUG=115510 TEST=none Review URL: https://chromiumcodereview.appspot.com/9839032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128346 0039d316-1c4b-4281-b951-d872f2087c98
* * MonitorChangeObserverX11 that listen to Xrandr events and update monitor ↵oshima@chromium.org2012-03-226-26/+377
| | | | | | | | | | | | | | | configurations. * Message on secondary monitor view * Accelerator to create/delete/cycle monitors to test multi monitor on linux desktop * unittest for MultiMonitorManager/MonitorController BUG=115510 TEST=multi_monitor_manager_unittests Review URL: https://chromiumcodereview.appspot.com/9754001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128330 0039d316-1c4b-4281-b951-d872f2087c98
* * MultiMonitorManager creates and manages mutliple monitor instanceoshima@chromium.org2012-03-216-0/+366
* MonitorContrler controls root window <-> monitor mapping and resize/reposition root window to match monitor configuration. * Moved use_fullscreen_host_window to MonitorManager * Moved compositor initialize/terminate to Env as there can be more than one root window. BUG=115510 TEST=none Review URL: https://chromiumcodereview.appspot.com/9701098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127854 0039d316-1c4b-4281-b951-d872f2087c98