summaryrefslogtreecommitdiffstats
path: root/ash
Commit message (Collapse)AuthorAgeFilesLines
* Makes multi window resizer use the fade animation style.sky@chromium.org2012-03-211-0/+4
| | | | | | | | | | | BUG=none TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9734003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127860 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r127841: "Defer creating launcher until after login."derat@chromium.org2012-03-2111-87/+47
| | | | | | | | | | | | | This reverts r127841, which is causing crashes on session restore in Chrome OS tests. BUG=118129,118945 TEST=builds TBR=ben Review URL: https://chromiumcodereview.appspot.com/9794011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127859 0039d316-1c4b-4281-b951-d872f2087c98
* * MultiMonitorManager creates and manages mutliple monitor instanceoshima@chromium.org2012-03-2110-19/+385
| | | | | | | | | | | | | * MonitorContrler controls root window <-> monitor mapping and resize/reposition root window to match monitor configuration. * Moved use_fullscreen_host_window to MonitorManager * Moved compositor initialize/terminate to Env as there can be more than one root window. BUG=115510 TEST=none Review URL: https://chromiumcodereview.appspot.com/9701098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127854 0039d316-1c4b-4281-b951-d872f2087c98
* ash/chromeos: Defer creating launcher until after login.derat@chromium.org2012-03-2111-47/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes several issues (blank titles in context menu, missing icons, pinned apps not getting restored) caused by launcher-related code that was initialized at startup and cached the pre-login profile. This change makes us defer initialization of the launcher until after the user has logged in when running on Chrome OS devices. To test: - Logged in on a Chrome OS device and checked that previously-pinned apps appear in the launcher and that non-component extensions have icons and titles in their context menus. - Killed the Chrome process and checked that the launcher is visible when it restarts. - Ran Chrome and ash_shell on a Linux workstation and checked that the launcher is present. BUG=118129,118945 TEST=manual: see above Review URL: https://chromiumcodereview.appspot.com/9733024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127841 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add an entry for IME in the tray.sadrul@chromium.org2012-03-208-0/+176
| | | | | | | | | | | BUG=118862 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127748 Review URL: https://chromiumcodereview.appspot.com/9751005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127823 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127790 - Re-land: Adjust window timings to match Cole's video.ben@chromium.org2012-03-203-48/+19
| | | | | | | | | | | | | | http://crbug.com/118653 TEST=none TBR=sadrul Original review: https://chromiumcodereview.appspot.com/9733003/ Review URL: https://chromiumcodereview.appspot.com/9732030 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9755015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127818 0039d316-1c4b-4281-b951-d872f2087c98
* Adding Alt+<number> accelerator keyskuhne@chromium.org2012-03-205-6/+95
| | | | | | | | | | BUG=117481 TEST=None Review URL: http://codereview.chromium.org/9677046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127805 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land: Adjust window timings to match Cole's video.ben@chromium.org2012-03-203-19/+48
| | | | | | | | | | | http://crbug.com/118653 TEST=none TBR=sadrul Original review: https://chromiumcodereview.appspot.com/9733003/ Review URL: https://chromiumcodereview.appspot.com/9732030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127790 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Make the 'connected' networks bold in the network list.sadrul@chromium.org2012-03-203-5/+14
| | | | | | | | | BUG=109480, 119115 TEST=none Review URL: https://chromiumcodereview.appspot.com/9752005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127756 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127748 because it broke tests compile.sadrul@chromium.org2012-03-208-169/+0
| | | | | | | | | | | | | | | --- ash: Add an entry for IME in the tray. BUG=118862 TEST=none Review URL: https://chromiumcodereview.appspot.com/9751005 TBR=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/9766003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127750 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add an entry for IME in the tray.sadrul@chromium.org2012-03-208-0/+169
| | | | | | | | | BUG=118862 TEST=none Review URL: https://chromiumcodereview.appspot.com/9751005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127748 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Update the date when timezone changes, and make sure the tray item ↵sadrul@chromium.org2012-03-201-0/+7
| | | | | | | | | | | resizes correctly. BUG=119091 TEST=none Review URL: https://chromiumcodereview.appspot.com/9752010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127724 0039d316-1c4b-4281-b951-d872f2087c98
* Don't clobber the clipboard when doing DnD on Aurarbyers@chromium.org2012-03-202-10/+8
| | | | | | | | | BUG=118835 TEST=Do paste after DnD of text, verify original clipboard contents unmodified Review URL: https://chromiumcodereview.appspot.com/9726001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127722 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Update the user icon in the tray when user changes it from the settings ↵sadrul@chromium.org2012-03-207-5/+52
| | | | | | | | | | | page. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9728011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127694 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Set background color of tray::DateView label properly and use ↵reveman@chromium.org2012-03-202-1/+3
| | | | | | | | | | | | gfx::Canvas::NO_SUBPIXEL_RENDERING flag when rendering title bar text to avoid artifacts when window frame is translucent. BUG=118801 TEST=Visual, text in window title bars and the system tray should be crisp Review URL: http://codereview.chromium.org/9720028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127693 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
* ash: App list UI update for M19.xiyuan@chromium.org2012-03-2010-97/+310
| | | | | | | | | | | | | | | | | | | | | | | | - Icon sizes starts from 128x128; - Choose font size and style based on icon size, use bold when font size < 14 and limit it to 12 as minimum; - Use shadow size 3 for title label; - 0.33 black hover; - Make item block size based on icon size and limit title width by using number of chars instead of pixels; - More padding to make title text feel less crowded; - Make item grid have a similar aspect ratio as its container and center it horizontally and vertically; - Update show/hide animation, chain hiding browser windows animation and app list animation instead of doing both at the same time; runs the dimming animation in parallel with them; BUG=118500 TEST=Verify fix for issue 118500 Review URL: http://codereview.chromium.org/9719010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127649 0039d316-1c4b-4281-b951-d872f2087c98
* - Set default favicon for pages w/out onedavemoore@chromium.org2012-03-203-20/+27
| | | | | | | | | | | | - Change layout a little - Use image for underbars to allow easier replacement / styling BUG=118828 TEST=None Review URL: https://chromiumcodereview.appspot.com/9732034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127632 0039d316-1c4b-4281-b951-d872f2087c98
* Makes sure that the maximize button doesn't stay painted as pressed when its notpkotwicz@chromium.org2012-03-201-0/+3
| | | | | | | | | | | When you drag outside the bounds of the maximized button to change its state to BS_NORMAL. BUG=118772 Test=Manual Review URL: http://codereview.chromium.org/9717032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127624 0039d316-1c4b-4281-b951-d872f2087c98
* Adds maximized button hotness for app framepkotwicz@chromium.org2012-03-203-15/+26
| | | | | | | | | | | | | | | | Steps to reproduce - right click on an app on the applist, and choose "open in window" - open this app - maximize the app - If you hover on the top right pixel, window controls should drop down - Maximize button should support minimizing, docking left and right. Test=Manual Bug=118687 Review URL: http://codereview.chromium.org/9717025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127623 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Use a network's service-path to uniquely identify itself.sadrul@chromium.org2012-03-202-2/+2
| | | | | | | | | | | | The unique_id() isn't set for ethernet on some systems, so use the service_path() instead to uniquely identify a network. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9732006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127611 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Update user-card when in kiosk mode.sadrul@chromium.org2012-03-203-11/+30
| | | | | | | | | | | There should only be 'Exit session'. BUG=chromium-os:28049 TEST=none Review URL: https://chromiumcodereview.appspot.com/9732024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127610 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Ash launcher favicon for incognito browsers.stevenjb@google.com2012-03-202-6/+8
| | | | | | | | | | | This also updates the icons and adds a test. BUG=118833 TEST=See issue Review URL: https://chromiumcodereview.appspot.com/9730007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127609 0039d316-1c4b-4281-b951-d872f2087c98
* Removes collapsing height while dragging logic and instead makes it sosky@chromium.org2012-03-203-317/+49
| | | | | | | | | | | | you can't drag a certain portion of the window off screen. BUG=118672 TEST=covered by unit tests R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9730020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127591 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent managed workspaces from being destroyed when the last window in them ↵ben@chromium.org2012-03-193-36/+42
| | | | | | | | | | | | | | | | is removed. This won't cause them to leak - all remaining workspaces are destroyed from WorkspaceManager's dtor. There really only ever is one managed workspace, so we won't have a proliferation. This is needed to fix the issue where minimizing the last window in the managed workspace causes another window in a maximized workspace to be activated, which feels very jarring. http://crbug.com/118750 TEST=see bug Review URL: https://chromiumcodereview.appspot.com/9733010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127569 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127530 - Adjust window timings to match Cole's video.ben@chromium.org2012-03-193-48/+19
| | | | | | | | | | | http://crbug.com/118653 TEST=none Review URL: https://chromiumcodereview.appspot.com/9733003 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9726020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127568 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust window timings to match Cole's video.ben@chromium.org2012-03-193-19/+48
| | | | | | | | http://crbug.com/118653 TEST=none Review URL: https://chromiumcodereview.appspot.com/9733003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127530 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix initial visibility of accessibility/caps-lock icons in the uber tray.sadrul@chromium.org2012-03-198-2/+36
| | | | | | | | | BUG=118859, 118861 TEST=none Review URL: https://chromiumcodereview.appspot.com/9733007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127526 0039d316-1c4b-4281-b951-d872f2087c98
* Makes sure restoring to a default window state restores the restoresky@chromium.org2012-03-192-2/+5
| | | | | | | | | | | | bounds. BUG=118699 TEST=covered by unit tests R=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/9717049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127519 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Improved resize border effectjamescook@chromium.org2012-03-196-247/+203
| | | | | | | | | | | | | | Rewrote the effect to use ImageGrid, which both simplifies the code and allows images to be used to provide nice corners. + Exposed underlying ImageGrid layers so I could animate them + Set effect layers invisible at end of hide animation to conserve render resources BUG=118729 TEST=existing unit tests, move cursor near window edges and watch handles fade in and out TBR=ben@chromium.org for ui/ .grd file Review URL: https://chromiumcodereview.appspot.com/9717022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127491 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add accessibility and caps-lock buttons in the tray.sadrul@chromium.org2012-03-1910-0/+256
| | | | | | | | | BUG=118861, 118859 TEST=none Review URL: https://chromiumcodereview.appspot.com/9720038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127485 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Make sure the tray widget is resized correctly when visibility/size of ↵sadrul@chromium.org2012-03-191-8/+54
| | | | | | | | | | | an item changes. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9720036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127483 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a delay before hiding the multi-window resize widget. Also fixessky@chromium.org2012-03-1912-35/+571
| | | | | | | | | | | | | | | | some corner cases: . Deals with windows being deleted while resize widget is up. . Wires up resizing more than two windows at the same time. . Adds tests. . Resize widget is now shown closer to mouse. BUG=118005 TEST=covered by tests. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9724025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127465 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typos in #include guards.yusukes@chromium.org2012-03-192-7/+7
| | | | | | | | | | BUG=None TEST=try Review URL: http://codereview.chromium.org/9716014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127432 0039d316-1c4b-4281-b951-d872f2087c98
* Adds system menu from views::BrowserView.pkotwicz@chromium.org2012-03-181-3/+5
| | | | | | | | | | | | | | | Mostly copying and pasting from chromeos::BrowserView Changed toplevel_window_event_filter to ignore right clicks. Bug=117096 Test=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127392 Review URL: https://chromiumcodereview.appspot.com/9646005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127409 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127392 - Adds system menu from views::BrowserView.pkotwicz@chromium.org2012-03-181-5/+3
| | | | | | | | | | | | | | | | Mostly copying and pasting from chromeos::BrowserView Changed toplevel_window_event_filter to ignore right clicks. Bug=117096 Test=Manual Review URL: http://codereview.chromium.org/9646005 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9724019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127399 0039d316-1c4b-4281-b951-d872f2087c98
* Adds system menu from views::BrowserView.pkotwicz@chromium.org2012-03-181-3/+5
| | | | | | | | | | | | | Mostly copying and pasting from chromeos::BrowserView Changed toplevel_window_event_filter to ignore right clicks. Bug=117096 Test=Manual Review URL: http://codereview.chromium.org/9646005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127392 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Some new assets for the uber tray.sadrul@chromium.org2012-03-182-6/+6
| | | | | | | | | BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9719022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127386 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Make sure the time in the uber tray is updated when the system resumes ↵sadrul@chromium.org2012-03-178-30/+38
| | | | | | | | | | | from suspend. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9716015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127368 0039d316-1c4b-4281-b951-d872f2087c98
* Use FramePainter for painting PanelViewFramedslomov@chromium.org2012-03-174-145/+63
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/9700044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127350 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a new layer animation element which owns an interpolated transform. ↵vollick@chromium.org2012-03-172-17/+62
| | | | | | | | | | | | | | This allows more control over the interpolation, and in particular, it allows for a rotation about a pivot. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127269 Review URL: http://codereview.chromium.org/9704070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127337 0039d316-1c4b-4281-b951-d872f2087c98
* Reland - Ash: Add resize border shadow effectjamescook@chromium.org2012-03-1711-4/+434
| | | | | | | | | | | | | | | | | * Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127268 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=127277 Review URL: http://codereview.chromium.org/9677070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127328 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Turn on the uber-tray by default.sadrul@chromium.org2012-03-177-8/+18
| | | | | | | | | | | | | You can still disable it from chrome://flags or using --disable-ash-uber-tray, but there's no reason for anyone to want to! TBR=davemoore@chromium.org BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9704102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127321 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Make sure all the popups from the tray have the same width.sadrul@chromium.org2012-03-179-21/+49
| | | | | | | | | | | | This should keep things sane and good if username, email, network name etc. are too long. This also fixes alignment/padding issues for the sliders, chevron icons etc. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9703125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127312 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r127269 "Adds a new layer animation element which owns an ↵oshima@chromium.org2012-03-161-59/+17
| | | | | | | | | | | | | | interpolated transform. This allows more control over the interpolation, and in particular, it allows for a rotation about a pivot." Revert r127280 "Fix Win Aura compile break caused by r127269." TBR=mpcomplete@chromium.org,vollick@chromium.org BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/9722015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127300 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
* Fix Win Aura compile break caused by r127269.mpcomplete@chromium.org2012-03-161-1/+1
| | | | | | | | | | | | Change bool to float. TBR=vollick BUG=no TEST=no Review URL: https://chromiumcodereview.appspot.com/9719007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127280 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 127268 - Ash: Add resize border shadow effectjamescook@chromium.org2012-03-1611-434/+4
| | | | | | | | | | | | | | | | * Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Review URL: https://chromiumcodereview.appspot.com/9677070 TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/9724005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127277 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a new layer animation element which owns an interpolated transform. ↵vollick@chromium.org2012-03-161-17/+59
| | | | | | | | | | | | This allows more control over the interpolation, and in particular, it allows for a rotation about a pivot. BUG=None TEST=None Review URL: http://codereview.chromium.org/9704070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127269 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Add resize border shadow effectjamescook@chromium.org2012-03-1611-4/+434
| | | | | | | | | | | | | * Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Review URL: https://chromiumcodereview.appspot.com/9677070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127268 0039d316-1c4b-4281-b951-d872f2087c98