summaryrefslogtreecommitdiffstats
path: root/ash/shell.cc
Commit message (Collapse)AuthorAgeFilesLines
* Ash: Use translucent frames by defaultjamescook@chromium.org2012-03-071-2/+2
| | | | | | | | | | | | | | | | | | | Remove --aura-translucent-frames switch. Tie old-style frames to the existing --aura-window-mode=compact flag. Also fix a couple of cases where views::Widget wasn't be flagged as transparent, which would lead to black pixels in the window corners and incorrect headers in the inactive state. (Edit: I had to back out the conversion of constrained windows -- it breaks some unit tests and needs to be changed slightly.) BUG=113075 TEST=visual, look at active and inactive browser windows, popup windows, task manager (general dialog) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125251 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=125266 Review URL: http://codereview.chromium.org/9618022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125333 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 125251 - Ash: Use translucent frames by defaultdbeam@chromium.org2012-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was crashing a test on Linux ChromiumOS Tester (1): [ RUN ] PrintPreviewUIUnitTest.PrintPreviewData base::debug::StackTrace::StackTrace() [0x27842fe] base::(anonymous namespace)::StackDumpSignalHandler() [0x27bcd09] 0x7f5819766af0 ConstrainedWindowViews::ConstrainedWindowViews() [0x1c785db] ConstrainedHtmlUI::CreateConstrainedHtmlDialog() [0x1c78170] printing::PrintPreviewTabController::CreatePrintPreviewTab() [0x1a63a21] printing::PrintPreviewTabController::GetOrCreatePreviewTab() [0x1a63dfb] PrintPreviewUIUnitTest_PrintPreviewData_Test::TestBody() [0x12200ba] testing::Test::Run() [0x2351031] testing::TestInfo::Run() [0x23510fa] testing::TestCase::Run() [0x2351247] testing::internal::UnitTestImpl::RunAllTests() [0x23514dd] testing::UnitTest::Run() [0x234fbe3] base::TestSuite::Run() [0x3ef7f48] main [0x24716e5] 0x7f5819751c4d 0x423779 Remove --aura-translucent-frames switch. Tie old-style frames to the existing --aura-window-mode=compact flag. Also fix a couple of cases where views::Widget wasn't be flagged as transparent, which would lead to black pixels in the window corners and incorrect headers in the inactive state. BUG=113075 TEST=visual, look at active and inactive browser windows, popup windows, cookie management (constrained dialog), task manager (general dialog) Review URL: http://codereview.chromium.org/9618022 TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/9617029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125266 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Use translucent frames by defaultjamescook@chromium.org2012-03-061-2/+2
| | | | | | | | | | | | | | Remove --aura-translucent-frames switch. Tie old-style frames to the existing --aura-window-mode=compact flag. Also fix a couple of cases where views::Widget wasn't be flagged as transparent, which would lead to black pixels in the window corners and incorrect headers in the inactive state. BUG=113075 TEST=visual, look at active and inactive browser windows, popup windows, cookie management (constrained dialog), task manager (general dialog) Review URL: http://codereview.chromium.org/9618022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125251 0039d316-1c4b-4281-b951-d872f2087c98
* Reland - Show applications page in aura compact mode."flackr@chromium.org2012-03-061-0/+5
| | | | | | | | | BUG=116852 TEST=Launch chromeos aura in compact mode and observe that you can access applications on the new tab page. Review URL: https://chromiumcodereview.appspot.com/9616011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125202 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: CrOS dialogs use new window framesjamescook@chromium.org2012-03-061-0/+7
| | | | | | | | | | | | | | | | Convert ChromeOS dialogs to use new window frames with --aura-translucent-frames Refactored drawing and layout code from BrowserNonClientFrameView into ash::FramePainter Created new CustomFrameViewAsh following views::CustomFrameView and using ash::FramePainter I elected to have each NonClientFrameView keep ownership (via the view hierarchy) of its window icon and caption buttons. Also fixed color of the line under the toolbar. BUG=116804,113075 TEST=visual, open task manager and cookie management dialogs and ensure frames look correct with new buttons Review URL: http://codereview.chromium.org/9614012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125131 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Remove overlapping window modejamescook@chromium.org2012-03-051-23/+7
| | | | | | | | | | | We're going with "managed" window mode. Oshima made it the default last week and updated the tests, so this just removes the unused mode. I also removed Shell::set_compact_window_mode_for_test() in favor of using ShellDelegate::GetOverrideWindowMode() for the one test that needs compact mode. BUG=116614 TEST=aura_shell_unittests Review URL: https://chromiumcodereview.appspot.com/9600006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124961 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Constantify user methods of SystemTrayDelegate.tfarina@chromium.org2012-03-051-5/+5
| | | | | | | | R=sadrul@chromium.org,sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9584034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124932 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Make it work in ash_shell, and a couple more fixes.sadrul@chromium.org2012-03-041-8/+6
| | | | | | | | | | | The fixes: (1) make sure the popup shows up in login screen, (2) align the popup to the edge of the screen. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9596002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124903 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Make the user-card float a few pixels above the rest of the ↵sadrul@chromium.org2012-03-041-0/+2
| | | | | | | | | | | items. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9585012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124900 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Allow customizing each item depending on whether the user is ↵sadrul@chromium.org2012-03-031-1/+5
| | | | | | | | | | | | | | | | logged in or not. If a user is not logged in (e.g. in the login screen, or during an incognito session), some of the items need to behave differently. So provide this information to each of the items so that such customization is possible. Also, make sure all the items get a chance to update themselves when user logs in. BUG=110130 TEST=tested on device, logged in as normal user, and incognito. Review URL: https://chromiumcodereview.appspot.com/9580024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124863 0039d316-1c4b-4281-b951-d872f2087c98
* Switch default WM mode to managedoshima@chromium.org2012-03-021-3/+8
| | | | | | | | | | | | Don't align window to grid when restoring window. BUG=none TEST=none Review URL: http://codereview.chromium.org/9513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124718 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Add entry for power and date.sadrul@chromium.org2012-03-021-0/+5
| | | | | | | | | BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9562008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124690 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the singleton instance get/delete methods from RootWindow (yay)ben@chromium.org2012-03-021-8/+13
| | | | | | | | | http://crbug.com/112131 TEST=none Review URL: http://codereview.chromium.org/9535025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124635 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 124461 - Remove the singleton instance get/delete methods from ↵ben@chromium.org2012-03-011-13/+8
| | | | | | | | | | | | | RootWindow (yay) http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9535025 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9564023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124479 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the singleton instance get/delete methods from RootWindow (yay)ben@chromium.org2012-03-011-8/+13
| | | | | | | | http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9535025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124461 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Add a tray item for the user.sadrul@chromium.org2012-03-011-5/+25
| | | | | | | | | | | | | | The item includes the logged in users name/email, and buttons to shut-down/signout/lock. BUG=110130 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=124349 Review URL: https://chromiumcodereview.appspot.com/9561003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124368 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 124349 - ash uber tray: Add a tray item for the user.mattm@chromium.org2012-03-011-25/+5
| | | | | | | | | | | | | | | The item includes the logged in users name/email, and buttons to shut-down/signout/lock. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9561003 TBR=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/9545016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124350 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Add a tray item for the user.sadrul@chromium.org2012-03-011-5/+25
| | | | | | | | | | | | The item includes the logged in users name/email, and buttons to shut-down/signout/lock. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9561003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124349 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Use imperative verbs for Audio related methods.tfarina@chromium.org2012-02-291-2/+2
| | | | | | | | R=sadrul@chromium.org,sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9508002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124221 0039d316-1c4b-4281-b951-d872f2087c98
* Convert a bunch of AuraTestBase users to AshTestBase.ben@chromium.org2012-02-291-1/+10
| | | | | | | | http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9522012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124220 0039d316-1c4b-4281-b951-d872f2087c98
* Hide the mouse cursor when it boots in ChromeOS.mukai@chromium.org2012-02-291-0/+4
| | | | | | | | | | | | | This is originally implemented in CrOS's platform/window-manager but ported here for Aura. BUG=111385 TEST=manually Review URL: http://codereview.chromium.org/9416091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124207 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Make it possible for the system to send notifications to the ↵sadrul@chromium.org2012-02-291-3/+10
| | | | | | | | | | | | | | | tray. Volume/Brightness change notifications are sent from the system to the tray. This can be useful to update the tray items when something changes (either automatically, or by means other than the tray itself) BUG=110130,110131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9522003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124091 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Some adjustments after discussing with UX.sadrul@chromium.org2012-02-281-3/+3
| | | | | | | | | | | | | | | | * Add padding for the volume/brightness sliders. * Consolidate 'Settings' and 'Help' items into one. * Remove margin of the popup. * Move the trays in ash::internal namespace. * Hover effect on settings/help items. * Fix a crash when clicking on the status-view without closing the popup. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9475041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124002 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Add a brightness controller.sadrul@chromium.org2012-02-271-0/+2
| | | | | | | | | | | | | The brightness controller shows up and you can drag the slider, but it doesn't actually work, because of apparent lack of appropriate libcros API. But that can be fixed separately. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9481011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123818 0039d316-1c4b-4281-b951-d872f2087c98
* ash: A first step for the uber tray.sadrul@chromium.org2012-02-271-0/+69
| | | | | | | | | | | | | | | | | As a first step, there are items to open settings, help pages, and an item to allow [un]muting volume. The resources have not been uploaded yet. That will be done in a separate CL to allow this one to go through trybots etc. This new uber-tray can be turned on at runtime using --ash-uber-tray flag. BUG=110130 TEST=none yet. will be added when a little more fleshed out. Review URL: https://chromiumcodereview.appspot.com/9463039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123799 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate client API setters/getters to take a RootWindow.ben@chromium.org2012-02-261-3/+1
| | | | | | | | | http://crbug.com/112131 TEST=none TBR=sky Review URL: https://chromiumcodereview.appspot.com/9455081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123690 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Remove dynamic switching into and out of compact modejamescook@chromium.org2012-02-241-90/+21
| | | | | | | | | | | | Going forward we'll select compact mode based on command line flags passed by the session manager. Compact mode should go away entirely when Aura is more mature, so we don't need to maintain the ability to switch modes. This patch simplifies the Shell setup code and updates the Shell unit tests to match. BUG=115314 TEST=aura_shell_unittests, specifically Shell* Review URL: http://codereview.chromium.org/9452028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123532 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Create new containers for PowerButtonController.derat@chromium.org2012-02-231-62/+60
| | | | | | | | | | | | | | | | This nests ash's existing containers inside of three new higher-level containers-of-containers. The new higher-level containers can be animated by PowerButtonController without messing up transformations that have already been applied to the lower-level containers. BUG=114953 TEST=manual: locked and unlocked screen in compact mode with multiple browser windows Review URL: http://codereview.chromium.org/9428056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123288 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused weak ptr factoryoshima@chromium.org2012-02-221-1/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9431037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123115 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: New window shadows, desktop background debug togglejamescook@chromium.org2012-02-171-11/+24
| | | | | | | | | | | | | | | | | | | | | | + Shadows support different appearances for active and inactive states. + Shadow opacity animates on activation change. + ImageGrid supports changing its images, allowing us to maintain our use of a single set of shadow layers per window. + Press control-alt-B in a debug build to reset the desktop background to a solid color, useful with a white background for testing shadows. + Window shadow art assets were added in an earlier revision. After this change lands I will delete the previous art assets, ui/resources/aura/shadow_rect_* BUG=113075 TEST=aura_shell_unittests, added to ShadowControllerTest and ImageGridTest TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=122547 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=122551 Review URL: http://codereview.chromium.org/9414028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122618 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a RootWindow instance getter on the shell, in preparation for ↵ben@chromium.org2012-02-171-10/+14
| | | | | | | | | | removing RootWindow::GetInstance(). http://crbug.com/112131 TEST=compiles Review URL: https://chromiumcodereview.appspot.com/9395038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122561 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 122547 - Aura: New window shadows, desktop background debug togglejamescook@chromium.org2012-02-171-24/+11
| | | | | | | | | | | | | | | | | | | | + Shadows support different appearances for active and inactive states. + Shadow opacity animates on activation change. + ImageGrid supports changing its images, allowing us to maintain our use of a single set of shadow layers per window. + Press control-alt-B in a debug build to reset the desktop background to a solid color, useful with a white background for testing shadows. + Window shadow art assets were added in an earlier revision. After this change lands I will delete the previous art assets, ui/resources/aura/shadow_rect_* BUG=113075 TEST=aura_shell_unittests, added to ShadowControllerTest and ImageGridTest Review URL: https://chromiumcodereview.appspot.com/9414028 TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/9355013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122551 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: New window shadows, desktop background debug togglejamescook@chromium.org2012-02-171-11/+24
| | | | | | | | | | | | | | | | | + Shadows support different appearances for active and inactive states. + Shadow opacity animates on activation change. + ImageGrid supports changing its images, allowing us to maintain our use of a single set of shadow layers per window. + Press control-alt-B in a debug build to reset the desktop background to a solid color, useful with a white background for testing shadows. + Window shadow art assets were added in an earlier revision. After this change lands I will delete the previous art assets, ui/resources/aura/shadow_rect_* BUG=113075 TEST=aura_shell_unittests, added to ShadowControllerTest and ImageGridTest Review URL: https://chromiumcodereview.appspot.com/9414028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122547 0039d316-1c4b-4281-b951-d872f2087c98
* Makes it so the launcher only gets focus when using the keyboard.sky@chromium.org2012-02-171-0/+1
| | | | | | | | | | BUG=114502 TEST=see bug R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9406031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122459 0039d316-1c4b-4281-b951-d872f2087c98
* Move IME shortcut keys from X to Aura [part 1 of 3].yusukes@chromium.org2012-02-171-7/+8
| | | | | | | | | | | | | | - Add ash::ImeControlDelegate interface. - Call a method in the interface when an IME shortcut is pressed. - Modify ash::AcceleratorController so that it could handle pre- and post-IME shortcuts separately. BUG=110408 TEST=ran aura_shell_unittests Review URL: http://codereview.chromium.org/9370017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122411 0039d316-1c4b-4281-b951-d872f2087c98
* Panel dragging in Compact mode Aura layoutdslomov@chromium.org2012-02-161-3/+5
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9388032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122354 0039d316-1c4b-4281-b951-d872f2087c98
* Implement taking partial screenshot.mukai@chromium.org2012-02-161-2/+14
| | | | | | | | | | BUG=108763 TEST=manually && aura_shell_unittests passed Review URL: http://codereview.chromium.org/9368051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122281 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Fix InputMethodBridge crash on exit.xiyuan@chromium.org2012-02-151-0/+7
| | | | | | | | | | BUG=113770 TEST=Verify crash in issue 113770 no longer happens. Review URL: http://codereview.chromium.org/9358082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122104 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Hide cursor during and after shutdown.derat@chromium.org2012-02-141-3/+4
| | | | | | | | | | | | | | | | | | | | | This updates the semantics of aura::RootWindow::ShowCursor() so that after the cursor is hidden, it remains hidden during subsequent calls to SetCursor(). It also makes us not show the cursor on mouse movement if we're in the process of shutting down. Finally, it makes us set an invisible cursor on the root window when running on a Chrome OS device so that the cursor will remain hidden after Chrome has exited during shutdown. BUG=111884 TEST=manual: can't see cursor while shutting down now Review URL: http://codereview.chromium.org/9388030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121960 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Put resolution-based window mode switching behind a flag.jamescook@chromium.org2012-02-131-21/+19
| | | | | | | | | | | Putting this behind --aura-dynamic-window-mode until we're sure we need it. Reverted default window mode to overlapping, unless --aura-force-window-mode-compact is specified. This simplifies unit test setup, as the tests assume overlapping mode. I made the new flag set a bool so I can write unit tests without modifying CommandLine::ForCurrentProcess(). BUG=114018 TEST=aura_shell_unittests updated Review URL: https://chromiumcodereview.appspot.com/9388013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121752 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Hide the shelf/launcher in managed mode when a window goes fullscreen.sadrul@chromium.org2012-02-131-0/+6
| | | | | | | | | BUG=112914 TEST=aura_shell_unittests:ShellTest.FullscreenWindowHidesShelf Review URL: https://chromiumcodereview.appspot.com/9374008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121745 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Update status area position in compact mode.derat@chromium.org2012-02-111-0/+12
| | | | | | | | | | | | | | This makes us adjust the position of the status area when it compact mode depending on whether we're currently showing the login/lock screen or not. BUG=113001 TEST=added; also did manual testing Review URL: http://codereview.chromium.org/9379024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121616 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Fix crash on closing host window.xiyuan@chromium.org2012-02-101-16/+2
| | | | | | | | | | | | | | - Make Launcher owns its widget; - Update Shell's dtor since we no longer need to explicitly release launcher; Also removed explicit tooltip_controller_.reset() and let scoped_ptr handle its release. BUG=113466,104672 TEST=Verify crash in issue 113466 no longer happens and ASAN failure in 104672 does not regress. Review URL: http://codereview.chromium.org/9369061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121571 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Rationalize window mode initializationjamescook@chromium.org2012-02-101-31/+27
| | | | | | | | | | | | | | | | | A. Unit tests run in 800x600 (so width != height) with a special static bool set to force overlapping window mode. B1. Developers with no switches set start with a 1280x1024 window in overlapping mode. B2. The screen resolution heuristic will choose overlapping mode if the screen is > 800 pixels tall, which makes B1 easy. C. Developer host window reshapes are interpreted as resolution changes, so if the developer makes the window big the mode switches to overlapping. D. Passing --aura-window-mode=<foo> sets the window mode for the entire session. This is *not* passed by session manager. If a device starts up with a low-resolution external monitor, it gets compact mode. BUG=113299 TEST=aura_shell_unittests ShellTest.*, manually running linux_chromeos with --aura-window-mode=compact / overlapping, manual test on device Review URL: http://codereview.chromium.org/9369050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121567 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Display black background in compact window mode.derat@chromium.org2012-02-091-1/+10
| | | | | | | | | | | | | | This adds an always-visible black background when ash is using the compact window mode, to prevent the compositor's blue clear color from being visible when logging in, in the middle of animations, etc. BUG=chromium:10801 TEST=manual: logged in, switched windows, locked the screen, logged out, and shut down without seeing the blue background Review URL: http://codereview.chromium.org/9371004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121328 0039d316-1c4b-4281-b951-d872f2087c98
* Mac/Aura compile fixes for new accelerator / dispatcher codedhollowa@chromium.org2012-02-091-3/+12
| | | | | | | | | | | | | Gets things compiling and running again on Mac/Aura after new accelerator / dispatcher changes. BUG=None TEST=aura_shell_unittests R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9374002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121186 0039d316-1c4b-4281-b951-d872f2087c98
* Fix --aura-window-mode=compact on dev linux_chromeos buildsjamescook@chromium.org2012-02-081-5/+10
| | | | | | | | | | | | | BUG=none TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120887 Speculatively reverted at https://src.chromium.org/viewvc/chrome?view=rev&revision=120931 Review URL: https://chromiumcodereview.appspot.com/9363009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120986 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 120887 - Fix --aura-window-mode=compact on dev linux_chromeos buildsjamescook@chromium.org2012-02-081-10/+5
| | | | | | | | | | | | | | I'm suspicious this may have caused win_aura views_unittest failures. BUG=none TEST=manual Review URL: https://chromiumcodereview.appspot.com/9363009 TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/9360010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120931 0039d316-1c4b-4281-b951-d872f2087c98
* Close background widget synchronously when root window is deleted.oshima@chromium.org2012-02-081-0/+4
| | | | | | | | | | | Posting another task when destroying widget in posted CloseNow is too late. BUG=75023 TEST=none Review URL: https://chromiumcodereview.appspot.com/9339001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120901 0039d316-1c4b-4281-b951-d872f2087c98
* Fix --aura-window-mode=compact on dev linux_chromeos buildsjamescook@chromium.org2012-02-081-5/+10
| | | | | | | | | BUG=none TEST=manual Review URL: https://chromiumcodereview.appspot.com/9363009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120887 0039d316-1c4b-4281-b951-d872f2087c98