summaryrefslogtreecommitdiffstats
path: root/ash/test/test_launcher_delegate.h
Commit message (Collapse)AuthorAgeFilesLines
* Adding new Launcher behaviorskuhne@chromium.org2012-12-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is only an intermediate CL - trying to keep the CL's in a handle-able size. The new features of the Launcher behavior are: - Group running programs (V1, V2, Browsers) under existing launcher application icons. - When a V2 app gets started and it is not pinned to the launcher, it will be added for it's lifetime to the launcher (and disappear after the last incarnation goes away). - Each shown launcher entry can ... + .. show a context menu (right click) which can e.g. close all applications of that type. + .. activate or create such a type upon first click. + .. produce a list of running "apps" upon click when one of the applications has already a focus. [more to come] + .. [maybe] produce a fancy hover menu. (at the moment it produces the bubble help) - The list of apps (as described above) contains ... + .. The name of the app itself. + .. For each running instance the favicon & the title & (not yet implemented:) an icon for incognito. - The new features are behind a flag. The full specification can be seen here: https://docs.google.com/a/google.com/document/d/1i39rO8uERWwTvV0e0TDtelgGjzU9Wj5L6CldMl9y6lE/edit This is the second CL for these new features, however there are still several things missing which will be addressed in more CL's: - More unit tests (activation state tracking, V2 apps) - The "eye candy menus" (mocks are still missing) .. + .. including incognito marker + .. a definition how the menus get sorted + .. the open question about click or hover menus + .. touch integration - The browser icon should be movable as well - Rip out old classes and unused complexity - which can only be done after the flag gets removed: At the moment, the changes are trying to stay within the existing architecture to make it possible to switch with a flag. BUG=164438, 145410 Review URL: https://chromiumcodereview.appspot.com/11552028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174270 0039d316-1c4b-4281-b951-d872f2087c98
* Context menu for multiple launchersoshima@chromium.org2012-10-231-2/+2
| | | | | | | | | | | | | - move the code to create/open context menu from launcher to root window controller. - updated methods that access shelf/launcher state to take root window so that menu can specify on which display it is working on. BUG=145978, 155776 TEST=none Review URL: https://chromiumcodereview.appspot.com/11198078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163459 0039d316-1c4b-4281-b951-d872f2087c98
* cros: Unify Chrome icon behavior on launcher bar and app list.xiyuan@chromium.org2012-10-191-3/+2
| | | | | | | | | | | | | | | | - Merge CreateNewTab and CreateNewWindow into OnBrowserShortcutClicked and make it to refocus the last used browser window and create one if there is no last used window; - Use ChromeLauncherController code to "open" Chrome app from app list; - Add context menu for Chrome app in app list; BUG=154523 TEST=Verify both chrome icons refocus last used browser window and have similar context menus. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/11190057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163086 0039d316-1c4b-4281-b951-d872f2087c98
* Remove #pragma once from ashajwong@chromium.org2012-07-111-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10693135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146075 0039d316-1c4b-4281-b951-d872f2087c98
* Adding four bezel gesturesskuhne@chromium.org2012-05-191-0/+1
| | | | | | | | | | | | BUG=126061, 126060, 123167 TEST=Unit test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137968 Review URL: https://chromiumcodereview.appspot.com/10383108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138000 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 137968 - Adding four bezel gestureszea@chromium.org2012-05-181-1/+0
| | | | | | | | | | | | | | | Reverted due to compile failure on Linux CrOS BUG=126061, 126060, 123167 TEST=Unit test Review URL: https://chromiumcodereview.appspot.com/10383108 TBR=skuhne@chromium.org Review URL: https://chromiumcodereview.appspot.com/10412012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137970 0039d316-1c4b-4281-b951-d872f2087c98
* Adding four bezel gesturesskuhne@chromium.org2012-05-181-0/+1
| | | | | | | | | | BUG=126061, 126060, 123167 TEST=Unit test Review URL: https://chromiumcodereview.appspot.com/10383108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137968 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Handle policy-controlled pinned apps in the launcher.mnissler@chromium.org2012-05-071-0/+1
| | | | | | | | | | | | | Handle the case of the preference being supplied by a non-user pref source correctly, observe and react to pref changes and disable context menu entries and item dragging for policy-controlled pinned apps. BUG=chromium-os:29917 TEST=Everything as before, not testable before policy code lands. Review URL: https://chromiumcodereview.appspot.com/10349012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135676 0039d316-1c4b-4281-b951-d872f2087c98
* Respect WindowOpenDisposition in launcher as is in app-list.mukai@chromium.org2012-05-061-1/+2
| | | | | | | | | | BUG=125902 TEST=manually Review URL: http://codereview.chromium.org/10308005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135584 0039d316-1c4b-4281-b951-d872f2087c98
* Implement LauncherIconObserver.dcheng@chromium.org2012-04-201-0/+69
| | | | | | | | | | | | | This will be used to listen for changes in the launcher view so that panels can be correctly drawn over the corresponding launcher icon. BUG=124115 TEST=aura_shell_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133089 Review URL: https://chromiumcodereview.appspot.com/10116011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133120 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 133089 - Implement LauncherIconObserver.dcheng@chromium.org2012-04-201-69/+0
| | | | | | | | | | | | | | This will be used to listen for changes in the launcher view so that panels can be correctly drawn over the corresponding launcher icon. BUG=124115 TEST=aura_shell_unittests Review URL: https://chromiumcodereview.appspot.com/10116011 TBR=dcheng@chromium.org Review URL: https://chromiumcodereview.appspot.com/10142005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133103 0039d316-1c4b-4281-b951-d872f2087c98
* Implement LauncherIconObserver.dcheng@chromium.org2012-04-191-0/+69
This will be used to listen for changes in the launcher view so that panels can be correctly drawn over the corresponding launcher icon. BUG=124115 TEST=aura_shell_unittests Review URL: https://chromiumcodereview.appspot.com/10116011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133089 0039d316-1c4b-4281-b951-d872f2087c98