summaryrefslogtreecommitdiffstats
path: root/ash/desktop_background
Commit message (Collapse)AuthorAgeFilesLines
* Add Extended Desktop mode behind --ash-extended-desktop flag.oshima@chromium.org2012-06-151-23/+38
| | | | | | | | | | | | A lot of stuff still doesn't work but you can create and use a window on 2nd display. MonitorController now owns all root windows. BUG=123160 TEST=see http://codereview.chromium.org/10536187/ Review URL: https://chromiumcodereview.appspot.com/10535149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142350 0039d316-1c4b-4281-b951-d872f2087c98
* Remove root_window_ member from DesktopBackgroundController.oshima@chromium.org2012-06-122-17/+17
| | | | | | | | | | | | This will be changed to set the wallpaper on all root windows. BUG=123160 TEST=none Review URL: https://chromiumcodereview.appspot.com/10545142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141777 0039d316-1c4b-4281-b951-d872f2087c98
* Use a #fefefe solid color wallpaper background before user login for GAIA ↵bshe@chromium.org2012-06-124-8/+21
| | | | | | | | | | | | | login flow. BUG=130635 TEST= Enable new OOBE login from about:flags and relaunch browser, in the loggin screen, the background color should be white (#FEFEFE). Review URL: https://chromiumcodereview.appspot.com/10492003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141596 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Use transparent widget when wallpaper is empty.reveman@chromium.org2012-06-111-0/+2
| | | | | | | | | | BUG=129787 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10465004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141521 0039d316-1c4b-4281-b951-d872f2087c98
* Rename DrawBitmapInt to DrawImageIntpkotwicz@chromium.org2012-06-071-3/+3
| | | | | | | | | | | Bug=None Test=Compiles Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140877 Review URL: https://chromiumcodereview.appspot.com/10512021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141002 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140877 - Rename DrawBitmapInt to DrawImageIntpkotwicz@chromium.org2012-06-061-3/+3
| | | | | | | | | | | | Bug=None Test=Compiles Review URL: https://chromiumcodereview.appspot.com/10512021 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10546037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140882 0039d316-1c4b-4281-b951-d872f2087c98
* Rename DrawBitmapInt to DrawImageIntpkotwicz@chromium.org2012-06-061-3/+3
| | | | | | | | | Bug=None Test=Compiles Review URL: https://chromiumcodereview.appspot.com/10512021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140877 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "Load user custom wallpaper after browser crash"bshe@chromium.org2012-06-042-27/+18
| | | | | | | | | | | | | | | | | | | Reland issue 10459003. It got reverted because of aura shell unittests failing. TBR=nkostylev@chromium.org, sky@chromium.org, jhawkins@chromium.org BUG=129810 TEST= 1. Login 2. Set custom wallpaper for desktop background 3. Trigger a chrome crash (about://inducebrowsercrashforrealz) 4. Observe the desktop wallpaper 5. Go to "Set wallpaper" settings dialog and look for the custom added wallpaper thumbnail Verify that custom wallpaper restored after chrome crash. Review URL: https://chromiumcodereview.appspot.com/10518003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140343 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140312 - Load user custom wallpaper after browser crash.acolwell@chromium.org2012-06-042-10/+19
| | | | | | | | | | | | | | | | | | | | BUG=129810 TEST= 1. Login 2. Set custom wallpaper for desktop background 3. Trigger a chrome crash (about://inducebrowsercrashforrealz) 4. Observe the desktop wallpaper 5. Go to "Set wallpaper" settings dialog and look for the custom added wallpaper thumbnail Verify that custom wallpaper restored after chrome crash. Review URL: https://chromiumcodereview.appspot.com/10459003 TBR=bshe@chromium.org Review URL: https://chromiumcodereview.appspot.com/10511014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140329 0039d316-1c4b-4281-b951-d872f2087c98
* Load user custom wallpaper after browser crash.bshe@chromium.org2012-06-042-19/+10
| | | | | | | | | | | | | | | | | BUG=129810 TEST= 1. Login 2. Set custom wallpaper for desktop background 3. Trigger a chrome crash (about://inducebrowsercrashforrealz) 4. Observe the desktop wallpaper 5. Go to "Set wallpaper" settings dialog and look for the custom added wallpaper thumbnail Verify that custom wallpaper restored after chrome crash. Review URL: https://chromiumcodereview.appspot.com/10459003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140312 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency to specific root window in desktop background classesoshima@chromium.org2012-06-013-24/+44
| | | | | | | | | BUG=123160 TEST=no functional change. all tests should pass. Review URL: https://chromiumcodereview.appspot.com/10453108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139948 0039d316-1c4b-4281-b951-d872f2087c98
* Convert ash and chromeos parts of chrome/ to ImageSkiapkotwicz@chromium.org2012-05-316-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used same conversion script as 10437006 Changed by hand afterwards: 1 ash/shell/app_list.cc 2 ash/shell/content_client/shell_content_browser_client.h 3 ash/shell/window_watcher.cc 4 ash/system/tray/tray_views.h 5 ash/system/user/tray_user.cc 6 ash/test/test_launcher_delegate.cc 7 ash/wm/frame_painter.cc 8 ash/wm/image_grid_unittest.cc 9 chrome/browser/chrome_content_browser_client.cc 10 chrome/browser/chrome_content_browser_client.h 11 chrome/browser/chromeos/extensions/file_manager_util.cc 12 chrome/browser/chromeos/login/message_bubble.h 13 chrome/browser/chromeos/login/take_photo_view.cc 14 chrome/browser/chromeos/login/take_photo_view.h 15 chrome/browser/chromeos/login/user.h 16 chrome/browser/chromeos/login/user_image_screen.cc 17 chrome/browser/chromeos/login/user_image_screen_actor.h 18 chrome/browser/chromeos/login/webui_login_view.cc 19 chrome/browser/chromeos/options/take_photo_dialog.cc 20 chrome/browser/chromeos/status/data_promo_notification.cc 21 chrome/browser/chromeos/status/network_menu_icon.cc 22 chrome/browser/chromeos/status/network_menu_icon.h 23 chrome/browser/chromeos/status/network_menu_icon_unittest.cc 24 chrome/browser/debugger/devtools_window.cc 25 chrome/browser/favicon/favicon_handler.cc 26 chrome/browser/favicon/favicon_tab_helper.cc 27 chrome/browser/instant/instant_loader.cc 28 chrome/browser/ui/toolbar/back_forward_menu_model.cc 29 chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc 30 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc 31 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h 32 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc 33 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.h 34 chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h 35 chrome/browser/ui/webui/options2/chromeos/user_image_source2.cc 36 chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc 37 content/browser/mock_content_browser_client.cc 38 content/browser/mock_content_browser_client.h 39 content/public/browser/content_browser_client.h 40 content/public/browser/favicon_status.cc 41 content/public/browser/favicon_status.h 42 content/shell/shell_content_browser_client.cc 43 content/shell/shell_content_browser_client.h 44 ui/views/examples/content_client/examples_content_browser_client.cc 45 ui/views/examples/content_client/examples_content_browser_client.h Fixed headers and spacing 1 ash/desktop_background/desktop_background_controller.cc 2 ash/desktop_background/desktop_background_controller.h 3 ash/desktop_background/desktop_background_resources.cc 4 ash/desktop_background/desktop_background_resources.h 5 ash/shell.h 6 ash/shell_factory.h 7 ash/system/tray/system_tray_delegate.h 8 ash/wm/frame_painter.h 9 chrome/browser/chromeos/login/default_user_images.h 10 chrome/browser/chromeos/status/network_menu.cc Test=Compiles Bug=124566 Review URL: https://chromiumcodereview.appspot.com/10443062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139802 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 139776 - Convert ash and chromeos parts of chrome/ to ImageSkiapkotwicz@chromium.org2012-05-316-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used same conversion script as 10437006 Changed by hand afterwards: 1 ash/shell/app_list.cc 2 ash/shell/content_client/shell_content_browser_client.h 3 ash/shell/window_watcher.cc 4 ash/system/tray/tray_views.h 5 ash/system/user/tray_user.cc 6 ash/test/test_launcher_delegate.cc 7 ash/wm/frame_painter.cc 8 ash/wm/image_grid_unittest.cc 9 chrome/browser/chrome_content_browser_client.cc 10 chrome/browser/chrome_content_browser_client.h 11 chrome/browser/chromeos/extensions/file_manager_util.cc 12 chrome/browser/chromeos/login/message_bubble.h 13 chrome/browser/chromeos/login/take_photo_view.cc 14 chrome/browser/chromeos/login/take_photo_view.h 15 chrome/browser/chromeos/login/user.h 16 chrome/browser/chromeos/login/user_image_screen.cc 17 chrome/browser/chromeos/login/user_image_screen_actor.h 18 chrome/browser/chromeos/login/webui_login_view.cc 19 chrome/browser/chromeos/options/take_photo_dialog.cc 20 chrome/browser/chromeos/status/data_promo_notification.cc 21 chrome/browser/chromeos/status/network_menu_icon.cc 22 chrome/browser/chromeos/status/network_menu_icon.h 23 chrome/browser/chromeos/status/network_menu_icon_unittest.cc 24 chrome/browser/debugger/devtools_window.cc 25 chrome/browser/favicon/favicon_handler.cc 26 chrome/browser/favicon/favicon_tab_helper.cc 27 chrome/browser/instant/instant_loader.cc 28 chrome/browser/ui/toolbar/back_forward_menu_model.cc 29 chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc 30 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc 31 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h 32 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc 33 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.h 34 chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h 35 chrome/browser/ui/webui/options2/chromeos/user_image_source2.cc 36 chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc 37 content/browser/mock_content_browser_client.cc 38 content/browser/mock_content_browser_client.h 39 content/public/browser/content_browser_client.h 40 content/public/browser/favicon_status.cc 41 content/public/browser/favicon_status.h 42 content/shell/shell_content_browser_client.cc 43 content/shell/shell_content_browser_client.h 44 ui/views/examples/content_client/examples_content_browser_client.cc 45 ui/views/examples/content_client/examples_content_browser_client.h Fixed headers and spacing 1 ash/desktop_background/desktop_background_controller.cc 2 ash/desktop_background/desktop_background_controller.h 3 ash/desktop_background/desktop_background_resources.cc 4 ash/desktop_background/desktop_background_resources.h 5 ash/shell.h 6 ash/shell_factory.h 7 ash/system/tray/system_tray_delegate.h 8 ash/wm/frame_painter.h 9 chrome/browser/chromeos/login/default_user_images.h 10 chrome/browser/chromeos/status/network_menu.cc Test=Compiles Bug=124566 Review URL: https://chromiumcodereview.appspot.com/10443062 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10456054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139778 0039d316-1c4b-4281-b951-d872f2087c98
* Convert ash and chromeos parts of chrome/ to ImageSkiapkotwicz@chromium.org2012-05-316-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used same conversion script as 10437006 Changed by hand afterwards: 1 ash/shell/app_list.cc 2 ash/shell/content_client/shell_content_browser_client.h 3 ash/shell/window_watcher.cc 4 ash/system/tray/tray_views.h 5 ash/system/user/tray_user.cc 6 ash/test/test_launcher_delegate.cc 7 ash/wm/frame_painter.cc 8 ash/wm/image_grid_unittest.cc 9 chrome/browser/chrome_content_browser_client.cc 10 chrome/browser/chrome_content_browser_client.h 11 chrome/browser/chromeos/extensions/file_manager_util.cc 12 chrome/browser/chromeos/login/message_bubble.h 13 chrome/browser/chromeos/login/take_photo_view.cc 14 chrome/browser/chromeos/login/take_photo_view.h 15 chrome/browser/chromeos/login/user.h 16 chrome/browser/chromeos/login/user_image_screen.cc 17 chrome/browser/chromeos/login/user_image_screen_actor.h 18 chrome/browser/chromeos/login/webui_login_view.cc 19 chrome/browser/chromeos/options/take_photo_dialog.cc 20 chrome/browser/chromeos/status/data_promo_notification.cc 21 chrome/browser/chromeos/status/network_menu_icon.cc 22 chrome/browser/chromeos/status/network_menu_icon.h 23 chrome/browser/chromeos/status/network_menu_icon_unittest.cc 24 chrome/browser/debugger/devtools_window.cc 25 chrome/browser/favicon/favicon_handler.cc 26 chrome/browser/favicon/favicon_tab_helper.cc 27 chrome/browser/instant/instant_loader.cc 28 chrome/browser/ui/toolbar/back_forward_menu_model.cc 29 chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc 30 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc 31 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h 32 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc 33 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.h 34 chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h 35 chrome/browser/ui/webui/options2/chromeos/user_image_source2.cc 36 chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc 37 content/browser/mock_content_browser_client.cc 38 content/browser/mock_content_browser_client.h 39 content/public/browser/content_browser_client.h 40 content/public/browser/favicon_status.cc 41 content/public/browser/favicon_status.h 42 content/shell/shell_content_browser_client.cc 43 content/shell/shell_content_browser_client.h 44 ui/views/examples/content_client/examples_content_browser_client.cc 45 ui/views/examples/content_client/examples_content_browser_client.h Fixed headers and spacing 1 ash/desktop_background/desktop_background_controller.cc 2 ash/desktop_background/desktop_background_controller.h 3 ash/desktop_background/desktop_background_resources.cc 4 ash/desktop_background/desktop_background_resources.h 5 ash/shell.h 6 ash/shell_factory.h 7 ash/system/tray/system_tray_delegate.h 8 ash/wm/frame_painter.h 9 chrome/browser/chromeos/login/default_user_images.h 10 chrome/browser/chromeos/status/network_menu.cc Test=Compiles Bug=124566 Review URL: https://chromiumcodereview.appspot.com/10443062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139776 0039d316-1c4b-4281-b951-d872f2087c98
* Implement user selected wallpaper feature.bshe@chromium.org2012-05-155-30/+45
| | | | | | | | | | BUG=123612, 122791 TEST=Verify if custom wallpaper is supported Review URL: https://chromiumcodereview.appspot.com/10375010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137258 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "Implement random wallpaper feature"bshe@chromium.org2012-05-092-0/+9
| | | | | | | | | | | | | | | | | | CL 10302016 reverted because of failed testes on linux chromeos bot. The reason was a DCHECK fail. I have fixed the fails in CL 10382072. So reland the random wallpaper feature here. TBR=nikita,ben,jhawkins BUG=120217 TEST=Go to set wallpaper overlay in settings page, check the "I'm feeling lucky" checkbox. Sign out and sign in a couple of times, verify if the wallpaper is random. Review URL: https://chromiumcodereview.appspot.com/10384079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136044 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135862 - Implement random wallpaper featurebshe@chromium.org2012-05-082-9/+0
| | | | | | | | | | | | | | BUG=120217 TEST=Go to set wallpaper overlay in settings page, check the "I'm feeling lucky" checkbox. Sign out and sign in a couple of times, verify if the wallpaper is random. Review URL: https://chromiumcodereview.appspot.com/10302016 TBR=bshe@chromium.org Review URL: https://chromiumcodereview.appspot.com/10389024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135871 0039d316-1c4b-4281-b951-d872f2087c98
* Implement random wallpaper featurebshe@chromium.org2012-05-082-0/+9
| | | | | | | | | | | BUG=120217 TEST=Go to set wallpaper overlay in settings page, check the "I'm feeling lucky" checkbox. Sign out and sign in a couple of times, verify if the wallpaper is random. Review URL: https://chromiumcodereview.appspot.com/10302016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135862 0039d316-1c4b-4281-b951-d872f2087c98
* Asynchronously load wallpapers when user pod is selected.bshe@chromium.org2012-05-074-23/+165
| | | | | | | | | | | | | | | | | On Alex device, loading wallpaper almost takes 1 second to complete and it blocking UI thread and increase the login time. This CL load wallpapers in worker pool to unblock Main UI thread and reduce the login time. Also, issue 124339 wants to display wallpaper in login screen when user pod is selected. This CL refactored some wallpaper code and hooked up user pod selection to wallpaper change to support it. BUG=122855 TEST= Review URL: http://codereview.chromium.org/10207030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135641 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move compositor/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-052-5/+5
| | | | | | | | | | 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
* Fix wallpaper not paint (white screen) problem after restore from browser crash.bshe@chromium.org2012-04-271-0/+4
| | | | | | | | | | | | | | | | This CL move the wallpaper widget initialization to right after a OnWindowResized call in shell.cc, so the widget can get correct bounds size and animate. BUG=125084 TEST=On a chromebook, open a browser and go to about:inducebrowsercrashforrealz to trigger a browser crash. After browser restore, verify the wallpaper also restored, instead of a white background. Review URL: http://codereview.chromium.org/10233022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134310 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "Fix wallpaper fade animation flashing problem"bshe@chromium.org2012-04-242-8/+41
| | | | | | | | | | | | | | Issue 10146016 was the original issue. It failed on linux_chromeos. TBR=ben,flackr BUG=118651 TEST= Review URL: http://codereview.chromium.org/10205013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133715 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the index mapping of wallpaper picker UI and hard coded wallpaper ↵bshe@chromium.org2012-04-242-7/+6
| | | | | | | | | | | | | | | | index in C++ In this CL, we replace the old index system with a smarter one. Its basically the same index system used for default user profile images. BUG=124035 TEST= Review URL: http://codereview.chromium.org/10021066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133602 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 133468 - Fix wallpaper fade animation flashing problem.vollick@google.com2012-04-232-40/+8
| | | | | | | | | | | | | | | | | | | | | | | | | This CL fix the wallpaper fade animation problem. The problem was when user switched to a new wallpaper, it seems there is a white flashing before new wallpaper fade in. The reason was I started the hide animation before loading new wallpaper. And it took around 300ms to load while the animation finished around 200ms. So there is 100ms period where the background color (white) showed up. I delayed the hide animation, but then another problem showed up. Now the show and hide animation happened at the same time. At some point in the animation, the background color will have 25% opacity and it also cause a flashing. To fix all, this CL only animate on Show new wallpaper and delete the old widget after the Show animation completed. BUG=118651 TEST=Change wallpaper in chromeos, and verify if the animation is smooth. Review URL: http://codereview.chromium.org/10146016 TBR=bshe@chromium.org Review URL: https://chromiumcodereview.appspot.com/10184012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133514 0039d316-1c4b-4281-b951-d872f2087c98
* Fix wallpaper fade animation flashing problem.bshe@chromium.org2012-04-232-8/+40
| | | | | | | | | | | | | | | | | | | | | | This CL fix the wallpaper fade animation problem. The problem was when user switched to a new wallpaper, it seems there is a white flashing before new wallpaper fade in. The reason was I started the hide animation before loading new wallpaper. And it took around 300ms to load while the animation finished around 200ms. So there is 100ms period where the background color (white) showed up. I delayed the hide animation, but then another problem showed up. Now the show and hide animation happened at the same time. At some point in the animation, the background color will have 25% opacity and it also cause a flashing. To fix all, this CL only animate on Show new wallpaper and delete the old widget after the Show animation completed. BUG=118651 TEST=Change wallpaper in chromeos, and verify if the animation is smooth. Review URL: http://codereview.chromium.org/10146016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133468 0039d316-1c4b-4281-b951-d872f2087c98
* Remove "set wallpaper..." option in system context menu when guest logged inbshe@chromium.org2012-04-111-0/+4
| | | | | | | | | | BUG=120763 TEST=Log in as guest user, click right mouse button on wallpaper, there should be no "set wallpaper..." options in the popup context menu. Review URL: https://chromiumcodereview.appspot.com/9960024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131806 0039d316-1c4b-4281-b951-d872f2087c98
* Add fade in animation on background change and fix color mode change bug.bshe@chromium.org2012-04-104-34/+13
| | | | | | | | | | | | | | | | | This CL add a fade in animation on aura desktop background change. It doesn't handle situations where user quickly switch between serveral wallpapers through. It also fixed a bug which prevent user from switch background color mode back and force. BUG=117244, 118651 TEST=Navigate to settings page, click "Set wallpaper..." button, select different wallpapers, verify if there is a fade in animation on wallpaper switching. Review URL: http://codereview.chromium.org/9716025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131626 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the attribution and link for wallpaper.saintlou@chromium.org2012-03-301-2/+2
| | | | | | | | | | | NOTE: will need to be fixed in R19 too. BUG=121216 TEST=none Review URL: https://chromiumcodereview.appspot.com/9965040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129989 0039d316-1c4b-4281-b951-d872f2087c98
* Set default wallpaper.saintlou@chromium.org2012-03-281-8/+3
| | | | | | | | | BUG=120570 TEST=none Review URL: https://chromiumcodereview.appspot.com/9844010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129311 0039d316-1c4b-4281-b951-d872f2087c98
* Add "Change Wallpaper..." option in system ContextMenubshe@chromium.org2012-03-241-1/+4
| | | | | | | | | | BUG=118705 TEST=Right click on background, select "change wallpaper", the browser should go to change wallpaper settings page. Review URL: https://chromiumcodereview.appspot.com/9836077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128750 0039d316-1c4b-4281-b951-d872f2087c98
* Undo Revert 128667 - didn't fix 20% size regression on winrbyers@chromium.org2012-03-241-446/+106
| | | | | | | | | | | | | | | | | | Added "final" assets. Will remove the old ones in a later CL. TBR=ben@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9836076 TBR=saintlou@chromium.org Review URL: https://chromiumcodereview.appspot.com/9852006 TBR=nduca@google.com Review URL: https://chromiumcodereview.appspot.com/9808099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128733 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 128667 due to 20% size regression on win clobbernduca@google.com2012-03-241-106/+446
| | | | | | | | | | | | | | | Added "final" assets. Will remove the old ones in a later CL. TBR=ben@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9836076 TBR=saintlou@chromium.org Review URL: https://chromiumcodereview.appspot.com/9852006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128732 0039d316-1c4b-4281-b951-d872f2087c98
* Added "final" assets. Will remove the old ones in a later CL.saintlou@chromium.org2012-03-241-446/+106
| | | | | | | | | | TBR=ben@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9836076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128667 0039d316-1c4b-4281-b951-d872f2087c98
* ash::STRETCH fix requested by saintlou (see bug)benrg@chromium.org2012-03-241-6/+3
| | | | | | | | | | BUG=119777 TEST=manual Review URL: http://codereview.chromium.org/9834058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128637 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed GetIncognitoWallpaperIndex() to GetGuestWallpaperIndex().saintlou@chromium.org2012-03-242-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9836068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128626 0039d316-1c4b-4281-b951-d872f2087c98
* Added method to retrieve non-random incognito wallpaper.saintlou@chromium.org2012-03-242-0/+10
| | | | | | | | | | TBR=ben@chromium.org (for OWNERS on non-ash file). BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9808095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128618 0039d316-1c4b-4281-b951-d872f2087c98
* A random wallpaper will be picked when building Chrome, but nor Chromium.saintlou@chromium.org2012-03-231-0/+12
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9839076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128605 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
* Add image layout parameter for wallpaperbshe@chromium.org2012-03-236-19/+206
| | | | | | | | | | | +emmanuel's patch: add some new resources and paint background with specified layout. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/9808045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128474 0039d316-1c4b-4281-b951-d872f2087c98
* Restore to user selected wallpaper after browser crashbshe@chromium.org2012-03-222-26/+13
| | | | | | | | | | | | | | | After browser crash, the wallpaper was reverted to the default wallpaper. This CL fix the bug. BUG=118751 TEST=Test on any chromeos device select a wallpaper different than the default one go to about:inducebrowsercrashforrealz, the browser will crash and restart verify if the wallpaper reverted to the default wallpaper after restart. Review URL: https://chromiumcodereview.appspot.com/9764012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128232 0039d316-1c4b-4281-b951-d872f2087c98
* Display selected wallpaper attributions in the bottom bar of select ↵bshe@chromium.org2012-03-202-72/+79
| | | | | | | | | | | | | | wallpaper overlay It also include a few UI tweaks for the overlay page. The mocks is available here: http://folder/kuscher/projects/Chrome_OS/Settings/wallpaper/wallpaperv4.png&f BUG=105508, 118708 TEST=Go to settings page, click on "Set Wallpaper.." button, select any image, verify if the image attributions (author and website) displayed in the bottom left area. Review URL: https://chromiumcodereview.appspot.com/9702102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127689 0039d316-1c4b-4281-b951-d872f2087c98
* Change default wallpaper to grass picture.bshe@chromium.org2012-03-161-6/+6
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9717005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127286 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing wallpaper resources and make sure we tile the gradients.saintlou@chromium.org2012-03-152-28/+397
| | | | | | | | | BUG=105508 TEST=none Review URL: https://chromiumcodereview.appspot.com/9699093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127014 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes component build.sky@chromium.org2012-03-151-4/+6
| | | | | | | | | | | BUG=none TEST=none R=bshe@chromium.org TBR=bshe@chromium.org Review URL: https://chromiumcodereview.appspot.com/9706065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126937 0039d316-1c4b-4281-b951-d872f2087c98
* Retry landing "Enable users change desktop background image from settings ↵bshe@chromium.org2012-03-156-7/+246
| | | | | | | | | | | | | | | | | | | page in Chromeos Aura build" Enable user change background image in settings page in Aura build. Only support change between default background images currently. This is a second try to land, last time it fails on win_aura build. The original CL is here: http://codereview.chromium.org/9580023/ TBR=flackr,ben,jhawkins BUG=105508 TEST=Go to settings page and click "set wallpaper" button to change background image. Review URL: https://chromiumcodereview.appspot.com/9703031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126923 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 126319 - Enable user change background image in settings page in Aura ↵sky@chromium.org2012-03-136-246/+7
| | | | | | | | | | | | | | | | | | build. Only support change between default background images currently. Need more refactor work on code. BUG=105508 TEST= Review URL: http://codereview.chromium.org/9580023 TBR=bshe@chromium.org Review URL: https://chromiumcodereview.appspot.com/9695033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126328 0039d316-1c4b-4281-b951-d872f2087c98
* Enable user change background image in settings page in Aura build.bshe@chromium.org2012-03-136-7/+246
| | | | | | | | | | | | | Only support change between default background images currently. Need more refactor work on code. BUG=105508 TEST= Review URL: http://codereview.chromium.org/9580023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126319 0039d316-1c4b-4281-b951-d872f2087c98
* Switching back the backgroung to JPG.saintlou@chromium.org2012-03-021-3/+2
| | | | | | | | | | | After this is landed I will remove ui/resources/aura/wallpaper.png in CL 9566044. BUG=105508 TEST=none Review URL: https://chromiumcodereview.appspot.com/9567037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124670 0039d316-1c4b-4281-b951-d872f2087c98
* Change Aura desktop background behavior.saintlou@chromium.org2012-03-011-4/+44
| | | | | | | | | BUG=116298 TEST=none Review URL: http://codereview.chromium.org/9557001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124424 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Change Aura desktop background behavior."saintlou@chromium.org2012-03-011-39/+4
| | | | | | | | | | | | This reverts commit 7fdf4eb7cd05b725d246ef8be99eb43784ed5ad3. R=saintlou@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9549024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124326 0039d316-1c4b-4281-b951-d872f2087c98