summaryrefslogtreecommitdiffstats
path: root/ash/shelf/shelf_layout_manager.cc
Commit message (Collapse)AuthorAgeFilesLines
* Make Shelf Consistent in MaximizeModejonross@chromium.org2014-07-291-4/+0
| | | | | | | | | | | | Update ShelfLayoutManager to no longer change its state upon entering MaximizeMode. Update tests to reflect this new behaviour. TEST=Hide the shelf, open device past 180, shelf should still be hidden. BUG=385702 Review URL: https://codereview.chromium.org/400663004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286083 0039d316-1c4b-4281-b951-d872f2087c98
* Snap widgets to pixel boundary on ashoshima@chromium.org2014-07-181-15/+3
| | | | | | | | | | | | | | | Introduced SnapToPixelLayoutManager and used where it makes sense. WorkspaceLayoutManager uses WindowState, so it's the property is manually set there. This depends on the following CL: https://codereview.chromium.org/375693006/ BUG=391822 Review URL: https://codereview.chromium.org/357063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284119 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Shelf Auto-Hide in TouchViewjonross@chromium.org2014-06-051-39/+2
| | | | | | | | | | | | | | | Re-enable the shelf auto-hide feature, and the supporting gestures, while in touchview mode. This effectively reverts the portions of the following reviews which impact the shelf and the launcher context menu. https://codereview.chromium.org/205603003/ https://codereview.chromium.org/247363005/ TEST=ShelfLayoutManagerTest, LauncherContextMenuTest BUG=370985 Review URL: https://codereview.chromium.org/305003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275236 0039d316-1c4b-4281-b951-d872f2087c98
* Sliding animation unified.merkulova@chromium.org2014-05-151-9/+1
| | | | | | | | BUG=330746 Review URL: https://codereview.chromium.org/286623004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270687 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing invalid window opacity/visibility combination with the shelfskuhne@chromium.org2014-05-141-0/+8
| | | | | | | | | BUG=351553 TEST=existing unit tests Review URL: https://codereview.chromium.org/280383009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270293 0039d316-1c4b-4281-b951-d872f2087c98
* CleanUp: Introduce UserInfo. Move session_state stuff to ash/session.oshima@chromium.org2014-04-301-1/+1
| | | | | | | | | | | | BUG=None R=nkostylev@chromium.org TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267158 Review URL: https://codereview.chromium.org/253063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267337 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 267158 "CleanUp: Introduce UserInfo. Move session_state s..."oshima@chromium.org2014-04-301-1/+1
| | | | | | | | | | | | | | | | > CleanUp: Introduce UserInfo. Move session_state stuff to ash/session. > > BUG=None > R=nkostylev@chromium.org > TBR=sky@chromium.org > > Review URL: https://codereview.chromium.org/253063002 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/260783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267250 0039d316-1c4b-4281-b951-d872f2087c98
* CleanUp: Introduce UserInfo. Move session_state stuff to ash/session.oshima@chromium.org2014-04-301-1/+1
| | | | | | | | | | BUG=None R=nkostylev@chromium.org TBR=sky@chromium.org Review URL: https://codereview.chromium.org/253063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267158 0039d316-1c4b-4281-b951-d872f2087c98
* Implement overscroll support for the virtual keyboard. Instead of resizing ↵kevers@chromium.org2014-04-281-11/+13
| | | | | | | | | | windows to prevent occlusion by the virtual keyboard, the inner viewport is resized to extend the vertical scroll range. BUG=242933 Review URL: https://codereview.chromium.org/195793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266662 0039d316-1c4b-4281-b951-d872f2087c98
* Fullscreen/immersive mode is allowed in touch view mode, the shelf gets ↵skuhne@chromium.org2014-04-261-6/+17
| | | | | | | | | | | | | hidden and an edge swipe brings the shelf back. Allowing immersive / full screen mode in maximize mode BUG=359606 TEST=ash tests and visual Review URL: https://codereview.chromium.org/247363005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266350 0039d316-1c4b-4281-b951-d872f2087c98
* Checked validity of status_widget before calling IsActive method.shrikant@chromium.org2014-04-241-1/+3
| | | | | | | | | | | | | Rest of the code seem to suggest that we always check validity of status_area_widget() pointer before calling method on it. Also a specific comment in the code "status_area_widget() may be NULL during the shutdown." seems to suggest status_area_widget being NULL is expected. shelf_ could have been a possible culprit here, but before we reach this particular statment, we have already called methods on it, so possibility of status_area_widget() being culprit is more. This bug doesn't repro on my machine so have to go with guess work. BUG=365631 R=skuhne@chromium.org Review URL: https://codereview.chromium.org/251343003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265790 0039d316-1c4b-4281-b951-d872f2087c98
* Notify about major session changes events.nkostylev@chromium.org2014-04-141-6/+22
| | | | | | | | | | | This makes sure that multi-profile user adding UI gets 100% of working area and also works fine with onscreen keyboard. BUG=361157 Review URL: https://codereview.chromium.org/231123002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263611 0039d316-1c4b-4281-b951-d872f2087c98
* Shelf Cleanup AlternateShelfLayout P1 Attempt 3harrym@chromium.org2014-04-121-50/+18
| | | | | | | | | | | R=skuhne@chromium.org TBR=jamescook@chromium.org, miket@chromium.org, skuhne@chromium.org BUG=338429 re-landing of https://codereview.chromium.org/176883022/ with fix for the inset of app panel as discussed offline /w jennyz@ Review URL: https://codereview.chromium.org/229453005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263451 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Virtual keyboard support at OOBE/loginnkostylev@chromium.org2014-04-041-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enabled TouchView mode test accelerator on login screen, changed to Ctrl+Alt+Shift+T (to avoid conflicts). * Added ash::VirtualKeyboardStateObserver to ShellDelegate. LoginDisplayHost subscribes to virtual keyboard activations and hides/shows login WebUI control bar. * Login WebUI window is no longer fullscreen window so when virtual keyboard is shown, login window is resized accordingly. This means a special case for ShelfLayoutManager i.e. status tray (and shelf) should overflow on top of login window and not resize it (as with maximized windows in session) * Added support for scroll in OOBE/login container. When login window resizes new [scroll-container] it has overflow enabled but without scrollbars being shown. * Since all login / oobe WebUI screens are stacked on top of each other and are hidden just with visibility: hidden, added hidden (display: none) attribute to all screens which is removed right before new screen is activated via toggleStep(). Hidden attribute is added after old screen transition finishes. * Adding hidden attribute to all screens breaks two things which are also addressed in this CL: 1. OOBE screens network/eula/update form a screen group so that their size is adjusted to be the same. This is fixed by removing hidden attribute for OOBE screen group during init. 2. Same OOBE screens have sliding animation defined and adding/removing hidden attributed breaks that. Fix (temporary): don't add hidden attribute to old screen after transition ends. BUG=354413 Review URL: https://codereview.chromium.org/211433002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261751 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate ash::internal namespaceoshima@chromium.org2014-04-031-3/+0
| | | | | | | | | | | Plus obvious style nit fixes. BUG=None TBR=sky@chromium.org Review URL: https://codereview.chromium.org/224113005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261522 0039d316-1c4b-4281-b951-d872f2087c98
* Move some code from aura/client to wm/publicben@chromium.org2014-03-211-1/+1
| | | | | | | | | | | Still building as part of the aura target, will fix that in a future step. TBR=sky@chromium.org http://crbug.com/308710 Review URL: https://codereview.chromium.org/206453005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258651 0039d316-1c4b-4281-b951-d872f2087c98
* Turning off auto hide modes for the shelf while the maximize mode is up and ↵skuhne@chromium.org2014-03-211-1/+31
| | | | | | | | | | | running BUG=353145 TEST=unittest, ash tests and visual Review URL: https://codereview.chromium.org/205603003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258612 0039d316-1c4b-4281-b951-d872f2087c98
* Enable immersive fullscreen on Windows Ash.zturner@chromium.org2014-03-191-12/+5
| | | | | | | | | | | | | | | | | | | | | | | | | On ChromeOS a reveal occurs on a swipe down from the top edge, and hides on a swipe up from the top edge. On Windows we can only detect one piece of information: A swipe up occurred from the bottom edge, or a swipe down occured from the top edge. These two events are indistinguishable on Windows, and they do not come with any location information. As a result, the CrOS behavior of these two distinct operations are merged into one operation here. On Windows an "edge swipe" displays the shelf AND does the immersive reveal, whereas on CrOS these are separate operations triggered by a swipe on the respective edges. Hiding should still behave the same as CrOS. BUG=227247 Review URL: https://codereview.chromium.org/198413003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257909 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Shelf Cleanup (- binary files) ↵jennyz@chromium.org2014-03-121-15/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/176883022/) Reason for revert: This cl is breaking the app list launch bubble. see crbug.com/351776. Original issue's description: > Shelf Cleanup (- binary files) > > R=skuhne@chromium.org > TBR=jamescook@chromium.org, miket@chromium.org, skuhne@chromium.org > BUG=338429 > > re-landing of > https://codereview.chromium.org/140323010/ hopefully this time with less breaking everything. > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256319 TBR=jamescook@chromium.org,skuhne@chromium.org,harrym@chromium.org NOTREECHECKS=true NOTRY=true BUG=338429 Review URL: https://codereview.chromium.org/198063003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256662 0039d316-1c4b-4281-b951-d872f2087c98
* Shelf Cleanup (- binary files)harrym@chromium.org2014-03-111-46/+15
| | | | | | | | | | | | | R=skuhne@chromium.org TBR=jamescook@chromium.org, miket@chromium.org, skuhne@chromium.org BUG=338429 re-landing of https://codereview.chromium.org/140323010/ hopefully this time with less breaking everything. Review URL: https://codereview.chromium.org/176883022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256319 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Ash:Shelf - Cleanup of Alternate Shelf (part 1) ↵dgrogan@chromium.org2014-03-011-15/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/140323010/) Reason for revert: Broke Linux ChromiumOS Builder (dbg): http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Builder%20%28dbg%29/builds/45933/steps/compile/logs/stdio FAILED: /b/build/goma/gomacc c++ -MMD -MF obj/ash/system/web_notification/ash.web_notification_tray.o.d .... ../../ash/system/web_notification/web_notification_tray.cc: In constructor 'ash::WebNotificationTray::WebNotificationTray(ash::internal::StatusAreaWidget*)': ../../ash/system/web_notification/web_notification_tray.cc:322:7:error: 'UseAlternateShelfLayout' is not a member of 'ash::switches' ../../ui/message_center/message_center_style.h: At global scope: ../../ui/message_center/message_center_style.h:103:15:error: 'message_center::kButtonSeparatorColor' defined but not used [-Werror=unused-variable] ../../ui/message_center/message_center_style.h:104:15:error: 'message_center::kHoveredButtonBackgroundColor' defined but not used [-Werror=unused-variable] ../../ui/message_center/message_center_style.h:111:15:error: 'message_center::kProgressBarBackgroundColor' defined but not used [-Werror=unused-variable] ../../ui/message_center/message_center_style.h:112:15:error: 'message_center::kProgressBarSliceColor' defined but not used [-Werror=unused-variable] ../../ui/message_center/message_center_style.h:43:15:error: 'message_center::settings::kEntrySeparatorColor' defined but not used [-Werror=unused-variable] Original issue's description: > Part 1) of cleaning up the code related to the shelf layout, specifically removing all instances of branching related to the 'alternate shelf layout' as this is now the only option. > Removed the about:flags entry relating to alternate shelf layout. > > A patch will follow to simplify the remaining layout code as it is still a bit of a spaghetti like mess. > > R=jamescook@chromium.org, skuhne@chromium.org > TBR=miket@chromium.org > BUG=338429 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254301 TBR=jamescook@chromium.org,skuhne@chromium.org,harrym@chromium.org NOTREECHECKS=true NOTRY=true BUG=338429 Review URL: https://codereview.chromium.org/185143002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254306 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1) of cleaning up the code related to the shelf layout, specifically ↵harrym@chromium.org2014-03-011-46/+15
| | | | | | | | | | | | | | | | removing all instances of branching related to the 'alternate shelf layout' as this is now the only option. Removed the about:flags entry relating to alternate shelf layout. A patch will follow to simplify the remaining layout code as it is still a bit of a spaghetti like mess. R=jamescook@chromium.org, skuhne@chromium.org TBR=miket@chromium.org BUG=338429 Review URL: https://codereview.chromium.org/140323010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254301 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Remove some dead code.sadrul@chromium.org2014-02-251-15/+0
| | | | | | | | | | | ShelfLayoutManager::GetInsetsForAlignment() is no longer used. BUG=318879 R=skuhne@chromium.org Review URL: https://codereview.chromium.org/167373006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253050 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed incorrect resize of docked windows when locking screen.abodenha@chromium.org2014-02-221-4/+8
| | | | | | | | | | | | | | Switches updating of state_.is_screen_locked to push rather than pull. is_screen_locked is set when the lock animation starts and unset when OnLockStateChanged is called with locked unset. If is_screen_locked is set avoid generating notifications about inset changes. BUG=338377 Review URL: https://codereview.chromium.org/175473003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252785 0039d316-1c4b-4281-b951-d872f2087c98
* Move root_window.* to window_event_dispatcher.*ben@chromium.org2014-02-211-1/+1
| | | | | | | | | http://crbug.com/308843 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/174803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252651 0039d316-1c4b-4281-b951-d872f2087c98
* Fully support the autohide shelf option for touch UI on Windows.zturner@chromium.org2014-02-121-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | This change does the following: 1) Adds a new gesture referred to as an EdgeSwipe gesture. This is Win8 / Metro specific, and refers to a swipe up from the bottom edge, or swipe down from the top edge. The semantics of this gesture are slightly different than those of a bezel gesture, which can occur on any edge, and for which you can determine specifically which edge it was (not possible with Win8 edge swipe). 2) edge swipe no longer enters / exits full screen mode. Instead it makes the shelf visible (if it was hidden, and auto-hide was checked), disables auto-hide, and exits full screen. BUG=340772 R=asvitkine@chromium.org, cpu@chromium.org, harrym@chromium.org, jschuh@chromium.org, sadrul@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/143023003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250738 0039d316-1c4b-4281-b951-d872f2087c98
* Visibility update set for screen lock to invoke proper shelf animation.merkulova@chromium.org2014-02-031-0/+1
| | | | | | | | BUG=330746 Review URL: https://codereview.chromium.org/146023005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248462 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Remove Window::SetHitTestBoundsOverrideOuter() and related methods.sadrul@chromium.org2014-01-301-21/+0
| | | | | | | | | | | | | Event-targeters (e.g. wm::EasyResizeWindowTargeter) now do the necessary work for allowing a window to receive events outside of its bounds. So these methods on aura::Window are no longer necessary. BUG=318879 R=ben@chromium.org Review URL: https://codereview.chromium.org/133873004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247821 0039d316-1c4b-4281-b951-d872f2087c98
* Creating multi profile animations for switching users and teleporting of ↵skuhne@chromium.org2014-01-281-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | windows. This CL is adding window animations for the following multi profile related actions: - switching the user - teleporting of windows - window ownership changes The user switch animation is as follows: Time: -----> Screen: A X B - The desktop cross dissolves between A -> B - User A's windows fade out between A -> X - User B's windows get faded in between X -> B - User A's shelf gets hidden between A -> X - The user icon in the system tray as well as the shelf configuration changes at 'X'. - User B's shelf gets faded on between X -> B So at time X the user would see a half way cross dissolved desktop and shared windows (if there are any). Since there is no guarantee that there is an animation going from A -> X an additional timer was used to kick off the second animation portion. Further gotchas: - Animations of the individual shelf items were in the past incorrectly performed with another animator which produced a lag for some components (e.g. the activation bar lagged and / or there was a gap between icons in the tray and the screen border when playing the animation fast. - Wallpaper loading was so delayed that the animations started after all other animations were done. BUG=336639, 307279 Review URL: https://codereview.chromium.org/130983007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247517 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix ShelfLayoutManager::UpdateVisibilityState crash on shutdown.xiyuan@chromium.org2014-01-251-0/+5
| | | | | | | | | | | ShelfLayoutManager clears |workspace_controller_| in its PrepareForShutdown during shutdown and the case needs to be handled in UpdateVisibilityState. BUG=334321 Review URL: https://codereview.chromium.org/146703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247031 0039d316-1c4b-4281-b951-d872f2087c98
* Screen cleanup:oshima@chromium.org2014-01-171-4/+4
| | | | | | | | | | | | | * Split ScreenAsh to ScreenUtil (set of utility functions) and the screen implementation. * moved screen_ash from Shell to DisplayManager. Ash specific imp is now hidden in DisplayManager. * Shell now creates a separate screen object which simply keeps the list of displays for shutdown. This allow all screen operation valid during shutdown. BUG=None TBR=hongbo.min@intel.com,sky@chromium.org Review URL: https://codereview.chromium.org/138003007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245562 0039d316-1c4b-4281-b951-d872f2087c98
* Start the move of launcher_types.h to shelf.tfarina@chromium.org2013-12-271-2/+2
| | | | | | | | | | | | | | I decided to split the constants into its own component to make the transition easier to do and review. BUG=248353 TEST=None, no functional changes R=jamescook@chromium.org,harrym@chromium.org TBR=tapted@chromium.org # for c/b/ui/apps Review URL: https://codereview.chromium.org/97983003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242588 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Launcher to Shelf.tfarina@chromium.org2013-12-191-20/+20
| | | | | | | | | | | | | | | | | | - move launcher* from launcher to shelf. - rename to launcher.* to shelf.* and launcher_unittest.cc to shelf_unittest.cc - rename LauncherTestAPI to ShelfTestAPI. - rename to launcher_test_api.* to shelf_test_api.* BUG=248353 TEST=None, no functional changes R=jamescook@chromium.org,harrym@chromium.org TBR=sky Review URL: https://codereview.chromium.org/115113006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241794 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes the shelf background while dragging a windowvarkha@chromium.org2013-12-131-0/+1
| | | | | | | | | BUG=321704 TEST=ash_unittests --gtest_filter=*WorkspaceControllerTestDragging.DragWindowOverlapShelf* Review URL: https://codereview.chromium.org/102493004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240560 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore non-active fullscreen windows for shelf state.flackr@chromium.org2013-12-101-12/+8
| | | | | | | | | | BUG=319889 TEST=ShelfLayoutManagerTest.FullscreenWindowInFrontHidesShelf, ShelfLayoutManagerTest.FullscreenWindowOnSecondDisplay,WorkspaceLayoutManagerTest.NotifyFullscreenChanges TEST=Navigate to a site using HTML5 fullscreen API, alt tab away to another window and back. Window remains fullscreen but shelf shows while another window is in front. Review URL: https://codereview.chromium.org/100903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239859 0039d316-1c4b-4281-b951-d872f2087c98
* Animating docked background in sync with shelfvarkha@chromium.org2013-12-071-10/+12
| | | | | | | | | | | | | | BUG=267582 TEST=Visual. Dock a window. Verify that docked background is same as the launcher background. Open a second browser window. Maximize it. Verify that both docked background and the shelf background become opaque black. Review URL: https://codereview.chromium.org/98373006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239284 0039d316-1c4b-4281-b951-d872f2087c98
* Replace kFullscreenUsesMinimalChrome with ↵pkotwicz@chromium.org2013-10-281-12/+11
| | | | | | | | | | | | | ash::wm::WindowState::hide_shelf_when_fullscreen() BUG=None TEST=None R=jamescook TBR=sky (For trivial change in chrome/browser/notifications/fullscreen_notification_blocker.cc) Review URL: https://codereview.chromium.org/32943006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231398 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing problem with alignment for right to left languagesskuhne@chromium.org2013-10-181-6/+6
| | | | | | | | | BUG=234271 TEST=visual, using arabic language, made sure that status menu, launcher, notifications and chat window icons were at the right place Review URL: https://codereview.chromium.org/27711005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229388 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Move launcher_view* to shelf/ directory.tfarina@chromium.org2013-10-181-4/+4
| | | | | | | | | | | BUG=248353 TEST=none, no functional changes. R=jamescook@chromium.org, xiyuan@chromium.org TBR=sky@chromium.org # for chrome/browser/ui Review URL: https://codereview.chromium.org/27628002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229274 0039d316-1c4b-4281-b951-d872f2087c98
* Update dock size when auto-hiding shelfvarkha@chromium.org2013-10-161-1/+5
| | | | | | | | | BUG=298210 TEST=ash_unittests --gtest_filter=*AttachOneAutoHideShelf* Review URL: https://codereview.chromium.org/26662002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228858 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WindowSettings to WindowStateoshima@chromium.org2013-09-201-1/+2
| | | | | | | | | | | Move window control methods from window_util.h to WindowState Removed property_util which is no longer necessary. BUG=272460 Review URL: https://chromiumcodereview.appspot.com/24108003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224288 0039d316-1c4b-4281-b951-d872f2087c98
* Hit bounds of status area increased to fill shelf.harrym@chromium.org2013-09-191-11/+16
| | | | | | | | | | | | Unit tests added for above. Position of status area and launcher items (App list/Overflow) updated to spec. Removed duplicate variable for positioning (App list, Overflow Button and status area now share an inset constant). BUG=288294, 288296, 288399 Review URL: https://chromiumcodereview.appspot.com/23928004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224015 0039d316-1c4b-4281-b951-d872f2087c98
* Moves ui/base/events to ui/eventssky@chromium.org2013-09-181-2/+2
| | | | | | | | | | | BUG=none TEST=none R=ben@chromium.org TBR=brettw@chromium.org, scherkus@chromium.org, ananta@chromium.org, Review URL: https://codereview.chromium.org/23851041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223906 0039d316-1c4b-4281-b951-d872f2087c98
* ui/base/animation -> ui/gfx/animationsky@chromium.org2013-09-151-2/+2
| | | | | | | | | | | | | I also made GFX_EXPORT real, which is ok since it's the same as UI_EXPORT. It'll only matter when we separate out at gyp level. BUG=none TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/23531053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223289 0039d316-1c4b-4281-b951-d872f2087c98
* ash:Shelf - Lock Screen animationharrym@chromium.org2013-09-101-17/+46
| | | | | | | | | | Add animation to the status area widget for lock screen, forcing shelf (specifically status area widget) to be in the bottom alignment state while the screen is locked. BUG=223776 Review URL: https://chromiumcodereview.appspot.com/23702026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222271 0039d316-1c4b-4281-b951-d872f2087c98
* Move GetRootWindowController to root_window_controller.hoshima@chromium.org2013-09-061-1/+0
| | | | | | | | | | Remove unnecessary includes, forward decls BUG=272460 Review URL: https://chromiumcodereview.appspot.com/24020002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221605 0039d316-1c4b-4281-b951-d872f2087c98
* RootWindowController::GetFullscreenWindow() should return the active one.mukai@chromium.org2013-09-061-1/+1
| | | | | | | | | | | | | | | | | | It returned the fullscreen window (if any) in the active workspace, and a workspace could contain only one fullscreen window at most. However, now there's only one desktop workspace which can contain multiple fullscreen windows. To follow the past state, it would be better to return the active fullscreen window first. TEST=covered by ash_unittests R=oshima@chromium.org, sky@chromium.org BUG=None Review URL: https://chromiumcodereview.appspot.com/23534049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221602 0039d316-1c4b-4281-b951-d872f2087c98
* ash:Shelf - Enable Alternate Shelf and Side Shelf by default.harrym@chromium.org2013-09-051-3/+3
| | | | | | | | | | | Updated and/or duplicated (updated with copy renamed *ForLegacyShelfLayout) unit tests as required. BUG=246279 TBR=jamescook@chromium.org, skuhne@chromium.org Review URL: https://codereview.chromium.org/22793011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221325 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent a user from hiding the shelf via a gesture when there are no visible ↵pkotwicz@chromium.org2013-08-141-67/+77
| | | | | | | | | | | | | | | windows part 2 - This CL combines the common parts of ShelfLayoutManager::LayoutShelf() and ShelfLayoutManager::SetState() into ShelfLayoutManager::UpdateBoundsAndOpacity(). - This CL animates the shelf when a gesture drag is completed / canceled BUG=268209 TEST=ShelfLayoutManagerTest.ShelfAnimatesWhenGestureComplete Review URL: https://chromiumcodereview.appspot.com/22638013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217700 0039d316-1c4b-4281-b951-d872f2087c98
* - Prevent a user from hiding the shelf via a gesture when there are no ↵pkotwicz@chromium.org2013-08-101-16/+28
| | | | | | | | | | | | | visible windows - Ignore the mouse position if mouse events are disabled (this is the case when the user is interacting with the device via touch) BUG=268209 TEST=ShelfLayoutManagerTest.GestureDrag Review URL: https://chromiumcodereview.appspot.com/22121002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216879 0039d316-1c4b-4281-b951-d872f2087c98