summaryrefslogtreecommitdiffstats
path: root/ash
Commit message (Collapse)AuthorAgeFilesLines
* Avoid using ScreenPositionController in ColoredWindowController's ctormukai@chromium.org2012-10-161-1/+3
| | | | | | | | | | | The current code causes a crash if |parent| belongs to 2nd display. We may want to ensure that |parent| shouldn't have kUsesScreenCoordinatesKey, but this CL rather fixes the caller's code as a quick fix. BUG=155656 TEST=on goobuntu, run chrome with --aura-host-window-size='800+0-1000x800,800+900-800x600', move a window to 2nd display, click the maximize button, and make sure that the click doesn't cause any crashes. Review URL: https://chromiumcodereview.appspot.com/11150031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162183 0039d316-1c4b-4281-b951-d872f2087c98
* Full Screen Magnifier: Add MagnificationManageryoshiki@chromium.org2012-10-162-0/+4
| | | | | | | | | | | | | | | | | | | MagnificationManager controls the full screen magnifier from chrome-browser side (not ash side. Note that MagnificationController is on ash side). MagnificationManager does: - Watch logged-in. Change the behavior between the login screen and user desktop. - Watch change of the pref. When the pref changes, the setting of the magnifier will interlock with it. In addition, this patch make the magnifier settings per-user instead of per-device. BUG=151891 TEST=manual, browser_test passes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162080 Review URL: https://chromiumcodereview.appspot.com/11065008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162142 0039d316-1c4b-4281-b951-d872f2087c98
* ash : Decouple power button controller and session state controller.antrim@chromium.org2012-10-168-594/+802
| | | | | | | | | | | 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
* Full Screen Magnifier: Set the scale 1.0x on the login screen by defaultyoshiki@chromium.org2012-10-161-0/+16
| | | | | | | | | | | | | BUG=151891 TEST=manual R=zork@chromium.org TBR=sky@chromium.org # TRBing for simple change only of magnification_controller Review URL: https://chromiumcodereview.appspot.com/11172002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162120 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 162080 - Full Screen Magnifier: Add MagnificationManageryoshiki@chromium.org2012-10-162-6/+0
| | | | | | | | | | | | | | | | | | | | MagnificationManager controls the full screen magnifier from chrome-browser side (not ash side. Note that MagnificationController is on ash side). MagnificationManager does: - Watch logged-in. Change the behavior between the login screen and user desktop. - Watch change of the pref. When the pref changes, the setting of the magnifier will interlock with it. In addition, this patch make the magnifier settings per-user instead of per-device. BUG=151891 TEST=manual, browser_test passes. Review URL: https://chromiumcodereview.appspot.com/11065008 TBR=yoshiki@chromium.org Review URL: https://codereview.chromium.org/11169002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162087 0039d316-1c4b-4281-b951-d872f2087c98
* Full Screen Magnifier: Add MagnificationManageryoshiki@chromium.org2012-10-162-0/+6
| | | | | | | | | | | | | | | | | MagnificationManager controls the full screen magnifier from chrome-browser side (not ash side. Note that MagnificationController is on ash side). MagnificationManager does: - Watch logged-in. Change the behavior between the login screen and user desktop. - Watch change of the pref. When the pref changes, the setting of the magnifier will interlock with it. In addition, this patch make the magnifier settings per-user instead of per-device. BUG=151891 TEST=manual, browser_test passes. Review URL: https://chromiumcodereview.appspot.com/11065008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162080 0039d316-1c4b-4281-b951-d872f2087c98
* Add "panel_fitting" GPU feature type and use it for mirror mode.ynovikov@chromium.org2012-10-153-0/+14
| | | | | | | | | | | | | | | | | | | | | | Panel fitting is used by mirror display mode on Chrome OS. This GPU feature type will tell if it is supported by GPU hardware. Initially enable it only for Ivy Bridge GPU via blacklisting everything else. Also add a disable_panel_fitting command flag, to be able to quickly turn the feature off. When hardware supports panel fitting, and there are no common modes between the internal and the external displays, configure the internal display to the external's resolution, and let the panel fitter take care of displaying it correctly. BUG=chromium-os:34442 TEST=Panel Fitting should appear as Hardware Accelerated in about:gpu on IVB Chrome OS, Unavailable everywhere else. TEST=Tested mirror mode on device. Review URL: https://chromiumcodereview.appspot.com/10909242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161980 0039d316-1c4b-4281-b951-d872f2087c98
* Moves TrayBubbleView out of ash namespacestevenjb@chromium.org2012-10-1521-371/+554
| | | | | | | | | | | | 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
* fix Screen leak in ash testsscottmg@chromium.org2012-10-152-4/+4
| | | | | | | | | | | valgrind memory fyi here: http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%284%29/builds/14345/steps/memory%20test%3A%20unit/logs/stdio TBR=ben@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11146011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161829 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
* Migrate ui::Transform to gfx::Transform shawnsingh@chromium.org2012-10-1414-62/+63
| | | | | | | | | | It is more appropriate for Transform class to belong with its fellow geometry classes in the gfx namespace. Review URL: https://chromiumcodereview.appspot.com/11145005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161809 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for out-of-sync scale factor issueoshima@chromium.org2012-10-131-1/+3
| | | | | | | | | | | | | - Set active root window early when creating browsers on startup. - Send screen info when device scale factor chagned. - gfx::Screen::GetDisplayNearestWindow should return Primary when the window's root doesn't exist. I missed this condition in https://chromiumcodereview.appspot.com/10961021 BUG=155201, 152728 TEST=manual: see bug for repro steps Review URL: https://chromiumcodereview.appspot.com/11066130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161758 0039d316-1c4b-4281-b951-d872f2087c98
* Makes gfx::Screen an instance, rather than a collection of static methods.scottmg@chromium.org2012-10-1253-170/+240
| | | | | | | | | | | | | | This is in support of supporting separate Screen implementations on Aura for desktop and metro on Windows. Some callsites are not yet correct, and noted with a reference to the http://crbug.com/133312. As-is those sites will behave the same as before this patch, but may not be correct once desktop/metro can run simultaneously. BUG=133312 Review URL: https://chromiumcodereview.appspot.com/11030017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161644 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix event processing in modal windows in login/lock screen.sadrul@chromium.org2012-10-127-20/+72
| | | | | | | | | | | | The RootWindowController would always use the default modal-container. However, in the login screen or the lockscreen, the special lock-screen modal container needs to be used. BUG=154607 Review URL: https://codereview.chromium.org/11117012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161632 0039d316-1c4b-4281-b951-d872f2087c98
* Enable CursorManager::LockCursor to lock cursor visibility.mazda@chromium.org2012-10-129-99/+155
| | | | | | | | | | | | | | | | | | This CL changes mainly three parts: - Add LockCursor and UnlockCursor to CursorClient. - Move the code to change cursor visibility from aura::RootWindow and aura::RootWindowHostLinux to ash::CursorManager. - Remove CursorDelegate, which was too much simple delegation and unnecessary. BUG=153702 TEST=CursorManagerTest.ShowCursor Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161454 Review URL: https://chromiumcodereview.appspot.com/11035050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161629 0039d316-1c4b-4281-b951-d872f2087c98
* Move shelf/launcher/status_area_widget/panel_layout_manager to ↵oshima@chromium.org2012-10-127-126/+222
| | | | | | | | | | | | | RootWindowController This is just preparation to create launchers on all displays. BUG=145978 TEST=none Review URL: https://chromiumcodereview.appspot.com/11093050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161621 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test failure of AcceleratorControllerTest on Win Aura.mazda@chromium.org2012-10-121-6/+13
| | | | | | | | | | | This test is broken after http://crrev.com/161590. TBR=ben@chromium.org BUG=None Review URL: https://codereview.chromium.org/11115017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161618 0039d316-1c4b-4281-b951-d872f2087c98
* Tweaks workspace animation code per latest from Nicholas. Additionallysky@chromium.org2012-10-1211-436/+625
| | | | | | | | | | | | 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
* Make AcceleratorTableTest.CheckDuplicatedAcceleratorsAsh pass on Windows Aura.jam@chromium.org2012-10-121-17/+17
| | | | | | Review URL: https://codereview.chromium.org/11087091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161590 0039d316-1c4b-4281-b951-d872f2087c98
* Allows insets of displays, in case of overscans.mukai@chromium.org2012-10-123-0/+77
| | | | | | | | | | | This CL itself doesn't change the behavior. Another CL will enables the customization. BUG=139419 Review URL: https://chromiumcodereview.appspot.com/11066107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161532 0039d316-1c4b-4281-b951-d872f2087c98
* Auto hide app list on Windows when it loses focus.benwells@chromium.org2012-10-121-0/+8
| | | | | | | | | | | | | | | | | | This is a bit tricky as the app list should not hide when the taskbar gets focus. Handling this involves using a timer, when the app list does not have focus, to check whether either the taskbar or the app list has focus. Once one of these is not true the app list is closed. This change also ensures that the app list is never opened multiple times. Also includes is a bit of cleanup: - AppListController has been renamed to AppListControllerDelegate - a singleton AppListController has been introduced for Windows, similar to ash - default implementations have been added to AppListControllerDelegate where it makes sense. BUG=152847, 152846 Review URL: https://chromiumcodereview.appspot.com/11094019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161474 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 161454 - Enable CursorManager::LockCursor to lock cursor visibility.mazda@chromium.org2012-10-129-155/+99
| | | | | | | | | | | | | | | | | | | This CL changes mainly three parts: - Add LockCursor and UnlockCursor to CursorClient. - Move the code to change cursor visibility from aura::RootWindow and aura::RootWindowHostLinux to ash::CursorManager. - Remove CursorDelegate, which was too much simple delegation and unnecessary. BUG=153702 TEST=CursorManagerTest.ShowCursor Review URL: https://chromiumcodereview.appspot.com/11035050 TBR=mazda@chromium.org Review URL: https://codereview.chromium.org/11114007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161466 0039d316-1c4b-4281-b951-d872f2087c98
* Enable CursorManager::LockCursor to lock cursor visibility.mazda@chromium.org2012-10-129-99/+155
| | | | | | | | | | | | | | | | This CL changes mainly three parts: - Add LockCursor and UnlockCursor to CursorClient. - Move the code to change cursor visibility from aura::RootWindow and aura::RootWindowHostLinux to ash::CursorManager. - Remove CursorDelegate, which was too much simple delegation and unnecessary. BUG=153702 TEST=CursorManagerTest.ShowCursor Review URL: https://chromiumcodereview.appspot.com/11035050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161454 0039d316-1c4b-4281-b951-d872f2087c98
* Add Wallpaper option to launcher context menusaintlou@chromium.org2012-10-118-138/+14
| | | | | | | | 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-114-82/+2
| | | | | | | | | | 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-116-69/+82
| | | | | | | | | | 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
* Revert 160776 - Screen Magnifier: Change keyboard shortcut from [CTRL + ↵yoshiki@chromium.org2012-10-101-4/+2
| | | | | | | | | | | | | | | | brightness] to [CTRL + ALT + brightness] On Developer mode, [Ctrl + Alt + Fn] shortcut keys are hooked by X11 layer and [CTRL + ALT + brightness] doesn't work. This patch will be reverted for a while until X11 layer is solved. BUG=153961 Review URL: https://chromiumcodereview.appspot.com/11035051 TBR=yoshiki@chromium.org Review URL: https://codereview.chromium.org/11088053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161073 0039d316-1c4b-4281-b951-d872f2087c98
* Decouple EventClientImpl and root window. Check containers on the same root ↵oshima@chromium.org2012-10-1011-26/+151
| | | | | | | | | | | | | | | | | | window as focused window when testing if the focused window can receive events. This was causing lock screen to lose focus when mouse is clicked on another root window. This Cl also adds a debug build/linux desktop only shortcut (F11) to lock/shutdown. BUG=152982 TEST=covered by test. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160696 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=160804 Review URL: https://chromiumcodereview.appspot.com/11047030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161058 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TOGGLE_MAXIMIZED_* from Ash reserved actions list.mazda@chromium.org2012-10-109-15/+30
| | | | | | | | | | | | | | | The following changes are for removing TOGGLE_MAXIMIZED_* from Ash reserved actions list. - Add ShellDelegate::ToggleMaximized - Remove VKEY_F4 from browser accelerators list Also added a browser test for ChromeShellDelegate::ToggleMaximized. BUG=152265 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/11082002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161015 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Make FLING_START end a launcher bar drag.xiyuan@chromium.org2012-10-101-0/+1
| | | | | | | | | | | | BUG=151380 TEST=Verify touch fling does not leave launcher icon in strange position. R=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/11097003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161000 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: IWYU for base/time.h. Also fix misc lint errors.thestig@chromium.org2012-10-101-2/+1
| | | | | | | | TBR=ben,brettw,oshima,rdsmith Review URL: https://chromiumcodereview.appspot.com/11087021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160999 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160993 - Revert 160976 - The center of a rect is x+width/2, y+height/2cpu@chromium.org2012-10-101-4/+4
| | | | | | | | | | | | | | | | | | | | If a rect is (0, 0, 5, 5) the center should be 2.5, 2.5, not 2, 2. Tests: ui_unittests:RectTest.CenterPoint ui_unittests:RectTest.CenterPointF BUG=147395 Review URL: https://chromiumcodereview.appspot.com/11065050 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/11086037 TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/11088048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160995 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160976 - The center of a rect is x+width/2, y+height/2cpu@chromium.org2012-10-101-4/+4
| | | | | | | | | | | | | | | | | If a rect is (0, 0, 5, 5) the center should be 2.5, 2.5, not 2, 2. Tests: ui_unittests:RectTest.CenterPoint ui_unittests:RectTest.CenterPointF BUG=147395 Review URL: https://chromiumcodereview.appspot.com/11065050 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/11086037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160993 0039d316-1c4b-4281-b951-d872f2087c98
* The center of a rect is x+width/2, y+height/2danakj@chromium.org2012-10-091-4/+4
| | | | | | | | | | | | | | If a rect is (0, 0, 5, 5) the center should be 2.5, 2.5, not 2, 2. Tests: ui_unittests:RectTest.CenterPoint ui_unittests:RectTest.CenterPointF BUG=147395 Review URL: https://chromiumcodereview.appspot.com/11065050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160976 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Fix window rotation animationjamescook@chromium.org2012-10-091-0/+6
| | | | | | | | | | | | | | | | If a user presses Ctrl-Alt-Shift-F3 repeated their windows can get stuck in a partially rotated state. The rotation animation chooses its target rotation and transform based on the values at the start of the animation. By default, if we trigger a new animation it immediately computes a new target based on the current values. Instead, queue the animations so we're sure things are back to neutral before starting a new one. BUG=154875 TEST=manual, hit Ctrl-Alt-Shift-F3 repeatedly and ensure windows end up in normal position Review URL: https://chromiumcodereview.appspot.com/11066085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160975 0039d316-1c4b-4281-b951-d872f2087c98
* Remove implicit flooring Scale() method from Point and Size.danakj@chromium.org2012-10-092-2/+5
| | | | | | | | | | | | | | | | | | When scaling an integer point or size, return a floating point result. Implicitly flooring hides design problems and bugs. Add conversion functions to floor or ceil a SizeF or PointF into an integer format again. All existing behaviour has been preserved by replacing uses of foo.Scale() with ToFlooredFoo(foo.Scale()). R=sky BUG=147395 Review URL: https://chromiumcodereview.appspot.com/11081007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160970 0039d316-1c4b-4281-b951-d872f2087c98
* Add check for popup_bubble() before calling set_dirty() in WebNotificationTraystevenjb@chromium.org2012-10-091-1/+2
| | | | | | | | | BUG=154719 Review URL: https://chromiumcodereview.appspot.com/11096014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160900 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160804 - as it caused a ash unit test failure on Windows.finnur@chromium.org2012-10-0911-151/+26
| | | | | | | | | | | | | | | | | | Reverting: Decouple EventClientImpl and root window. Check containers on the same root window as focused window when testing if the focused window can receive events. This was causing lock screen to lose focus when mouse is clicked on another root window. This Cl also adds a debug build/linux desktop only shortcut (F11) to lock/shutdown. BUG=152982 TEST=covered by test. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160696 Review URL: https://codereview.chromium.org/11047030 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/11093021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160832 0039d316-1c4b-4281-b951-d872f2087c98
* Decouple EventClientImpl and root window. Check containers on the same root ↵oshima@chromium.org2012-10-0911-26/+151
| | | | | | | | | | | | | | | window as focused window when testing if the focused window can receive events. This was causing lock screen to lose focus when mouse is clicked on another root window. This Cl also adds a debug build/linux desktop only shortcut (F11) to lock/shutdown. BUG=152982 TEST=covered by test. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160696 Review URL: https://codereview.chromium.org/11047030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160804 0039d316-1c4b-4281-b951-d872f2087c98
* Screen Magnifier: Change keyboard shortcut from [CTRL + brightness] to [CTRL ↵yoshiki@chromium.org2012-10-091-2/+4
| | | | | | | | | | + ALT + brightness] BUG=153961 Review URL: https://chromiumcodereview.appspot.com/11035051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160776 0039d316-1c4b-4281-b951-d872f2087c98
* Enables to specify the ID of the display which should be primary when connected.mukai@chromium.org2012-10-093-1/+143
| | | | | | | | | BUG=153879 Review URL: https://chromiumcodereview.appspot.com/11035035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160767 0039d316-1c4b-4281-b951-d872f2087c98
* Set the date view actionable so that clicking on it will open settings page ↵jennyz@chromium.org2012-10-081-1/+1
| | | | | | | | | | on date/time section. BUG=151162 Review URL: https://codereview.chromium.org/11017018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160743 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show the titlebar in fullscreen windows on ash.jeremya@chromium.org2012-10-081-0/+6
| | | | | | | | | | R=ben@chromium.org BUG=153475 Review URL: https://chromiumcodereview.appspot.com/11028074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160708 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160696 - Decouple EventClientImpl and root window. Check containers ↵rch@chromium.org2012-10-0811-155/+26
| | | | | | | | | | | | | | | | | on the same root window as focused window when testing if the focused window can receive events. This was causing lock screen to lose focus when mouse is clicked on another root window. This Cl also adds a debug build/linux desktop only shortcut (F11) to lock/shutdown. BUG=152982 TEST=covered by test. Review URL: https://chromiumcodereview.appspot.com/11047030 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/11087014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160707 0039d316-1c4b-4281-b951-d872f2087c98
* Decouple EventClientImpl and root window. Check containers on the same root ↵oshima@chromium.org2012-10-0811-26/+155
| | | | | | | | | | | | | | window as focused window when testing if the focused window can receive events. This was causing lock screen to lose focus when mouse is clicked on another root window. This Cl also adds a debug build/linux desktop only shortcut (F11) to lock/shutdown. BUG=152982 TEST=covered by test. Review URL: https://chromiumcodereview.appspot.com/11047030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160696 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate custom paint code for TrayBubbleView stevenjb@chromium.org2012-10-0814-329/+160
| | | | | | | | | | | | | | | | | | 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
* ash: Fix comment in UserActivityDetector.derat@chromium.org2012-10-081-2/+1
| | | | | | | | | | | Copy-and-paste mishap. BUG=none TBR=sky@chromium.org Review URL: https://codereview.chromium.org/11089004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160664 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-062-0/+3
| | | | | | | | | | | 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-055-0/+169
| | | | | | | | | | | | | 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