summaryrefslogtreecommitdiffstats
path: root/ash/shell_delegate.h
Commit message (Collapse)AuthorAgeFilesLines
* Delete "shutdown without closing browsers"oshima@chromium.org2014-03-251-2/+3
| | | | | | | | | | | | | | | | | | | | | Removing unused ShellDelegate::Shutdown() Added new PreShutdown to safely cleanup DisplayObserver. Chrome no longer access X during shutdown (except for deleting X window, which is safe), so normal SessionEnd path should work. There is another issue when this happens during login screen, and I'll file a separate bug for it. BUG=336653 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259061 R=abodenha@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/205963005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259203 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Delete "shutdown without closing browsers" path ↵michaeln@chromium.org2014-03-251-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/205963005/) Reason for revert: Didn't compile on Linux GTK builder. http://build.chromium.org/p/chromium.linux/builders/Linux%20GTK%20Builder/builds/1997 ../../chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc: In member function 'virtual void BookmarkBarGtk::BookmarkModelBeingDeleted(BookmarkModel*)': ../../chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc:896:8:error: 'ShuttingDownWithoutClosingBrowsers' is not a member of 'browser_shutdown' Original issue's description: > Delete "shutdown without closing browsers" > > Removing unused ShellDelegate::Shutdown() > > Added new PreShutdown to safely cleanup DisplayObserver. > > Chrome no longer access X during shutdown (except for deleting X window, which is safe), so normal SessionEnd > path should work. > > There is another issue when this happens during login screen, and I'll file a separate bug for it. > > BUG=336653 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259061 TBR=abodenha@chromium.org,thestig@chromium.org,oshima@chromium.org NOTREECHECKS=true NOTRY=true BUG=336653 Review URL: https://codereview.chromium.org/210673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259085 0039d316-1c4b-4281-b951-d872f2087c98
* Delete "shutdown without closing browsers"oshima@chromium.org2014-03-251-2/+3
| | | | | | | | | | | | | | | | | Removing unused ShellDelegate::Shutdown() Added new PreShutdown to safely cleanup DisplayObserver. Chrome no longer access X during shutdown (except for deleting X window, which is safe), so normal SessionEnd path should work. There is another issue when this happens during login screen, and I'll file a separate bug for it. BUG=336653 Review URL: https://codereview.chromium.org/205963005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259061 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Simplify how chrome keeps track of caps lock state.sadrul@chromium.org2014-03-121-4/+0
| | | | | | | | | | | | | | | | | | | | | | | Notable changes: * Make caps-lock related tray-item explicitly chromeos-only, since there has never been an implementation of CapsLockDelegate for other platforms. * As a result, have the tray-item directly communicate with XKeyboard, instead of needing the CapsLockDelegate, so delete it. * Have the code that needs to know when the caps-lock state changes (e.g. TrayCapsLock, SigninScreenHandler) use a pre-target handler on Shell and look for VKEY_CAPITAL key-press events. This simplifies the code, which currently flows from: X11 -> SystemKeyEventListener -> SystemTrayDelegate -> SystemTrayNotifier -> TrayCapsLock to: X11 -> WindowTreeHost -> TrayCapsLock BUG=none R=derat@chromium.org, oshima@chromium.org, yusukes@chromium.org TBR=nkostylev@chromium.org for c/b/ui/webui/chromeos/login changes Review URL: https://codereview.chromium.org/192293004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256363 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Remove client::UserActionClient.sadrul@chromium.org2014-03-061-6/+0
| | | | | | | | | | | | | | | | | | | UserActionClient is used to navigate back/forward when the back/forward on a supported mouse-device is clicked on X11. This can instead be achieved by installing an event-handler on the browser window. This does change the behaviour a little on ChromeOS: clicking these navigation buttons when the cursor is not on top of the browser window will not navigate after this change. I have confirmed with UX that this is a desirable change. BUG=319636 R=sky@chromium.org Previously landed in r255385, reverted in r255398 to allow another revert in r255399. Review URL: https://codereview.chromium.org/183853037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255416 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 255385 "aura: Remove client::UserActionClient."ben@chromium.org2014-03-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | > aura: Remove client::UserActionClient. > > UserActionClient is used to navigate back/forward when the back/forward on a > supported mouse-device is clicked on X11. This can instead be achieved by > installing an event-handler on the browser window. > > This does change the behaviour a little on ChromeOS: clicking these navigation > buttons when the cursor is not on top of the browser window will not navigate > after this change. I have confirmed with UX that this is a desirable change. > > BUG=319636 > R=sky@chromium.org > > Review URL: https://codereview.chromium.org/183853037 TBR=sadrul@chromium.org Review URL: https://codereview.chromium.org/186123004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255398 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Remove client::UserActionClient.sadrul@chromium.org2014-03-061-6/+0
| | | | | | | | | | | | | | | | | UserActionClient is used to navigate back/forward when the back/forward on a supported mouse-device is clicked on X11. This can instead be achieved by installing an event-handler on the browser window. This does change the behaviour a little on ChromeOS: clicking these navigation buttons when the cursor is not on top of the browser window will not navigate after this change. I have confirmed with UX that this is a desirable change. BUG=319636 R=sky@chromium.org Review URL: https://codereview.chromium.org/183853037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255385 0039d316-1c4b-4281-b951-d872f2087c98
* Renames LauncherID, LauncherItem and LauncherItems...tfarina@chromium.org2014-02-031-3/+3
| | | | | | | | | | | | | to ShelfID, ShelfItem and ShelfItems. BUG=248353 TEST=None R=jamescook@chromium.org,harrym@chromium.org Review URL: https://codereview.chromium.org/152223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248619 0039d316-1c4b-4281-b951-d872f2087c98
* Provide real GPUSupport to ash for Chromejamescook@chromium.org2014-01-311-0/+3
| | | | | | | | | | | | | | | | A recent refactor to extract src/content dependencies from ash broke GPU feature detection for panel fitting on Chrome OS. In particular the OutputConfigurator was set up using a stub GPUSupport object. Fix injection of the GPUSupport object -- move its creation to the ash::ShellDelegate interface. BUG=chrome-os-partner:25204,chrome-os-partner:24868 TEST=existing ash_unittests Review URL: https://codereview.chromium.org/132173006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248226 0039d316-1c4b-4281-b951-d872f2087c98
* [ash] Add TYPE_DIALOG and its item's LauncherContextMenusimonhong@chromium.org2014-01-091-1/+7
| | | | | | | | | | | | | | This is third CL for adding an item for dialog. This cl adds new LauncherItemType, TYPE_DIALOG, and implements a context menu of item created by ShelfWindowWatcher. R=sky@chromium.org BUG=121242 TEST=NONE Review URL: https://codereview.chromium.org/107163005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243965 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RootWindowHost to WindowTreeHostben@chromium.org2014-01-081-2/+2
| | | | | | | | | TBR=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/126513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243578 0039d316-1c4b-4281-b951-d872f2087c98
* Adding UMA metric tracking to the status are menu and related tray views to ↵harrym@chromium.org2013-12-131-51/+0
| | | | | | | | | | track usage of the menu's. BUG=297046 Review URL: https://codereview.chromium.org/73583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240537 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CurrentBrowserContext to ActiveBrowserContextoshima@chromium.org2013-12-121-2/+3
| | | | | | | | | | | | | Remove use of GetDefaultProfileXXX in - c/b/ui/ash/chrome_shell_delegate* - c/b/ui/ash/keyboard_controller_proxy.cc - c/b/ui/ash/screenshot_taker.cc BUG=322682 Review URL: https://codereview.chromium.org/112153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240482 0039d316-1c4b-4281-b951-d872f2087c98
* Rename LauncherDelegate to ShelfDelegate.tfarina@chromium.org2013-12-091-4/+4
| | | | | | | | | | | | | | | | | | | - move launcher_delegate.h from launcher to shelf. - rename to shelf_delegate.h - rename LauncherDelegateImpl to ShelfDelegateImpl. - rename to shelf_delegate_impl.* - rename TestLauncherDelegate to TestShelfDelegate. - rename test_shelf_delegate.* to test_shelf_delegate.* BUG=248353 TEST=None, no functional changes R=jamescook@chromium.org,harrym@chromium.org Review URL: https://codereview.chromium.org/103223005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239531 0039d316-1c4b-4281-b951-d872f2087c98
* Record user actions for Ash accelerators.stevet@chromium.org2013-12-031-1/+0
| | | | | | | | | | | | | | Clean up the huge switch of accelerators as well: * Move a bunch of code into Handle helpers. * Alphabetize the anon namespace helpers. * Clean up the OS_CHROMEOS groupings a bit. BUG=321695 R=jamescook@chromium.org Review URL: https://codereview.chromium.org/78763003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238391 0039d316-1c4b-4281-b951-d872f2087c98
* Change accelerator_controller to use content::RecordAction directly.stevet@chromium.org2013-11-201-8/+0
| | | | | | | | | | | | (rather than calling into ChromeShellDelegate each time) Clean up unused enum values. BUG= Review URL: https://codereview.chromium.org/75583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236125 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 236048 "Rename RootWindowHost* to WindowTreeHost*"ben@chromium.org2013-11-201-2/+2
| | | | | | | | | | | | | | | > Rename RootWindowHost* to WindowTreeHost* > > TBR=sky@chromium.org > http://crbug.com/308843 > > Review URL: https://codereview.chromium.org/76583003 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/77203002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236093 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RootWindowHost* to WindowTreeHost*ben@chromium.org2013-11-191-2/+2
| | | | | | | | | TBR=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/76583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236048 0039d316-1c4b-4281-b951-d872f2087c98
* Adding 2 simple UMA stats to track shelf alignment usage, firstly track when ↵harrym@chromium.org2013-11-191-0/+3
| | | | | | | | | | | a shelf alignment is changed (rare), and during usage of the shelf launcher (buttons on the shelf) track the current alignment (more common) to provide some data on how frequent usage is of the various alignments. BUG=298174 TBR=askvitkine@chromium.org Review URL: https://codereview.chromium.org/26373009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235904 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Rename LauncherModel to ShelfModel.tfarina@chromium.org2013-11-141-4/+3
| | | | | | | | | | | | | * Move launcher_model.* from launcher/ to shelf/ * Rename to shelf_model.* BUG=248353 TEST=None, no functional changes R=jamescook@chromium.org,harrym@chromium.org Review URL: https://codereview.chromium.org/71653003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235217 0039d316-1c4b-4281-b951-d872f2087c98
* Elim Shell:browser_contextstevenjb@chromium.org2013-11-081-0/+4
| | | | | | | | | | | | | | | This is some cleanup from another CL where I discovered that Shell::Get()->browser_context() isn't actually used by Chrome, only by ash_shell. To eliminate that confusion I eliminated it and changed the ash_shell code to rely on delegate()->GetCurrentBrowserContext() to be consistent with Chrome. BUG=none R=ben@chromium.org, jamescook@chromium.org Review URL: https://codereview.chromium.org/59153009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234024 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce MediaDelegateoshima@chromium.org2013-11-011-9/+4
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/48523010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232330 0039d316-1c4b-4281-b951-d872f2087c98
* Enable three finger swipe up / down to trigger overview.flackr@chromium.org2013-11-011-0/+1
| | | | | | | | | | BUG=309247 TEST=OverviewGestureHandlerTest.* TEST=Swipe up with three fingers to enter overview, down to exit. Review URL: https://codereview.chromium.org/52653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232276 0039d316-1c4b-4281-b951-d872f2087c98
* Check for incognito-mode availabilty added.merkulova@chromium.org2013-10-311-0/+4
| | | | | | | | BUG=279953 Review URL: https://codereview.chromium.org/34903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232096 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce WindowStateDelegate::ToggleFullscreenoshima@chromium.org2013-10-301-3/+0
| | | | | | | | | | | | | | | Replace kAnimateToFullscreenKey with a boolean flag in WindowState I removed #if defined(OS_WIN).. #endif in chrome_shell_delegate.cc because you'll never get window in desktop environment there. Next step. I'll look into if we can change so that WindowState::Restore can restore from fullscreen state properly. BUG=309837 Review URL: https://codereview.chromium.org/42353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231903 0039d316-1c4b-4281-b951-d872f2087c98
* Make GetRootWindow() return a Window instead of a RootWindow.ben@chromium.org2013-10-251-1/+1
| | | | | | | | | | | | Also adds a typedef from RootWindow to WindowEventDispatcher, the eventual name of this type. Adds a GetDispatcher() method that crawls up to the root Window and returns the WindowEventDispatcher. R=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/37733003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231077 0039d316-1c4b-4281-b951-d872f2087c98
* Introduces NewWindowDelegate to create or show windows/tabs that are not ↵oshima@chromium.org2013-10-251-24/+4
| | | | | | | | | | | part of ash. BUG=none TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/30533012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230901 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce AccessibiltyDelegateoshima@chromium.org2013-10-241-57/+4
| | | | | | | | | | I'll incorporate changes in https://codereview.chromium.org/27238008 when it's landed. BUG=none Review URL: https://codereview.chromium.org/37663004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230619 0039d316-1c4b-4281-b951-d872f2087c98
* Add autoclick menu item to ash accessibility system tray.tengs@chromium.org2013-10-231-0/+6
| | | | | | | | | BUG=272401 TEST=updated browser_tests Review URL: https://codereview.chromium.org/27238008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230498 0039d316-1c4b-4281-b951-d872f2087c98
* Move ToggleMaximized impl to ash and remove ShellDelegate::ToggleMaximizedoshima@chromium.org2013-10-221-3/+0
| | | | | | | | BUG=272460 Review URL: https://codereview.chromium.org/29153006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230005 0039d316-1c4b-4281-b951-d872f2087c98
* Add a gesture handler which toggles overview when swiping from the top with ↵flackr@chromium.org2013-10-111-0/+1
| | | | | | | | | | | three fingers. BUG=263528 TEST=Swipe down from the top of the screen with three fingers to toggle overview. Review URL: https://codereview.chromium.org/26664008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228186 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Ash accelerator OPEN_FILE_DIALOG; let Chrome handle it as IDC_OPEN_FILE.kinaba@chromium.org2013-10-011-1/+1
| | | | | | | | | | | | The Ctrl-O had once been handled as global shortcut, but now it is no-op when no browser is open. It can be moved back to browser shortcut, as it is handled in all other platforms than Chrome OS. BUG=301445, 251492 Review URL: https://codereview.chromium.org/25225002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226097 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA metrics for window selection and overview.flackr@chromium.org2013-09-201-0/+9
| | | | | | | | BUG=290995 Review URL: https://chromiumcodereview.appspot.com/24096024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224287 0039d316-1c4b-4281-b951-d872f2087c98
* Removes unnecessary methods from ash::ShellDelegatemukai@chromium.org2013-08-081-9/+0
| | | | | | | | | | | | | | Those two methods are the bridge to TimeFormat. Now chrome/common/time_format is moved to ui/base/l10n, ash code can directly call them, there's no need to be in ShellDelegate. BUG=268688 R=jamescook@chromium.org TEST=build succeeds Review URL: https://chromiumcodereview.appspot.com/22391006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216341 0039d316-1c4b-4281-b951-d872f2087c98
* Add window overview mode behind --ash-enable-overview-mode flag to F5 key.flackr@chromium.org2013-08-011-0/+1
| | | | | | | | | | | BUG=263477 TEST=WindowSelector.* TEST=Enable --ash-enable-overview-mode and open several windows. Press F5 ([ ]] key) and you should see overview of all windows. Click a win dow to activate it. Review URL: https://chromiumcodereview.appspot.com/20415002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215037 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in android_webview/, apps/, ash/.avi@chromium.org2013-06-271-1/+1
| | | | | | | | | | BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/18050008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209025 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in ash/.avi@chromium.org2013-06-101-1/+1
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16739005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205277 0039d316-1c4b-4281-b951-d872f2087c98
* Large Cursor: Add the toggle menuitem to a11y menu in uber tray.yoshiki@chromium.org2013-06-071-0/+6
| | | | | | | | | | | This patch adds the menuitem to toggle Large cursor feature. It is available only on Login Screen. BUG=247255 TEST=manual and browser_test passes. Review URL: https://chromiumcodereview.appspot.com/16175004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204798 0039d316-1c4b-4281-b951-d872f2087c98
* Unify ActivateCellular into network_connect.ccstevenjb@chromium.org2013-05-291-3/+0
| | | | | | | | | | BUG=242285 For ash delegate TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/15937008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202807 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add UMA action metrics for Ctrl-Shift-Qjamescook@chromium.org2013-05-271-1/+3
| | | | | | | | | | | BUG=none TEST=uma.googleplex.com gains a user action entry from Accel_Exit_First_Q and Accel_Exit_Second_Q R=sschmitz@chromium.org TBR=sschmitz@chromium.org Review URL: https://chromiumcodereview.appspot.com/15841006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202421 0039d316-1c4b-4281-b951-d872f2087c98
* Support Shift+Search+Arrows to navigate and Control to silence speech everywheredmazzoni@chromium.org2013-05-021-0/+3
| | | | | | | | | | | | | Adds new ash keyboard shortcuts that mirror common ChromeVox keys, for use everywhere else in the UI. Only activated when spoken feedback is on. See bug for more info. BUG=236922 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/14674002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197991 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cycling of focusable panes in Chrome OS.dmazzoni@chromium.org2013-04-301-4/+0
| | | | | | | | | | | | | | Update the ash window cycle controller so it can tell aura::Window to rotate pane focus and pass it the cycle direction, rather than just activating each window. The end result is that when you press Ctrl+Back and Ctrl+Forward you get a consistent cycle now, going through all panes within the most recently active browser window and then the launcher and status area. BUG=154598 Review URL: https://chromiumcodereview.appspot.com/13861032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197199 0039d316-1c4b-4281-b951-d872f2087c98
* Enable fullscreening an app window using Shift+F4pkotwicz@chromium.org2013-04-241-0/+4
| | | | | | | | | | | BUG=229213 TEST=Manual, see bug R=jamescook TBR=sky (for change in chrome/browser/ui/views/accelerator_table.cc) Review URL: https://chromiumcodereview.appspot.com/14389004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196096 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 194589 "Revert 194578 "Add ash SessionStateDelegate""bartfab@google.com2013-04-171-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CL turned out to be innocent, the bots turned green without the revert. > Revert 194578 "Add ash SessionStateDelegate" > > > Add ash SessionStateDelegate > > > > This CL refactors the ShellDelegate by adding a SessionStateDelegate to > > which methods dealing with the session state can be moved. This cleans up > > the huge ShellDelegate interface and paves the way for further Chrome OS > > multiprofile work which will need to add several new methods related to > > the session state. > > > > This CL is only the first step. Several other methods should also move to > > SessionStateDelegate but I do not want to overburden a single CL. > > > > BUG=None > > TEST=Manual and browser/unit tests > > > > TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi) > > > > Review URL: https://codereview.chromium.org/14295008 > > TBR=bartfab@google.com > > Review URL: https://codereview.chromium.org/14200034 TBR=gavinp@chromium.org Review URL: https://codereview.chromium.org/14200038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194602 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 194578 "Add ash SessionStateDelegate"gavinp@chromium.org2013-04-171-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | > Add ash SessionStateDelegate > > This CL refactors the ShellDelegate by adding a SessionStateDelegate to > which methods dealing with the session state can be moved. This cleans up > the huge ShellDelegate interface and paves the way for further Chrome OS > multiprofile work which will need to add several new methods related to > the session state. > > This CL is only the first step. Several other methods should also move to > SessionStateDelegate but I do not want to overburden a single CL. > > BUG=None > TEST=Manual and browser/unit tests > > TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi) > > Review URL: https://codereview.chromium.org/14295008 TBR=bartfab@google.com Review URL: https://codereview.chromium.org/14200034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194589 0039d316-1c4b-4281-b951-d872f2087c98
* Add ash SessionStateDelegatebartfab@google.com2013-04-171-22/+4
| | | | | | | | | | | | | | | | | | | | This CL refactors the ShellDelegate by adding a SessionStateDelegate to which methods dealing with the session state can be moved. This cleans up the huge ShellDelegate interface and paves the way for further Chrome OS multiprofile work which will need to add several new methods related to the session state. This CL is only the first step. Several other methods should also move to SessionStateDelegate but I do not want to overburden a single CL. BUG=None TEST=Manual and browser/unit tests TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi) Review URL: https://codereview.chromium.org/14295008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194578 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome OS multi-profiles backend and UI.nkostylev@chromium.org2013-04-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Tray - launch login UI for multi-profiles * UserManager: GetLoggedInUsers(), SwitchActiveUser(), add GetActiveUser() which will later replace GetLoggedInUser() * Login UI: support "sign in to add" mode Notifications: * Pass chromeos::User* in details for - NOTIFICATION_LOGIN_USER_CHANGED - NOTIFICATION_ACTIVE_USER_CHANGED - NOTIFICATION_SESSION_STARTED * Add NOTIFICATION_ACTIVE_USER_CHANGED (only when switching users for now) Multi-profile hacks * Initialize BrowserPolicyConnector only for primary user (http://crbug.com/230349) * Redirect logging only once (http://crbug.com/230345) * OAuth2LoginManager tracks only last logged in user (http://crbug.com/230342) Depends on: * Changes in ProfileManager https://codereview.chromium.org/14028010/ * Adding concept of "signin profile" https://codereview.chromium.org/13633003/ BUG=180903,217016 TEST=ProfileManager tests, manual (with all CLs applied and --multi-profiles) Review URL: https://codereview.chromium.org/14139003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194185 0039d316-1c4b-4281-b951-d872f2087c98
* Added various UMA statistics values for different WM functionsskuhne@chromium.org2013-04-131-6/+14
| | | | | | | | | | | | | | | | | | * Window Close through click on the X button * Window Close through Ctrl+W or Ctrl+Shift+W * Maximize via click on the maximize button * Restore via click on maximize button * Minimize via click on minimize or drag down * Minimize via Alt + - or Ctrl + M * Immersive mode via Fullscreen button * Exit Immersive mode via button BUG=229465 TEST=visual using chrome://user-actions Review URL: https://chromiumcodereview.appspot.com/14088005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194069 0039d316-1c4b-4281-b951-d872f2087c98
* Update src/ash/ for renames and moves in basebrettw@chromium.org2013-04-111-3/+3
| | | | | | | | | | | Renames string16 -> base::string16 and base/string_number_conversions.h -> base/strings/string_number_conversions.h BUG= Review URL: https://codereview.chromium.org/13856005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193561 0039d316-1c4b-4281-b951-d872f2087c98
* Create and show the virtual keyboard.bryeung@chromium.org2013-04-101-0/+8
| | | | | | | | | | | | Introduces ui/keyboard/ which contains generic code for the control of the keyboard (right now, just creation of the container window). Also includes the necessary changes to ash so that the keyboard is (always) displayed on ChromeOS builds when the --enable-virtual-keyboard flag is present. BUG=226986 Review URL: https://codereview.chromium.org/13164002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193378 0039d316-1c4b-4281-b951-d872f2087c98