summaryrefslogtreecommitdiffstats
path: root/ash/desktop_background
Commit message (Collapse)AuthorAgeFilesLines
* Add synchronous Widget closing eventwittman@chromium.org2013-02-053-3/+4
| | | | | | | | | | | | | | | | | | | | | Adds a WidgetObserver event that is guaranteed to be invoked synchronously when a Widget is requested to close. Rename the existing event, which is invoked at Widget destruction time, typically via a task on the event loop, to OnWidgetDestroying. The new event will be used in Views-specific WebContentsModalDialogManager functionality to get close events for Widgets, so that we don't risk adverse interleaving of Widget close events with other relevant events (e.g. IPC). This will allow us to avoids test flakiness observed in https://codereview.chromium.org/12045037 due to event races in PrintPreviewTest.PrintCommands BUG=157161 Review URL: https://chromiumcodereview.appspot.com/12089061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180796 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 179231xiyuan@chromium.org2013-01-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | > views: Fix a Widget destruction crash. > > For WIDGET_OWNS_NATIVE_WIDGET widget, we destroy root view before we delete > |native_widget_|. If a WidgetDelegateView is in root view's hierarchy, the > native widget destruction would crash because |widget_delegate_| is accessed > in OnNativeWidgetDestroying but it is deleted with root view already. > > This CL marks WidgetDelegateView as owned by client so that it does not go > away with the root view hierarchy and be deleted on DeleteDelegate. > > BUG=164791 > TEST=Covered with a new unit test. > > R=ben@chromium.org BUG=164791,172842 TEST=No memory leak as in 172842. Review URL: https://chromiumcodereview.appspot.com/11953066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179694 0039d316-1c4b-4281-b951-d872f2087c98
* Minimize black screen during the boot with multi displaysoshima@chromium.org2013-01-302-3/+8
| | | | | | | | | | | | | | | * Do not try to install Background when a root window is added if a background isn't set yet. * Set the boot screen background color to the root window during the boot if there is external display. BUG=171050 TEST=manual Review URL: https://chromiumcodereview.appspot.com/12079002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179502 0039d316-1c4b-4281-b951-d872f2087c98
* Wallpaper should never be black on extented monitorbshe@chromium.org2012-12-181-1/+1
| | | | | | | | | | BUG=165788 tbr=sky Review URL: https://chromiumcodereview.appspot.com/11583007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173659 0039d316-1c4b-4281-b951-d872f2087c98
* Split window_animations, moving basic animations to views/corewm.ben@chromium.org2012-11-292-11/+10
| | | | | | | | | | | | | | | The base definition of the animation type enum also moves to corewm, and the API now allows downstream libraries (like ash) to extend the set of animations available. This will allow us to more easily use "core" animations in desktop-aura. I also removed the internal namespace from window_animations that remained in ash, since the use of namespaces in that file had begun to confuse me. http://crbug.com/158115 R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170071 Review URL: https://codereview.chromium.org/11412223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170195 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 170071 - Split window_animations, moving basic animations to ↵ben@chromium.org2012-11-282-10/+11
| | | | | | | | | | | | | | | | | | views/corewm. The base definition of the animation type enum also moves to corewm, and the API now allows downstream libraries (like ash) to extend the set of animations available. This will allow us to more easily use "core" animations in desktop-aura. I also removed the internal namespace from window_animations that remained in ash, since the use of namespaces in that file had begun to confuse me. http://crbug.com/158115 R=sky@chromium.org Review URL: https://codereview.chromium.org/11412223 TBR=ben@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170084 0039d316-1c4b-4281-b951-d872f2087c98
* Split window_animations, moving basic animations to views/corewm.ben@chromium.org2012-11-282-11/+10
| | | | | | | | | | | | | | The base definition of the animation type enum also moves to corewm, and the API now allows downstream libraries (like ash) to extend the set of animations available. This will allow us to more easily use "core" animations in desktop-aura. I also removed the internal namespace from window_animations that remained in ash, since the use of namespaces in that file had begun to confuse me. http://crbug.com/158115 R=sky@chromium.org Review URL: https://codereview.chromium.org/11412223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170071 0039d316-1c4b-4281-b951-d872f2087c98
* Remove use of index in wallpaper picker code and some refactorbshe@chromium.org2012-11-206-291/+114
| | | | | | | | BUG=141431 Review URL: https://codereview.chromium.org/11415015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168818 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Move UserWallpaperDelegate to its own header file.tfarina@chromium.org2012-11-134-35/+51
| | | | | | | | | | BUG=159047 R=derat@chromium.org TBR=dpolukhin@chromium.org Review URL: https://codereview.chromium.org/11363185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167435 0039d316-1c4b-4281-b951-d872f2087c98
* Detect duplicated wallpaper loading request and drop the latter onebshe@chromium.org2012-11-131-1/+15
| | | | | | | | BUG=158383,160330 Review URL: https://chromiumcodereview.appspot.com/11358082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167367 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add flag to animate transition from boot splash screen.derat@chromium.org2012-11-102-14/+36
| | | | | | | | | | | | | | | | | | | | | This adds an --ash-animate-from-boot-splash-screen flag that can be set to tell Ash to grab the Chrome OS boot splash screen and fade from it into the login screen's brightness/grayscale desktop background animation. I'm also making SystemBackgroundController just control a solid-color layer and moving its host-window-grabbing code into a new BootSplashScreen class. BUG=152309 TEST=add --ash-animate-from-boot-splash-screen to /sbin/session_manager_setup.sh, reboot, and see the animation Review URL: https://chromiumcodereview.appspot.com/11362067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167068 0039d316-1c4b-4281-b951-d872f2087c98
* Remove wallpapers from grd files and the flag that disable new wallpaper pickerbshe@chromium.org2012-11-082-368/+7
| | | | | | | | | | Some follow up cls will remove the actual jpg files and do more clean up of the old wallpaper picker code BUG=141431 Review URL: https://codereview.chromium.org/11368018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166802 0039d316-1c4b-4281-b951-d872f2087c98
* Use large resolution wallpaper when hook up a large external monitorbshe@chromium.org2012-11-013-22/+88
| | | | | | | | | | | | If we hook up a external monitor that has a larger resoltuion than our small wallpaper resolution, we should load large resolution wallpaper. Otherwise, wallpaper do not cover all screen on the extern monitor. BUG=152221 Review URL: https://codereview.chromium.org/11234036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165443 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate linker warningsoshima@chromium.org2012-10-302-1/+2
| | | | | | | | | | | | | | - Don't use window_property.h in header. It'll generate duplicated symbols - Define and export property type for bool and ui::WindowShowState in ash as they're also used by properties defined in ash. BUG=144155 TEST=no warning Review URL: https://chromiumcodereview.appspot.com/11313022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164946 0039d316-1c4b-4281-b951-d872f2087c98
* Make gfx::Rect class operations consistently mutate the class they are ↵danakj@chromium.org2012-10-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | called on. Currently some methods mutate the class, and some return a new value, requiring API users to know what kind of method they are calling each time, and making inconsistent code. For example: gfx::Rect rect; rect.Inset(1, 1, 1, 1); rect = rect.Intersect(other_rect); rect.Offset(1, 1); Instead of: gfx::Rect rect; rect.Inset(1, 1, 1, 1); rect.Intersect(other_rect); rect.Offset(1, 1); We could go either way - making the class immutable or all methods return a new instance - but I believe it is better to instead make all methods mutate the class. This allows for shorter lines of code by avoiding having to repeat the object's name twice in order to change it. This patch changes gfx::Rect classes and all the callsites that uses these methods. It should make no change in behaviour, so no new tests added. R=sky BUG=147395 Review URL: https://codereview.chromium.org/11110004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163579 0039d316-1c4b-4281-b951-d872f2087c98
* Fix black wallpaper issue when quickly select a bunch of wallpapersbshe@chromium.org2012-10-235-0/+81
| | | | | | | | | | | | | | BUG=155631, 156542 TEST= (1) Open "set wallpaper" dialog. (2) Go to the solid colors section. (3) Quickly click on a color, then on another, then on another. desktop background should not stuck in a black wallpaper. Review URL: https://codereview.chromium.org/11140041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163464 0039d316-1c4b-4281-b951-d872f2087c98
* Add Wallpaper option to launcher context menusaintlou@chromium.org2012-10-111-1/+1
| | | | | | | | 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
* ash: Add tests for desktop background, fix namesjamescook@chromium.org2012-10-056-65/+263
| | | | | | | | | | | | | | | | | | * 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
* ShowWallpaperAnimationObserver should track lifetime of widget not windowdpolukhin@chromium.org2012-10-041-9/+9
| | | | | | | | | | BUG=153723 TEST=tested login, logout and screen lock Review URL: https://chromiumcodereview.appspot.com/11049022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160110 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Fix missing windows/launcher after resume/screen unlockjamescook@chromium.org2012-10-031-11/+23
| | | | | | | | | | | | | | | | | | | | | | When the screen is locked the desktop wallpaper background widget is pulled "forward" to hide the user's browser windows and the launcher. There is a race condition between a window animation triggered by wallpaper reloading at device resume and code in screen unlock that "pushes" the background back behind the launcher and browsers. There can temporarily be two backgrounds and we need to move them both to the back. The extra one will be cleaned up when the animation completes. See bug for details on the race. I'm working on unit tests for this, but that will require some refactoring and I wanted to keep this patch simple for backport to R23. BUG=149043 TEST=interactive_ui_tests ScreenLocker.*, set option to require password on resume, sleep device (close lid or wait for timeout), resume device, verify you can unlock screen with password Review URL: https://codereview.chromium.org/11016030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159954 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Display system background while loading wallpaper.derat@chromium.org2012-10-032-0/+4
| | | | | | | | | | | | | | | | | | | | | When the wallpaper takes a long time to load, areas of the screen that aren't covered by other layers are painted white. This looks okay when we first boot, but not when we're displaying the login after logging out or while we're starting a guest session. This makes us instead initialize SystemBackgroundController immediately with either a #fefefe or black color depending on whether this is the first Chrome run after boot or not. Its color is updated to black after the login wallpaper animation is finished. BUG=151111,152751 Review URL: https://chromiumcodereview.appspot.com/11054005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159822 0039d316-1c4b-4281-b951-d872f2087c98
* Reland - cros: Add CHECK for screen unlock problemjamescook@chromium.org2012-10-024-21/+30
| | | | | | | | | | | | | | | | | | | | | | | On some devices when you unlock the screen after suspend the launcher and desktop windows do not appear. I suspect the background widget is not being reparented properly but I cannot reproduce the problem internally. Since the user can't recover from this state without rebooting, add some CHECKs to try to track down the source. Also initialize empty wallpaper if we're running tests, as we previously skipped it which would cause my CHECKs to be hit. BUG=149043 TEST=ScreenLockerTest and manual, lock screen with Ctrl-Shift-L, unlock by entering password Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158846 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=159154 Review URL: https://chromiumcodereview.appspot.com/10982035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159636 0039d316-1c4b-4281-b951-d872f2087c98
* Make DesktopBackgroundWidgetController derivative from views::WidgetObserver ↵dpolukhin@chromium.org2012-09-285-56/+10
| | | | | | | | | | | | to track widget lifetime BUG=144047 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10987069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159221 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 158846 - cros: Add CHECK for screen unlock problemjamescook@chromium.org2012-09-272-12/+0
| | | | | | | | | | | | | | | | | | | | | | On some devices when you unlock the screen after suspend the launcher and desktop windows do not appear. I suspect the background widget is not being reparented properly but I cannot reproduce the problem internally. Since the user can't recover from this state without rebooting, add some CHECKs to try to track down the source. Also initialize empty wallpaper if we're running tests, as we previously skipped it which would cause my CHECKs to be hit. BUG=149043 TEST=ScreenLockerTest and manual, lock screen with Ctrl-Shift-L, unlock by entering password Review URL: https://chromiumcodereview.appspot.com/10982035 TBR=jamescook@chromium.org Review URL: https://codereview.chromium.org/10996055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159154 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in MigrateBuiltInWallpaperbshe@chromium.org2012-09-271-0/+1
| | | | | | | | | | | This CL should fix crash that cause by updating from an official build to non official build. In which case, we may try to access an invalid resources id. As described in 152224, there maybe some other case cause the crash. I will keep investigating. BUG=152224 Review URL: https://chromiumcodereview.appspot.com/10981038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159089 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Add CHECK for screen unlock problemjamescook@chromium.org2012-09-262-0/+12
| | | | | | | | | | | | | | | | | | | On some devices when you unlock the screen after suspend the launcher and desktop windows do not appear. I suspect the background widget is not being reparented properly but I cannot reproduce the problem internally. Since the user can't recover from this state without rebooting, add some CHECKs to try to track down the source. Also initialize empty wallpaper if we're running tests, as we previously skipped it which would cause my CHECKs to be hit. BUG=149043 TEST=ScreenLockerTest and manual, lock screen with Ctrl-Shift-L, unlock by entering password Review URL: https://chromiumcodereview.appspot.com/10982035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158846 0039d316-1c4b-4281-b951-d872f2087c98
* Change guest wallpaper to IDR_AURA_WALLPAPERS_2_LANDSCAPE7.saintlou@chromium.org2012-09-211-1/+1
| | | | | | | | | TBR=sky BUG=151578 Review URL: https://codereview.chromium.org/10961049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158061 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-132-2/+0
| | | | | | | | | | | | | 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-132-0/+2
| | | | | | | | | | 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-132-2/+0
| | | | | | | | | 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
* Fix leaks in ash_unittestsoshima@chromium.org2012-09-101-9/+13
| | | | | | | | | | | | also suppressed leaks in non chrome component plus a couple of cleanups (eliminated unused code/variables) BUG=144990,146947 TEST=valgrind reports no leak on ash_unittests Review URL: https://chromiumcodereview.appspot.com/10907101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155819 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land 154611: Forget about DesktopBackgroundView if it was deleteddpolukhin@chromium.org2012-09-045-4/+63
| | | | | | | | | | | | Original codereview: https://chromiumcodereview.appspot.com/10898007/ BUG=144047, 145595 TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/10909050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154728 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154611 - "Forget about DesktopBackgroundView if it was deleted"mnissler@chromium.org2012-09-015-60/+0
| | | | | | | | | | | | It failed to compile on the waterfall on various bots. BUG=None TEST=None TBR=antrim@chromium.org Review URL: https://chromiumcodereview.appspot.com/10915046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154612 0039d316-1c4b-4281-b951-d872f2087c98
* Forget about DesktopBackgroundView if it was deletedantrim@chromium.org2012-09-015-0/+60
| | | | | | | | BUG=144047, 145595 Review URL: https://chromiumcodereview.appspot.com/10898007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154611 0039d316-1c4b-4281-b951-d872f2087c98
* Resize and save custom wallpaper to large and small size if original ↵bshe@chromium.org2012-08-302-4/+16
| | | | | | | | | | | | | | | | | | wallpaper is large. This CL resizes user custom wallpaper if the size of wallpaper is large. 1) If size > 1366x800, scale and save a small (closest resolution to 1366x800) verison of custom wallpaper without changing aspect ratio. 2) If size > 2560x1700, scale and save a large (closest resolution to 2560x1700) verison of custom wallpaper without changing aspect ratio. BUG=144244 Review URL: https://chromiumcodereview.appspot.com/10883062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154288 0039d316-1c4b-4281-b951-d872f2087c98
* Convert built-in wallpaper in chrome binary to local files in disk.bshe@chromium.org2012-08-242-16/+16
| | | | | | | | | | | | | | | | | | This CL does the following: 1. Rename experimental wallpaper flag to new wallpaper flag. 2. When user turned on new wallpaper flag: a) if the user is using a build in wallpaper, copy that wallpaper to local disk. Then save the information to a new wallpaper pref in local state. b) if the user is using a custom wallpaper, save information to a new wallpaper pref in local state. 3. Make GetAppropriateResolution in desktop background controller public so we can use it when converting 4. Added a new wallpaper type ONLINE, for all wallpapers which downloaded from gstatic. BUG=141427 Review URL: https://chromiumcodereview.appspot.com/10824408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153269 0039d316-1c4b-4281-b951-d872f2087c98
* The way that ImageSkia::empty has been implemented, it is equivalent to ↵pkotwicz@chromium.org2012-08-221-1/+1
| | | | | | | | | | | | | | ImageSkia::isNull. Replaced all instances of ImageSkia::empty with ImageSkia::isNull Removed ImageSkia::extractSubset, and replaced calls to use ImageSkiaOperations::ExtractSubset instead BUG=None Test=Compiles, try bots pass. Review URL: https://chromiumcodereview.appspot.com/10824359 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152731 0039d316-1c4b-4281-b951-d872f2087c98
* Send NOTIFICATION_WALLPAPER_ANIMATION_FINISHED for solid backgrounddpolukhin@chromium.org2012-08-173-0/+15
| | | | | | | | | BUG=143346 TEST=set index of wallpaper image to -2 in Local State and run chrome with --login_manager Review URL: https://chromiumcodereview.appspot.com/10832340 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152079 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Avoid implicit conversion from ImageSkia into SkBitmap.sadrul@chromium.org2012-08-162-7/+7
| | | | | | | | BUG=141146 Review URL: https://chromiumcodereview.appspot.com/10827368 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151902 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile error on clangbshe@chromium.org2012-08-152-1/+4
| | | | | | | | | BUG= TBR=jhorwich Review URL: https://chromiumcodereview.appspot.com/10829347 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151751 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak on Chromium OS Heapcheck and Chromium OS (valgrind)bshe@chromium.org2012-08-154-9/+26
| | | | | | | | | | | | | | | | | | | | | Memcheck:Leak fun:_Znw* fun:_ZN3ash27DesktopBackgroundController16InstallComponentEPN4aura10RootWindowE fun:_ZN3ash27DesktopBackgroundController29InstallComponentForAllWindowsEv fun:_ZN3ash27DesktopBackgroundController29SetDesktopBackgroundImageModeEv fun:_ZN3ash27DesktopBackgroundController20CreateEmptyWallpaperEv fun:_ZN3ash12_GLOBAL__N_126DummyUserWallpaperDelegate19InitializeWallpaperEv fun:_ZN3ash5Shell4InitEv fun:_ZN3ash5Shell14CreateInstanceEPNS_13ShellDelegateE fun:_ZN3ash4test11AshTestBase5SetUpEv http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%284%29/builds/12953 BUG=141563, 141676, 142042 Review URL: https://chromiumcodereview.appspot.com/10854153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151746 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "Fix white flash when user signs out and fix wallpaper animation ↵bshe@chromium.org2012-08-144-48/+70
| | | | | | | | | | | | | | | | | | | regression" This CL reland CL http://codereview.chromium.org/10827284/. Previous CL was failed on some interactive ui tests. " When user signs out and transit to the login screen, the wallpaper fade in from a white screen. Described in 141563, this Cl fixed it. Also, after user login, or switch users at login screen. when wallpaper change, the new wallpaper should fade in nicely. There is a regression in recent builds. This fix fixed the regression as well. " BUG=141563, 141676, 142042 TBR=nkostylev, sky Review URL: https://chromiumcodereview.appspot.com/10834308 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151548 0039d316-1c4b-4281-b951-d872f2087c98
* Replace views::MouseEvent with ui::MouseEventben@chromium.org2012-08-142-2/+2
| | | | | | | | http://crbug/com/125937 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10832282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151418 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 151393 - Fix white flash when user signs out and fix wallpaper ↵simonmorris@chromium.org2012-08-144-59/+41
| | | | | | | | | | | | | | | | animation regression When user signs out and transit to the login screen, the wallpaper fade in from a white screen. Described in 141563, this Cl fixed it. Also, after user login, or switch users at login screen. when wallpaper change, the new wallpaper should fade in nicely. There is a regression in recent builds. This fix fixed the regression as well. BUG=141563, 141676, 142042 Review URL: https://chromiumcodereview.appspot.com/10827284 TBR=bshe@chromium.org Review URL: https://chromiumcodereview.appspot.com/10854136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151398 0039d316-1c4b-4281-b951-d872f2087c98
* Fix white flash when user signs out and fix wallpaper animation regressionbshe@chromium.org2012-08-134-41/+59
| | | | | | | | | | | When user signs out and transit to the login screen, the wallpaper fade in from a white screen. Described in 141563, this Cl fixed it. Also, after user login, or switch users at login screen. when wallpaper change, the new wallpaper should fade in nicely. There is a regression in recent builds. This fix fixed the regression as well. BUG=141563, 141676, 142042 Review URL: https://chromiumcodereview.appspot.com/10827284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151393 0039d316-1c4b-4281-b951-d872f2087c98
* Reland " Preload default wallpaper."bshe@chromium.org2012-08-092-9/+34
| | | | | | | | | | | | | | Original CL http://codereview.chromium.org/10827154/ was failed on linux_chromeos. This CL fixed the test. Preload default wallpaper. BUG=139929 TBR=nkostylev, sky Review URL: https://chromiumcodereview.appspot.com/10827247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150885 0039d316-1c4b-4281-b951-d872f2087c98
* Move Ash wallpapers into a separate grd/pak file to avoid duplicationbenrg@chromium.org2012-08-091-1/+1
| | | | | | | | | | BUG=141467 TEST=Local Linux build, try changing wallpaper TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10855059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150745 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 150726 - Preload default wallpaper.jeremya@chromium.org2012-08-092-34/+9
| | | | | | | | | | | | BUG=139929 Review URL: https://chromiumcodereview.appspot.com/10827154 TBR=bshe@chromium.org Review URL: https://chromiumcodereview.appspot.com/10854061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150740 0039d316-1c4b-4281-b951-d872f2087c98
* Preload default wallpaper.bshe@chromium.org2012-08-092-9/+34
| | | | | | | | | BUG=139929 Review URL: https://chromiumcodereview.appspot.com/10827154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150726 0039d316-1c4b-4281-b951-d872f2087c98