summaryrefslogtreecommitdiffstats
path: root/ash/display
Commit message (Collapse)AuthorAgeFilesLines
* Disable DisplayControllerTest.SwapPrimary and SwapPrimaryById on win+aura.mattm@chromium.org2013-05-021-2/+14
| | | | | | | | | | | They crash flakily on win8 aura bots. BUG=237642 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/14705007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197980 0039d316-1c4b-4281-b951-d872f2087c98
* Add MoveMouseToInHost to aura::test::EventGeneratoroshima@chromium.org2013-05-012-33/+32
| | | | | | | | | | | | | * remove local functions to move the mouse in host coordinates. * updated tests that should use host coordinates instead of root. BUG=none TEST=covered by tests. Review URL: https://chromiumcodereview.appspot.com/14293028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197651 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up selected ash defines for MessagePumpLinuxrjkroege@chromium.org2013-04-301-5/+7
| | | | | | | | | | | MessagePumpLinux implies the absence of an X server. Fix up some defines in ash appropriately for this. BUG=180666 Review URL: https://chromiumcodereview.appspot.com/13947019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197446 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Use base::MessageLoop.xhwang@chromium.org2013-04-302-3/+3
| | | | | | | | | BUG=236029 R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/14283019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197444 0039d316-1c4b-4281-b951-d872f2087c98
* Rationalize use_aura=1 and use_ash=1 on linuxdavemoore@chromium.org2013-04-301-0/+2
| | | | | | | | | | BUG=236170 TEST=None R=ben@chromium.org Review URL: https://codereview.chromium.org/14554002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197363 0039d316-1c4b-4281-b951-d872f2087c98
* Don't check video activity during shutdownoshima@chromium.org2013-04-263-2/+14
| | | | | | | | | | | This also change to use ShellObserver to stop listening display change event BUG=231696 TEST=none Review URL: https://chromiumcodereview.appspot.com/14502004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196843 0039d316-1c4b-4281-b951-d872f2087c98
* Let Magnifier, UI Scaling and Rotation use AshRootWindowTransformer to ↵yoshiki@chromium.org2013-04-241-62/+3
| | | | | | | | | | | | | | | | create transform matrix. This patch enables us to use simultaneously these features. BUG=223983, 230979 TEST=ash_unittests and aura_unittests passes. R=oshima@chromium.org NOTRY=True # NOTRYing for trybots are already passed. Review URL: https://chromiumcodereview.appspot.com/13634002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196077 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 195733 "Enable virtual resolution on low DPI displays""oshima@chromium.org2013-04-235-65/+121
| | | | | | | | | | | Reverted wrong CL by mistake TBR=oshima@chromium.org BUG=none Review URL: https://codereview.chromium.org/14081019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195742 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 195733 "Enable virtual resolution on low DPI displays"oshima@chromium.org2013-04-235-121/+65
| | | | | | | | | | | | | | | >Add debug shortcuts that toggles options to shows paint rects, debug borders and fps counters. >Cleanup: Separate desktop shortcuts which are useful only on linux desktop, and debug shortcuts. > >BUG=227375 >Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195733 TBR=oshima@chromium.org BUG= Review URL: https://codereview.chromium.org/14263025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195737 0039d316-1c4b-4281-b951-d872f2087c98
* Enable virtual resolution on low DPI displaysoshima@chromium.org2013-04-235-65/+121
| | | | | | | | | BUG=233375,180535 TEST=covered by unit tests. Review URL: https://codereview.chromium.org/14320009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195672 0039d316-1c4b-4281-b951-d872f2087c98
* Restore focus/activation after the root window has been completely deleted.oshima@chromium.org2013-04-222-1/+78
| | | | | | | | | | Otherwise restoring focused/active window may try to use stale display. BUG=229158 Review URL: https://chromiumcodereview.appspot.com/14188054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195552 0039d316-1c4b-4281-b951-d872f2087c98
* Use GetInverseoshima@chromium.org2013-04-191-15/+0
| | | | | | | | | | | | Rotation matrixes are normalized (and will soon changed to handle 90 rotations in special form), so no need to have separate inverse matrix. BUG=222483 TEST=no functionality change. Review URL: https://codereview.chromium.org/14361002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195238 0039d316-1c4b-4281-b951-d872f2087c98
* Scale TouchEvent's radius when touchscreen is in mirror modemiletus@chromium.org2013-04-192-3/+45
| | | | | | | | | | | | | | | | | TouchEvent's radius on Pixel is reported in the touchscreen's native resolution. When Pixel is connected to an external screen and running in mirror mode, the radius value is too large for the external screen's low display resolution. The radius value needs to be scaled properly in this case. BUG=229932 TEST=Switching to mirror mode when connecting Pixel to a low resolution external display, following the test in the issue and make sure the radius has a sensible value. Review URL: https://chromiumcodereview.appspot.com/14279002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195075 0039d316-1c4b-4281-b951-d872f2087c98
* Update the remaining include paths of base/string_piece.h to its new location.tfarina@chromium.org2013-04-172-2/+2
| | | | | | | | | | | string_piece.h was moved into base/strings/ in r191206 - https://chromiumcodereview.appspot.com/12982018/ TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/14272007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194693 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.erg@chromium.org2013-04-172-6/+6
| | | | | | | | | | | In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes these in ash/. BUG=232084 Review URL: https://codereview.chromium.org/14297013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194609 0039d316-1c4b-4281-b951-d872f2087c98
* Round near zero value in rotation matrix to zerooshima@chromium.org2013-04-122-1/+49
| | | | | | | | | | | This seems to be the root cause of computation errors. BUG=222483,223983 TEST=covered by test Review URL: https://chromiumcodereview.appspot.com/14142011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194007 0039d316-1c4b-4281-b951-d872f2087c98
* Update src/ash/ for renames and moves in basebrettw@chromium.org2013-04-113-3/+3
| | | | | | | | | | | Renames string16 -> base::string16 and base/string_number_conversions.h -> base/strings/string_number_conversions.h BUG= Review URL: https://codereview.chromium.org/13856005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193561 0039d316-1c4b-4281-b951-d872f2087c98
* Translate 1 pixel not 1 dip when rotating the display.oshima@chromium.org2013-04-112-34/+53
| | | | | | | | | BUG=222483 TEST=covered by unit test Review URL: https://chromiumcodereview.appspot.com/13916004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193560 0039d316-1c4b-4281-b951-d872f2087c98
* Don't move cursor location when rotation /ui scaling has changedoshima@chromium.org2013-04-095-57/+166
| | | | | | | | | | | | | | Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow. BUG=226300 TEST=covered by test. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193008 Review URL: https://chromiumcodereview.appspot.com/13466022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193227 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 193008 "Don't move cursor location when rotation /ui scal..."dcheng@chromium.org2013-04-095-156/+52
| | | | | | | | | | | | | | | | > Don't move cursor location when rotation /ui scaling has changed > Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow. > > > BUG=226300 > TEST=covered by test. > > Review URL: https://chromiumcodereview.appspot.com/13466022 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/13946002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193035 0039d316-1c4b-4281-b951-d872f2087c98
* Don't move cursor location when rotation /ui scaling has changedoshima@chromium.org2013-04-095-52/+156
| | | | | | | | | | | | Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow. BUG=226300 TEST=covered by test. Review URL: https://chromiumcodereview.appspot.com/13466022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193008 0039d316-1c4b-4281-b951-d872f2087c98
* Correct scale for touch radius & scroll offset ordinal miletus@chromium.org2013-04-051-2/+90
| | | | | | | | | | | | | | | | | | | In https://codereview.chromium.org/12983010/ reversed_root_transform is passed into event::UpdateForRootTransform. Then for TouchEvent::UpdateForRootTransform(), the radius_x/y now should times the inverted device scale factor instead of being divided by it. The same in ScrollEvent::UpdateForRootTransform() for scroll offset ordinal. BUG=chromium:226169 TEST=On Link, visit http://www.rbyers.net/paint.html, make sure touch radius has normal range. Review URL: https://chromiumcodereview.appspot.com/13594009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192490 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Refactor OutputConfigurator.derat@chromium.org2013-04-051-3/+4
| | | | | | | | | | | | | | | This moves OutputConfigurator's X11 code into a separate delegate class to make testing possible. It also removes some ugliness in the form of Displays, XRRScreenResources, and Windows getting passed between methods. No functional changes are intended. BUG=225536 Review URL: https://chromiumcodereview.appspot.com/13430025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192449 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out ash/chromeos specific transform from RootWindow.oshima@chromium.org2013-04-032-11/+15
| | | | | | | | | | | | | This also allows screen magnifier to use the same mechanism as screen rotation/zooming. BUG=223983 TEST=no functional change. All tests should pass. Review URL: https://chromiumcodereview.appspot.com/13429003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192019 0039d316-1c4b-4281-b951-d872f2087c98
* Use black as compositor's default backgroundoshima@chromium.org2013-04-021-1/+2
| | | | | | | | | | | - expose LayerTreeHost::set_background_color() as compositor's API BUG=224500 Review URL: https://chromiumcodereview.appspot.com/13402002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191764 0039d316-1c4b-4281-b951-d872f2087c98
* Fix indicator bounds on destination display.oshima@chromium.org2013-04-021-1/+1
| | | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/13386010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191751 0039d316-1c4b-4281-b951-d872f2087c98
* Copy bounds rect from gfx::Display instead of using reference.oshima@chromium.org2013-04-011-6/+8
| | | | | | | | | | | | This looks old bug which was working by accident, or due to optimization difference. BUG=225241 TEST=maual Review URL: https://chromiumcodereview.appspot.com/13251019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191701 0039d316-1c4b-4281-b951-d872f2087c98
* Allow no-internal display modeoshima@chromium.org2013-03-309-148/+224
| | | | | | | | | | | | | | | - Remember primary per display pair - remember power state. Restore when restarted, but not boot time. - DefaultLayout is used to construct layout for display pair. It used to be used if the layout wasn't set before, but since layout has other data such as primary/mirror state, it makes more sense to copy it first. Cleanup: remove unnecessary code. BUG=218387 TEST=covered by test. manually tested on device. Review URL: https://chromiumcodereview.appspot.com/12865019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191509 0039d316-1c4b-4281-b951-d872f2087c98
* Add more UI scales. short cut to reset ui scaleoshima@chromium.org2013-03-274-22/+67
| | | | | | | | | | | | | 0.5, 0.625 and 1.125 (640, 800 and 1440 on Pixel) Reassigned shortcut to shift/ctrl/-+ Add reset UI scales (to shift/ctrl/0) BUG=223808 TEST=covered by test. Review URL: https://chromiumcodereview.appspot.com/12586011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190869 0039d316-1c4b-4281-b951-d872f2087c98
* Manually compute inverted matrix for screen rotationoshima@chromium.org2013-03-261-1/+15
| | | | | | | | | BUG=222483 TEST=no functionality change. covered by existing unit tests. Review URL: https://codereview.chromium.org/12983010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190533 0039d316-1c4b-4281-b951-d872f2087c98
* Remember mirroring statusoshima@chromium.org2013-03-247-15/+102
| | | | | | | | | | | | | -DisplayLayout now keeps track of mirroring state as well. -Load preference before Shell::Init is execute so that display controller can provide the correct state at boot/startup time -Added OutputConfigurator::Delegate so that OutputConfigurator can determine the state for dual display when the display is connected. BUG=196818 TEST=covered by unittests. Review URL: https://codereview.chromium.org/12716007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190276 0039d316-1c4b-4281-b951-d872f2087c98
* Replaces the display error messages by the actual ones.mukai@chromium.org2013-03-222-18/+4
| | | | | | | | | BUG=176011 TEST=trybots Review URL: https://codereview.chromium.org/12782013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189925 0039d316-1c4b-4281-b951-d872f2087c98
* - Store rotation/ui scale to local state.oshima@chromium.org2013-03-229-48/+183
| | | | | | | | | | | | | - Reset the overscan to the default value if the display has overscan. - Move overscan data into kDisplayProperties dictionary value. - Remove Rotate/Scale shortcut from login screen as we can't store the state in login screen. BUG=196818 TEST=covered by unit test. Review URL: https://codereview.chromium.org/12505005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189910 0039d316-1c4b-4281-b951-d872f2087c98
* Use OutputConfigurator::SetDislpayMode for ctrl-fullscreenoshima@chromium.org2013-03-223-3/+13
| | | | | | | | | | | | | | DisplayManager knows the mirroring state, so no need to rely on OutputConfigurator to move to next state. There is a chance that dislpay may be disconnected when SetDisplayMode, but that's harmless as it simply returns false. BUG=180443 TEST=manual. see bug. Review URL: https://codereview.chromium.org/12496020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189738 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor DisplayPreferenceoshima@chromium.org2013-03-212-7/+11
| | | | | | | | | | | | | | | | | | | - Use ash::DisplayController::Observer to save preference - DisplayLayout::FromInets to eliminate conversions - Create OutputConfiguratorAnimation on desktop, except for test. This is necessary to get options page working on desktop. - Store default only when a user modified the layout. I think this matches the user's expectation better. Other cleanups: - Removed unused declaration Shell::InitLayoutManagersForPrimaryDisplay BUG=196818 TEST=covered by test Review URL: https://codereview.chromium.org/12843008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189538 0039d316-1c4b-4281-b951-d872f2087c98
* Use floored value for screen size and mouse location for consistency.oshima@chromium.org2013-03-202-2/+2
| | | | | | | | | | | | | | | | | This is causing mismatch between expected bounds and actual mouse position in auto-hide code. - don't synthesize mouse event if the current location is outside of root window. This happens when dragging window and unnecessary to handle. - Fix system location in synthesized event. It's using screen coordinates instead of system coordinates. BUG=222137 TEST=updated the test. Tested manually. see bug. Review URL: https://chromiumcodereview.appspot.com/12579012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189269 0039d316-1c4b-4281-b951-d872f2087c98
* Use XRANR definition for rotationoshima@chromium.org2013-03-191-12/+21
| | | | | | | | | | | | | Changed to use xrandr's definition as discussed offline. Removed command line switch as this is no longer needed. BUG=196434 TEST=none Review URL: https://chromiumcodereview.appspot.com/12700024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189123 0039d316-1c4b-4281-b951-d872f2087c98
* Save display preference when all display configuration changes has been ↵oshima@chromium.org2013-03-194-22/+76
| | | | | | | | | | | | | | | completed. Add OnDisplayConfigurationChanged to DisplayController::Observer Save primary only in ExtededDesktop mode TBR=sky@chromium.org BUG=196818 TEST=covered by test, and also tested manually. Review URL: https://chromiumcodereview.appspot.com/12438016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189040 0039d316-1c4b-4281-b951-d872f2087c98
* [Cleanup] Remove StringPrintf from global namespacegroby@chromium.org2013-03-183-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | use of StringPrintf now requires prefixing with base:: or a per-scope using directive TBR'd: abodenha: chrome/service brettw: content, third_party, webkit darin: base, chrome/browser, chrome/renderer dgarret: courgette enne: cc fischmann: media gbillock: sql joi: google_apis,components rsleevi: net, crypto sky: chrome/test thestig: printing, chrome/common, tsepez: ipc wez: remoting yfriedman: testing/android NOTRY=true R=brettw@chromium.org TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org BUG= Review URL: https://codereview.chromium.org/12767006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188857 0039d316-1c4b-4281-b951-d872f2087c98
* Translate points correctly with root window's transformoshima@chromium.org2013-03-163-48/+124
| | | | | | | | | | | | | | - Renamed ConvertNativePointToScreen to ConvertHostPointToScreen to be more clear - Apply root window's transform correctly in RootWindow::ConvertPointTo/FromScreen - Fix tests. BUG=179997, 119268 TEST=covered by test. On device, you can drag window between displays with rotation/ui scale applied. Review URL: https://chromiumcodereview.appspot.com/12842007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188590 0039d316-1c4b-4281-b951-d872f2087c98
* 3rd tryoshima@chromium.org2013-03-152-2/+49
| | | | | | | | | | | | | | | | | | Add shortcut keys to ui scaling - Round root window size because it can be fractional size when root_window_scale_ is specified. - Remove scaling option from about:flags. - Rotate display where the mouse is in. BUG=179997,119268 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188324 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188362 Review URL: https://codereview.chromium.org/12848004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188386 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "2nd try"oshima@chromium.org2013-03-152-49/+2
| | | | | | | | | | | | | | | | | | | | | | 2nd try Add shortcut keys to ui scaling - Round root window size because it can be fractional size when root_window_scale_ is specified. - Remove scaling option from about:flags. - Rotate display where the mouse is in. BUG=179997,119268 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188324 Review URL: https://codereview.chromium.org/12848004 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/12886005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188374 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd tryoshima@chromium.org2013-03-152-2/+49
| | | | | | | | | | | | | | | | Add shortcut keys to ui scaling - Round root window size because it can be fractional size when root_window_scale_ is specified. - Remove scaling option from about:flags. - Rotate display where the mouse is in. BUG=179997,119268 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188324 Review URL: https://codereview.chromium.org/12848004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188362 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add shortcut keys to ui scaling"oshima@chromium.org2013-03-152-49/+2
| | | | | | | | | | | | | | | | | | | Add shortcut keys to ui scaling - Round root window size because it can be fractional size when root_window_scale_ is specified. - Remove scaling option from about:flags. - Rotate display where the mouse is in. BUG=179997,119268 Review URL: https://chromiumcodereview.appspot.com/12848004 TBR=oshima@chromium.org BUG=none Review URL: https://codereview.chromium.org/12690013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188344 0039d316-1c4b-4281-b951-d872f2087c98
* Add shortcut keys to ui scalingoshima@chromium.org2013-03-152-2/+49
| | | | | | | | | | | | | - Round root window size because it can be fractional size when root_window_scale_ is specified. - Remove scaling option from about:flags. - Rotate display where the mouse is in. BUG=179997,119268 Review URL: https://chromiumcodereview.appspot.com/12848004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188324 0039d316-1c4b-4281-b951-d872f2087c98
* Fix translate amount when rotated.oshima@chromium.org2013-03-142-6/+8
| | | | | | | | | | | | | | The origin starts at (0, 0), so the actual amount to translate is width-1/height-1. Use ToRoundedPoint to convert translated point as translation can convert to negative side by small margin. (like -0.000001, which becomes -1 instead of 0) R=jamescook@chromium.org BUG=119268 TEST=updated the test. Review URL: https://codereview.chromium.org/12844004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188220 0039d316-1c4b-4281-b951-d872f2087c98
* Rotate Cursor when the display is rotatedoshima@chromium.org2013-03-148-49/+39
| | | | | | | | | | | | | | - moved Rotation enum from ash to gfx::Display so that views/ui can use it. - rotate image and hot point. BUG=119268 TEST=covered by unit tests, and also test on device. Review URL: https://chromiumcodereview.appspot.com/12666006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188174 0039d316-1c4b-4281-b951-d872f2087c98
* Add _CHROME_DISPLAY_INTERNAL property that tells if the root window is on ↵oshima@chromium.org2013-03-141-6/+9
| | | | | | | | | | | | the internal display. R=adlr@chromium.org BUG=none TEST=none Review URL: https://codereview.chromium.org/12586003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188165 0039d316-1c4b-4281-b951-d872f2087c98
* Move mirror detection to DisplayManageroshima@chromium.org2013-03-144-35/+95
| | | | | | | | | | | | | Remove obsolete code Add tests for mirror & display names TBR=mpcomplete@chromium.org,jamescook@chromium.org BUG=none TEST=covered by test Review URL: https://codereview.chromium.org/12803005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188136 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug in Display::SetScaleAndBounds() that loses origin, resulting in ↵oshima@chromium.org2013-03-141-10/+4
| | | | | | | | | | | | | | bugs such as context menu appearing on wrong screen. - On Ash, ignore origin set from native bounds. - Use 0,0 origin in aura tests because desktop aura runs in native environment. - WebContentsViewAura::GetViewBounds should use screen bounds BUG=180692 Review URL: https://chromiumcodereview.appspot.com/12579007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188013 0039d316-1c4b-4281-b951-d872f2087c98