summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
Commit message (Collapse)AuthorAgeFilesLines
* ash: First pass of Applist v2.xiyuan@chromium.org2012-05-071-0/+3
| | | | | | | | | | | | | | - Add an "enable-applist-v2" command line switch and an about flag to trigger v2; - Add paging support to AppListModelView; - Add page switcher buttons for v2 UI; - Add AppListBubbleBorder to paint bubble for v2 UI; BUG=125964, 125044 TEST=Issue 125964 is not ready for test yet. For issue 125044, user can now gets overflown apps via keyboard. Review URL: https://chromiumcodereview.appspot.com/10381018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135729 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Remove old status-area related code.sadrul@chromium.org2012-04-111-3/+0
| | | | | | | | | | | | This removes --disable-ash-uber-tray from command-line and chrome://flags, and much of the code that becomes extinct because of this. BUG=122295 TEST=none Review URL: https://chromiumcodereview.appspot.com/10056001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131801 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Turn on the uber-tray by default.sadrul@chromium.org2012-03-171-1/+1
| | | | | | | | | | | | | You can still disable it from chrome://flags or using --disable-ash-uber-tray, but there's no reason for anyone to want to! TBR=davemoore@chromium.org BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9704102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127321 0039d316-1c4b-4281-b951-d872f2087c98
* Basic skeleton of a window/layer/view inspector.ben@chromium.org2012-03-121-0/+3
| | | | | | | | | | Ctrl+Shift+F1 brings it up. http://crbug.com/97266 TEST=none Review URL: https://chromiumcodereview.appspot.com/9662022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126207 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Remove string and command_line includes from ash_switches.cctfarina@chromium.org2012-03-081-4/+0
| | | | | | | | R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9653003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125672 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Remove compact window mode.jamescook@chromium.org2012-03-081-18/+0
| | | | | | | | | | | | | | | | | | | Remove MultipleWindowIndicatorButton Clean up OpaqueBrowserFrameView Remove CompactBrowserFrameView Remove ash/wm/compact_layout_manager and compact_status_area_layout_manager Remove window mode switches Remove window mode from ash::Shell Remove ShellDelegate::CycleOrder Remove ShellDelegate::GetOverrideWindowMode Remove all outside calls to Shell::IsWindowModeCompact BUG=117284 TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/9630002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125625 0039d316-1c4b-4281-b951-d872f2087c98
* Ash: Use translucent frames by defaultjamescook@chromium.org2012-03-071-3/+1
| | | | | | | | | | | | | | | | | | | 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-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+1
| | | | | | | | | | | | | | 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
* Aura: Remove overlapping window modejamescook@chromium.org2012-03-051-3/+0
| | | | | | | | | | | 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: A first step for the uber tray.sadrul@chromium.org2012-02-271-0/+3
| | | | | | | | | | | | | | | | | 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
* Aura: Remove dynamic switching into and out of compact modejamescook@chromium.org2012-02-241-6/+0
| | | | | | | | | | | | 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
* Aura: Put resolution-based window mode switching behind a flag.jamescook@chromium.org2012-02-131-0/+6
| | | | | | | | | | | 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
* Add PanelWindow and PanelLayoutManager to ash. (+ win fix)stevenjb@chromium.org2012-02-041-0/+3
| | | | | | | | | | | | | | | | | This implements a sample implementation of a WidgetDelegateView (PanelWindow) and a LayoutManager to provide an initial out ash_shell must be run with --aura-panels to get the new behavior, since Chrome currently relies on existing behavior for wi BUG=98330 TEST=Run ash_shell --aura-panels to see a simple panel test implementation. Ensure panels work as expected in Chrome. Original Review URL: http://codereview.chromium.org/9104027 TBR=dslomov@chromium.org Review URL: http://codereview.chromium.org/9325051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120478 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 120460 - Add PanelWindow and PanelLayoutManager to ash.tbreisacher@chromium.org2012-02-041-3/+0
| | | | | | | | | | | | | | | | | This implements a sample implementation of a WidgetDelegateView (PanelWindow) and a LayoutManager to provide an initial outline for developing panels. ash_shell must be run with --aura-panels to get the new behavior, since Chrome currently relies on existing behavior for widgets of TYPE_PANEL. BUG=98330 TEST=Run ash_shell --aura-panels to see a simple panel test implementation. Ensure panels work as expected in Chrome. Review URL: http://codereview.chromium.org/9104027 TBR=stevenjb@chromium.org Review URL: https://chromiumcodereview.appspot.com/9328026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120465 0039d316-1c4b-4281-b951-d872f2087c98
* Add PanelWindow and PanelLayoutManager to ash.stevenjb@chromium.org2012-02-041-0/+3
| | | | | | | | | | | | | | This implements a sample implementation of a WidgetDelegateView (PanelWindow) and a LayoutManager to provide an initial outline for developing panels. ash_shell must be run with --aura-panels to get the new behavior, since Chrome currently relies on existing behavior for widgets of TYPE_PANEL. BUG=98330 TEST=Run ash_shell --aura-panels to see a simple panel test implementation. Ensure panels work as expected in Chrome. Review URL: http://codereview.chromium.org/9104027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120460 0039d316-1c4b-4281-b951-d872f2087c98
* Adds switch to disable window animations. This is needed to disablesky@chromium.org2012-02-031-0/+3
| | | | | | | | | | | | animation for ui tests. BUG=111086 TEST=covered by tests R=ben@chromium.org,phajdan.jr@chromium.org Review URL: https://chromiumcodereview.appspot.com/9293026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120382 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Rework window mode flags to compact/overlapping/managedjamescook@chromium.org2012-02-011-5/+6
| | | | | | | | | | | | | | * Rename "normal" to "overlapping", since there was some confusion about whether or not compact mode is "normal" * Remove "--aura-workspace-manager" flag in favor of "--aura-window-mode=managed", as this feature is not compatible with compact mode. * Change about:flags Window mode to a three-way choice between modes BUG=112139 TEST=aura_shell_unittests ShellTest, manual check of about:flags Review URL: http://codereview.chromium.org/9316005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120035 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Replace UI-feature GYP flags with switches.derat@chromium.org2012-01-201-0/+11
| | | | | | | | | | | | | | | | | | This replaces the aura_show_about_flag_window_mode and chromeos_legacy_power_button GYP flags with --aura-force-compact-window-mode and --aura-legacy-power-button command-line switches. There is concern that using compile-time flags to control these features will greatly increase the workload on the Chrome OS builders; we apparently currently share Chrome binaries across all Chrome OS boards with the same architecture. BUG=109209,109052,chrome-os-partner:7570 TEST=manual Review URL: https://chromiumcodereview.appspot.com/9264025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118522 0039d316-1c4b-4281-b951-d872f2087c98
* [Aura] Remove webui applist and enable views applist.xiyuan@chromium.org2012-01-121-3/+0
| | | | | | | | | | BUG=105913,105620 TEST=Verify fix for issue 105913,105620. Review URL: http://codereview.chromium.org/9185014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117375 0039d316-1c4b-4281-b951-d872f2087c98
* Allow a Views client to provide a default frameview for window widgets.ben@chromium.org2012-01-111-0/+3
| | | | | | | | | | | | Provides a default one in Ash that will be used to match kennedy-spec. Much tweaking is needed, but that can come in future CLs. http://crbug.com/109138 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117165 Review URL: http://codereview.chromium.org/9166014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117170 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117165 - Allow a Views client to provide a default frameview for ↵ben@chromium.org2012-01-111-3/+0
| | | | | | | | | | | | | | | | window widgets. Provides a default one in Ash that will be used to match kennedy-spec. Much tweaking is needed, but that can come in future CLs. http://crbug.com/109138 TEST=none Review URL: http://codereview.chromium.org/9166014 TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9166035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117168 0039d316-1c4b-4281-b951-d872f2087c98
* Allow a Views client to provide a default frameview for window widgets.ben@chromium.org2012-01-111-0/+3
| | | | | | | | | | | Provides a default one in Ash that will be used to match kennedy-spec. Much tweaking is needed, but that can come in future CLs. http://crbug.com/109138 TEST=none Review URL: http://codereview.chromium.org/9166014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117165 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Toggling window mode in about:flags works on CrOS devicesjamescook@chromium.org2012-01-051-7/+1
| | | | | | | | | | | | | | The problem was that programmatically modifying the command line doesn't change switches visible in about:flags -- they are in a special section. Reworked the code to: * Not modify the command line when automatically setting the mode. We now store the mode in ash::Shell. * Add an "automatic" option for window mode, equivalent to not specifying anything on the command line. BUG=109002 TEST=aura_shell_unittests for Shell, manual on device modifying about:flags Review URL: http://codereview.chromium.org/9093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116438 0039d316-1c4b-4281-b951-d872f2087c98
* Rename the aura_shell namespace to ashben@chromium.org2011-12-241-2/+2
| | | | | | | | | http://crbug.com/108457 TEST=none TBR=sky Review URL: http://codereview.chromium.org/9033007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115748 0039d316-1c4b-4281-b951-d872f2087c98
* Move last few files -> ashben@chromium.org2011-12-231-0/+44
http://crbug.com/108457 TEST=none TBR=sky Review URL: http://codereview.chromium.org/9036011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115743 0039d316-1c4b-4281-b951-d872f2087c98