summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce MediaDelegateoshima@chromium.org2013-11-011-0/+6
| | | | | | | | 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
* Fix a crash reported in ASH reported in the Chrome SyzyASAN canary.ananta@chromium.org2013-10-291-0/+3
| | | | | | | | | | | | | | | | | | The crash occurs while executing the DisplayManager::CreateMirrorWindowIfAny task because the DisplayManager instance was destroyed. I was able to reproduce this by putting executing this task with a small delay and then closing ASH. Fix is to use a WeakPtrFactory for the DisplayManager::CreateMirrorWindowIfAny task Fixes bug https://code.google.com/p/chromium/issues/detail?id=309767 BUG=309767 R=sky@chromium.org, sky Review URL: https://codereview.chromium.org/46463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231467 0039d316-1c4b-4281-b951-d872f2087c98
* Make GetRootWindow() return a Window instead of a RootWindow.ben@chromium.org2013-10-251-17/+17
| | | | | | | | | | | | 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-1/+7
| | | | | | | | | | | 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-0/+6
| | | | | | | | | | 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
* ash: Move launcher_view* to shelf/ directory.tfarina@chromium.org2013-10-181-1/+1
| | | | | | | | | | | 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
* Created ash::FirstRunHelper.dzhioev@chromium.org2013-10-171-0/+13
| | | | | | | | | | | FirstRunHelper is an interface providing API for manipulating and retreiving information about Shell elements. It will be used by new first-run tutorial. BUG=269286 Review URL: https://codereview.chromium.org/26277006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229175 0039d316-1c4b-4281-b951-d872f2087c98
* [Cleanup] move root window controller init logic to root_window_controller.ccoshima@chromium.org2013-10-171-8/+2
| | | | | | | | | | Remove obsolete code and comments for 165214 BUG=273142,165214 Review URL: https://codereview.chromium.org/26800007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229106 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2: Refactor LauncherItemController and LauncherItemDelegatesimon.hong81@gmail.com2013-10-151-3/+1
| | | | | | | | | | | | | | | | | | | | Previous CL was reverted (https://codereview.chromium.org/23606016/) because LauncherItemDelegateManager holds destoryed LauncherModel pointer (in win7_aura trybot). To handle this, destroy LauncherItemDelegateManager and recreates a new one with new LauncherModel. Original description. * LauncherItemController subclasses LauncherItemDelegate * Register/Unregister when LauncherItemDelegate is created/removed * LauncherItemDelegateManager handles LauncherItemDelegate by LauncherID * LauncherItemDelegateManager take ownership of all LauncherItemDelegate R=sky@chromium.org, skuhne@chromium.org BUG=279105 TEST=unit_tests, browser_tests, ash_unittests, ash_shell Review URL: https://codereview.chromium.org/25823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228595 0039d316-1c4b-4281-b951-d872f2087c98
* Add autoclick accessibility feature to ash.tengs@chromium.org2013-10-101-0/+7
| | | | | | | | | | | | | BUG=272401 TEST=added unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226895 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227760 Review URL: https://codereview.chromium.org/24191002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227976 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: More power-related cleanup.derat@chromium.org2013-10-101-2/+2
| | | | | | | | | | | | | This consolidates SuspendObserver and ResumeObserver in a PowerEventObserver class within ash/system/chromeos/power and moves extension-related code into an ExtensionSystemEventObserver class. BUG=none Review URL: https://codereview.chromium.org/26692002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227855 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 227760 "Add autoclick accessibility feature to ash."mek@chromium.org2013-10-091-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test seems to still fail, although differently: http://build.chromium.org/p/chromium.win/builders/Win%20Aura%20Tests%20%281%29/builds/7105 AutoclickTest.KeyModifiersReleased: c:\b\build\slave\win_aura_builder\build\src\ash\autoclick\autoclick_unittest.cc(204): error: Value of: events[0].flags() & ui::EF_ALT_DOWN Actual: 0 Expected: ui::EF_ALT_DOWN Which is: 8 AutoclickTest.MultipleKeyModifiers: c:\b\build\slave\win_aura_builder\build\src\ash\autoclick\autoclick_unittest.cc(183): error: Value of: events[0].flags() & modifier_flags Actual: 0 Expected: modifier_flags Which is: 14 c:\b\build\slave\win_aura_builder\build\src\ash\autoclick\autoclick_unittest.cc(184): error: Value of: events[1].flags() & modifier_flags Actual: 0 Expected: modifier_flags Which is: 14 AutoclickTest.SingleKeyModifier: c:\b\build\slave\win_aura_builder\build\src\ash\autoclick\autoclick_unittest.cc(172): error: Value of: events[0].flags() & ui::EF_SHIFT_DOWN Actual: 0 Expected: ui::EF_SHIFT_DOWN Which is: 2 c:\b\build\slave\win_aura_builder\build\src\ash\autoclick\autoclick_unittest.cc(173): error: Value of: events[1].flags() & ui::EF_SHIFT_DOWN Actual: 0 Expected: ui::EF_SHIFT_DOWN Which is: 2 > Add autoclick accessibility feature to ash. > > BUG=272401 > TEST=added unit tests > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226895 > > Review URL: https://codereview.chromium.org/24191002 TBR=tengs@chromium.org Review URL: https://codereview.chromium.org/26732004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227812 0039d316-1c4b-4281-b951-d872f2087c98
* Add autoclick accessibility feature to ash.tengs@chromium.org2013-10-091-0/+7
| | | | | | | | | | | BUG=272401 TEST=added unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226895 Review URL: https://codereview.chromium.org/24191002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227760 0039d316-1c4b-4281-b951-d872f2087c98
* Reland "chromeos: Move several power-related classes to Ash"derat@chromium.org2013-10-091-2/+10
| | | | | | | | | | | | | | | | | | This reverts r227562 to reland r227544. Original description: "Move SuspendObserver, UserActivityNotifier, and VideoActivityNotifier from chrome/browser/chromeos/power to ash/system/chromeos/power." This iteration makes ash::Shell's destructor destroy VideoActivityNotifier before VideoDetector to avoid a use-after-free. BUG=none Review URL: https://codereview.chromium.org/26569003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227694 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r227544, "chromeos: Move several power-related ..."derat@chromium.org2013-10-081-10/+2
| | | | | | | | | | | This broke the ASAN builders. BUG=none TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/26561002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227562 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Move several power-related classes to Ash.derat@chromium.org2013-10-081-2/+10
| | | | | | | | | | | | Move SuspendObserver, UserActivityNotifier, and VideoActivityNotifier from chrome/browser/chromeos/power to ash/system/chromeos/power. BUG=none Review URL: https://codereview.chromium.org/25996007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227544 0039d316-1c4b-4281-b951-d872f2087c98
* Remove forced maximized modeoshima@chromium.org2013-10-081-4/+0
| | | | | | | | | BUG=272460 R=jamescook@chromium.org, scheib@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/26385003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227538 0039d316-1c4b-4281-b951-d872f2087c98
* Only show virtual keyboard on primary root windowbshe@chromium.org2013-10-041-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | In order to display virtual keyboard(VK) only on primary root window, this CL did 1. Shell takes ownership of keyboard controller(KC) instead of RootWindowController 2. keyboard container window is owned by KC instead of its parent There should only be one KC and one keyboard container at any time after this change. keyboard container can be dynamically enabled/disabled on a RootWindowController at runtime. If you want to do that, you should DisableKeyboard on the previous RootWindowController first and then EnableKeyboard on the new RootWindowController. BUG=297858 TEST= 1. enable virtual keyboard from about::/flags on a Chromebook 2. plug in an external monitor verify only one virtual keyboard shows Review URL: https://codereview.chromium.org/25111002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227088 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented ash::ShellObserver::OnFullscreenStateChanged to trigger hiding / ↵varkha@chromium.org2013-10-041-0/+5
| | | | | | | | | | | restoring all visible docked windows only once. This also takes care of the immersive fullscreen that was not handled properly before (the docked windows were not properly hidden). BUG=297975 TEST=visual - follow the bug repro steps Review URL: https://codereview.chromium.org/25262004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227000 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 226895 "Add autoclick accessibility feature to ash."tapted@chromium.org2013-10-041-7/+0
| | | | | | | | | | | | | | | | | | | | | | | This seems to be killing ash_unittests in a bad way. Last three runs on Win Aura Tests (1) in the main waterfall end with: [----------] 4 tests from AutoclickTest [ RUN ] AutoclickTest.ToggleEnabled command timed out: 600 seconds without output, attempting to kill > Add autoclick accessibility feature to ash. > > BUG=272401 > TEST=added unit tests > > Review URL: https://codereview.chromium.org/24191002 TBR=tengs@chromium.org Review URL: https://codereview.chromium.org/25973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226961 0039d316-1c4b-4281-b951-d872f2087c98
* Move WindowPositioner to ash/wmoshima@chromium.org2013-10-041-1/+6
| | | | | | | | | | | | WindowPositioner doesn't depend on chrome at all. window_positioner_unittest remains c/b/ui/ash as it depends on browser. I'll add separate tests in ash for this. BUG=272460 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/25852004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226941 0039d316-1c4b-4281-b951-d872f2087c98
* Add autoclick accessibility feature to ash.tengs@chromium.org2013-10-031-0/+7
| | | | | | | | | BUG=272401 TEST=added unit tests Review URL: https://codereview.chromium.org/24191002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226895 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 226547 "Refactor LauncherItemController and LauncherItemD..."dcheng@chromium.org2013-10-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | > Refactor LauncherItemController and LauncherItemDelegate > > * Remove LauncherItem parameter of LauncherItemDelegate method > * LauncherItemController subclasses LauncherItemDelegate > * Register/Unregister when LauncherItemDelegate is created/removed > * LauncherItemDelegateManager handles LauncherItemDelegate by LauncherID > * LauncherItemDelegateManager take ownership of all LauncherItemDelegate > > R=sky@chromium.org, skuhne@chromium.org > BUG=279105 > TEST=unit_tests, browser_tests, ash_unittests, ash_shell > > Review URL: https://codereview.chromium.org/23606016 TBR=simon.hong81@gmail.com Review URL: https://codereview.chromium.org/25716004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226580 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor LauncherItemController and LauncherItemDelegatesimon.hong81@gmail.com2013-10-021-3/+1
| | | | | | | | | | | | | | | | * Remove LauncherItem parameter of LauncherItemDelegate method * LauncherItemController subclasses LauncherItemDelegate * Register/Unregister when LauncherItemDelegate is created/removed * LauncherItemDelegateManager handles LauncherItemDelegate by LauncherID * LauncherItemDelegateManager take ownership of all LauncherItemDelegate R=sky@chromium.org, skuhne@chromium.org BUG=279105 TEST=unit_tests, browser_tests, ash_unittests, ash_shell Review URL: https://codereview.chromium.org/23606016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226547 0039d316-1c4b-4281-b951-d872f2087c98
* Add an event filter to log the time between keystrokes.stevet@chromium.org2013-09-261-0/+4
| | | | | | | | | | BUG=292290 TEST=In an Aura enabled version of Chrome, type a bunch of words into the Omnibox. Then visit about:histograms and ensure that a Keyboard.KeystrokeDeltas histogram exists with various values. Review URL: https://codereview.chromium.org/24409002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225415 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Rename AppListLauncherItemDelegate and move to shelf/ directory.tfarina@chromium.org2013-09-191-3/+3
| | | | | | | | | | | | Just cleanup, boring, trivial work. BUG=248353 TEST=none, no functional changes. R=jamescook@chromium.org,xiyuan@chromium.org Review URL: https://chromiumcodereview.appspot.com/23537044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224217 0039d316-1c4b-4281-b951-d872f2087c98
* Moves ui/base/events to ui/eventssky@chromium.org2013-09-181-1/+1
| | | | | | | | | | | 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
* Remove mac code from aura/ash/viewsoshima@chromium.org2013-09-181-8/+0
| | | | | | | | BUG=275898 Review URL: https://chromiumcodereview.appspot.com/23483041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223839 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GetActiveRootWindow -> GetTargetRootWindowoshima@chromium.org2013-09-121-3/+2
| | | | | | | | | | Fixed wrong use of GetActiveRootWindow in couple of places. BUG=266378 Review URL: https://chromiumcodereview.appspot.com/23461048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222914 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old activation code and disable-focus-controller flagsoshima@chromium.org2013-09-051-2/+0
| | | | | | | | BUG=285339,285364 Review URL: https://chromiumcodereview.appspot.com/23874013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221529 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor LauncherDelegatesimon.hong81@gmail.com2013-08-281-0/+9
| | | | | | | | | | | | | | | | | | (This CL is splitted from https://codereview.chromium.org/11513005/ prior to adding LauncherItem for dialog) Refactor LauncherItem bits in LauncherDelegate into LauncherItemDelegate. LauncherItemDelegateManager helps Launcher/LauncherView to choose right LauncherItemDelegate based on LauncherItemType. * AppListLauncherItemDelegate is added for TYPE_APP_LIST. * LauncherItemManager (subclass of LauncherItemDelegate) will be added for TYPE_DIALOG in the separate CL. R=sky@chromium.org, skuhne@chromium.org BUG=121242, 279105 TEST=browser_tests, unit_tests, ash_unittests Review URL: https://chromiumcodereview.appspot.com/22429004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219924 0039d316-1c4b-4281-b951-d872f2087c98
* Refactors CaptureController so that both views and ash can use it.sky@chromium.org2013-08-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | CaptureController and DesktopCaptureClient differed only slightly, and the latter wasn't always cleaning things up leading to the possibility of a use after free. Specifically DesktopCaptureClient::SetCapture() invokes OnOtherCaptureClientTookCapture() *after* updating the capture_window_. SetCapture in term invokes SetCapture(NULL) on the other DesktopCaptureClient, which call GetCaptureWindow(), which returns the first non-null capture_client_, which can be the new one when it wants the old one. This change also means when both ash and aura-windows are running at the same time capture is correctly updated between the two. BUG=268648 TEST=covered by tests. R=erg@chromium.org, oshima@chromium.org Review URL: https://codereview.chromium.org/22929007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219019 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Get output info from chromeos instead of XRandR.derat@chromium.org2013-08-201-3/+3
| | | | | | | | | | | | This updates DisplayChangeObserverX11 to use the output info passed by OutputConfigurator instead of querying XRandR for it. Doing so avoids a 60 ms call to XRRGetScreenResources(). BUG=266113 Review URL: https://chromiumcodereview.appspot.com/23286003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218427 0039d316-1c4b-4281-b951-d872f2087c98
* Creates notifications for display resolution change.mukai@chromium.org2013-08-101-0/+9
| | | | | | | | | | | | | | | | The notification notifies the change of the resolution, and contains "Revert" button in case the new resolution doesn't work well. Also it creates timeout in case the change operation is potentially dangerous, which means changing the resolution of the only one display. BUG=230733, 266097 R=oshima@chromium.org, derat@chromium.org TEST=new test cases in ash_unittests Review URL: https://chromiumcodereview.appspot.com/22703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216881 0039d316-1c4b-4281-b951-d872f2087c98
* [ash] Enable drag and drop support in all visible app listsimon.hong81@gmail.com2013-08-071-8/+0
| | | | | | | | | | | | | | | | Motivation of this CL: Only app list shown by clicking app list button enables drag and drop from app list to launcher because dnd host is only set by app list button click. Other behaviors such as webapp installing from web store or accelerator show app list, too. DnD feature also should be enabled with these cases. R=skuhne@chromium.org BUG=267410 TEST=Manual test Review URL: https://chromiumcodereview.appspot.com/21765002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216265 0039d316-1c4b-4281-b951-d872f2087c98
* Add window overview mode behind --ash-enable-overview-mode flag to F5 key.flackr@chromium.org2013-08-011-0/+5
| | | | | | | | | | | 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
* open new window in the same root window where the launcher was inoshima@chromium.org2013-08-011-8/+16
| | | | | | | | | | | | | * Introduced ScopedRootWindowActivator to temporarily switch active root window. BUG=241571 TEST=covered by test Review URL: https://chromiumcodereview.appspot.com/19945008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215000 0039d316-1c4b-4281-b951-d872f2087c98
* Retires Workspace and WorkspaceManager.mukai@chromium.org2013-07-311-1/+0
| | | | | | | | | | | | | | | | | | Now only a single workspace is provided to a user, so there's nothing to 'manage' multiple workspaces. Several property settings and code in the deleted code has been moved to WorkspaceController and WorkspaceLayoutManager. The test is also moved to WorkspaceControllerTest. BUG=264396 R=sky@chromium.org TEST=ash_unittests still passes Review URL: https://chromiumcodereview.appspot.com/21148003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214869 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor most recently used window tracking into a separate class.flackr@chromium.org2013-07-311-0/+5
| | | | | | | | | BUG=263477 TEST=None Review URL: https://chromiumcodereview.appspot.com/20708005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214609 0039d316-1c4b-4281-b951-d872f2087c98
* Migrates locale notification from system tray to the message center.mukai@chromium.org2013-07-311-0/+4
| | | | | | | | | BUG=259136 R=stevenjb@chromium.org Review URL: https://chromiumcodereview.appspot.com/19716003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214583 0039d316-1c4b-4281-b951-d872f2087c98
* [Cleanup]oshima@chromium.org2013-07-121-5/+0
| | | | | | | | | | | | | | | | | | * Remove aura from DisplayManager -Introduced DislayManager::Delegate to decouple DisplayController - Moved methods that requires aura to DisplayController - Changed to use DisplayInfo to get native bounds instead of RootWindow. * Moved mirror_window_controller_ from Shell to DisplayControlller. This should belong to DC rather than Shell. BUG=253991 Review URL: https://chromiumcodereview.appspot.com/19038002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211357 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify RootWindowController init processoshima@chromium.org2013-07-031-2/+4
| | | | | | | | | | Fixed the order of method body to match the order in header. BUG=253991 Review URL: https://chromiumcodereview.appspot.com/18266004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209915 0039d316-1c4b-4281-b951-d872f2087c98
* Separate projection mode from rest of touch HUDmohsen@chromium.org2013-07-011-0/+8
| | | | | | | | | | | | | Projection mode is separated from the rest of the touch HUD. It now can be toggled on/off using Ctrl+Alt+9 key combination and no command line flag is needed. The rest of the touch HUD is still behind the --ash-touch-log flag. BUG=233567 Review URL: https://chromiumcodereview.appspot.com/17063013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209523 0039d316-1c4b-4281-b951-d872f2087c98
* Add ContextMenuSourceType to ↵varunjain@chromium.org2013-06-181-1/+3
| | | | | | | | | | | | | views::ContextMenuController::ShowContextMenuForView. This will help bring context menu positioning logic to one place and unify the positioning logic for all views. BUG=239110 Review URL: https://chromiumcodereview.appspot.com/16979002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207019 0039d316-1c4b-4281-b951-d872f2087c98
* Rename SessionStateController -> LockStateController.nkostylev@chromium.org2013-05-301-4/+4
| | | | | | | | | | | | | | | | | | | Now that we have SessionStateDelegate which covers more aspects of the session than just lock/unlock/shut down animations makes sense to rename lock animation related classes. SessionStateController -> LockStateController SessionStateControllerImpl2 > LockStateControllerImpl2 SessionStateObserver > LockStateObserver SessionStateObserver will be used as observer for SessionStateDelegate for things like active user changed etc. NOT renaming SessionStateControllerImpl since it is a legacy implementation and will removed soon. BUG=180903 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/15974008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203193 0039d316-1c4b-4281-b951-d872f2087c98
* This CL create just a window which will be used to show oshima@chromium.org2013-05-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | the mirrored content of the source window. See the next steps for misc: * added debug+desktop only shortcut * rotating square display now update the root window. Next steps: * Mirror cursor * Modify OutputConfigurator to fallback to software mirror mode. * Scale the root window size for mirror window so that it has the same size as the source root window. * Copy texture from soruce window to dest window. * Handle device scale factor/cursor scaling. BUG=239776 TEST=covered by test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201618 Review URL: https://chromiumcodereview.appspot.com/15367003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201870 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 201618 because it broke cros bots and win-aura bot.sadrul@chromium.org2013-05-231-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | > This CL create just a window which will be used to show > the mirrored content of the source window. See the next steps > for > > misc: > * added debug+desktop only shortcut > * rotating square display now update the root window. > > Next steps: > * Mirror cursor > * Modify OutputConfigurator to fallback to software mirror mode. > * Scale the root window size for mirror window so that > it has the same size as the source root window. > * Copy texture from soruce window to dest window. > * Handle device scale factor/cursor scaling. > > BUG=239776 > TEST=covered by test > > Review URL: https://chromiumcodereview.appspot.com/15367003 TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/15799002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201668 0039d316-1c4b-4281-b951-d872f2087c98
* This CL create just a window which will be used to show oshima@chromium.org2013-05-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | the mirrored content of the source window. See the next steps for misc: * added debug+desktop only shortcut * rotating square display now update the root window. Next steps: * Mirror cursor * Modify OutputConfigurator to fallback to software mirror mode. * Scale the root window size for mirror window so that it has the same size as the source root window. * Copy texture from soruce window to dest window. * Handle device scale factor/cursor scaling. BUG=239776 TEST=covered by test Review URL: https://chromiumcodereview.appspot.com/15367003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201618 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ash-disable-launcher-per-display flagoshima@chromium.org2013-05-101-3/+0
| | | | | | | | | BUG=239681 TEST=none Review URL: https://chromiumcodereview.appspot.com/14584004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199368 0039d316-1c4b-4281-b951-d872f2087c98
* This is the first of two patches to drag and drop items from the app list to ↵skuhne@chromium.org2013-05-081-0/+8
| | | | | | | | | | | | | | | | | | | the launcher. Everything basically works with this patch, but two essential things are still missing: 1. The icon which gets dragged should get its own widget so that it can get visually dragged outside the app list. 2. The unit tests. They will be send as a second patch because of: a. The patch is already pretty big as it is. b. I want to make get this "signed off" before continuing this route. BUG=166429 TEST=visual, tests come with second patch Review URL: https://chromiumcodereview.appspot.com/14533006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199016 0039d316-1c4b-4281-b951-d872f2087c98