summaryrefslogtreecommitdiffstats
path: root/ui/base/ui_base_switches.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix ResourceBundleImageSource so that it does not crash when 1.4x resources ↵pkotwicz@chromium.org2012-09-191-1/+1
| | | | | | | | | | | | | are requested. BUG=148841 Test=ResourceBundle.GetImageNamed Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157201 Review URL: https://chromiumcodereview.appspot.com/10928231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157583 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 157201 - Fix ResourceBundleImageSource so that it does not crash when ↵viettrungluu@chromium.org2012-09-171-1/+1
| | | | | | | | | | | | | | | | 1.4x resources are requested. [Caused various test failures.] BUG=148841 Test=ResourceBundle.GetImageNamed Review URL: https://chromiumcodereview.appspot.com/10928231 TBR=pkotwicz@chromium.org Review URL: https://codereview.chromium.org/10905314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157209 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ResourceBundleImageSource so that it does not crash when 1.4x resources ↵pkotwicz@chromium.org2012-09-171-1/+1
| | | | | | | | | | | are requested. BUG=148841 Test=ResourceBundle.GetImageNamed Review URL: https://chromiumcodereview.appspot.com/10928231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157201 0039d316-1c4b-4281-b951-d872f2087c98
* Touch: Adding switch for X calibration and disabling it temporarily.skuhne@chromium.org2012-09-071-0/+1
| | | | | | | | | | | | | We temporarily need to disable the calibration in X since too many ghost events show up on bending the display. Passing in calibration values via command line will be added in the next iteration. BUG=chrome-os-parter:12561 TEST=visual Review URL: https://chromiumcodereview.appspot.com/10913119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155515 0039d316-1c4b-4281-b951-d872f2087c98
* Split default font settings into webkit and browser settings having separate ↵flackr@chromium.org2012-09-041-1/+2
| | | | | | | | | | | | | | flags to enable subpixel positioning. Allows separately specifying subpixel positioning for webkit and browser UI. Adds a flag in about:flags to enable subpixel positioning in web pages. BUG=145020 TEST=Run chrome with Webkit text subpixel positioning flag enabled and navigate to http://jsfiddle.net/ALd5F/21/, span widths should be non-integer values. Review URL: https://chromiumcodereview.appspot.com/10916055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154767 0039d316-1c4b-4281-b951-d872f2087c98
* Turning off the bezel device control functionalityskuhne@chromium.org2012-08-311-1/+1
| | | | | | | | | BUG=144708 Review URL: https://chromiumcodereview.appspot.com/10911015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154329 0039d316-1c4b-4281-b951-d872f2087c98
* Put slider bezel operations behind a flag and make them noise robustskuhne@chromium.org2012-08-231-0/+1
| | | | | | | | | | | Submit failed due to unit test and I needed to change and re-submit. (See issue 10855207) BUG=141720 TEST=unit test Review URL: https://chromiumcodereview.appspot.com/10871024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152931 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 152794 - Put slider bezel operations behind a flag and make them ↵jhorwich@chromium.org2012-08-221-1/+0
| | | | | | | | | | | | | | noise robust BUG=141720 TEST=visual Review URL: https://chromiumcodereview.appspot.com/10855207 TBR=skuhne@google.com Review URL: https://chromiumcodereview.appspot.com/10877023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152798 0039d316-1c4b-4281-b951-d872f2087c98
* Put slider bezel operations behind a flag and make them noise robustskuhne@google.com2012-08-221-0/+1
| | | | | | | | | BUG=141720 TEST=visual Review URL: https://chromiumcodereview.appspot.com/10855207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152794 0039d316-1c4b-4281-b951-d872f2087c98
* Remove --load-2x-resources flag.flackr@chromium.org2012-08-091-1/+0
| | | | | | | | | | BUG=140040 TEST=Running chrome with --force-device-scale-factor=2 still loads 2x resources. Review URL: https://chromiumcodereview.appspot.com/10837142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150648 0039d316-1c4b-4281-b951-d872f2087c98
* Enable new checkbox style by default (Linux/CrOS only)rbyers@chromium.org2012-07-241-1/+1
| | | | | | | | | | | | | | | | Also stop supporting non-square widgets, no other browser seems to do this and it exposes bugs in web pages. This is re-landing r147887 (reverted in r147899 due to breaking WebKit pixel tests). Temporarily suppresses the WebKit pixel test failures. I've reviewed each by hand to make sure the only change is what we expect with this style change. The baseline will be updated (and these expectations reverted) with the next WebKit roll. TBR=sky@chromium.org (identical to r147887 already reviewed) BUG=125773 TEST=A bunch of WebKit pixel tests Review URL: https://chromiumcodereview.appspot.com/10805068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148161 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 147887 - Enable new checkbox style by default (Linux/CrOS only)rbyers@chromium.org2012-07-231-1/+1
| | | | | | | | | | | | | | | | | | | Broke WebKit layout tests, will update and reland. Also stop supporting non-square widgets, no other browser seems to do this and it exposes bugs in web pages. BUG=125773 TEST= Review URL: https://chromiumcodereview.appspot.com/10796071 TBR=rbyers@chromium.org Review URL: https://chromiumcodereview.appspot.com/10810060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147899 0039d316-1c4b-4281-b951-d872f2087c98
* Enable new checkbox style by default (Linux/CrOS only)rbyers@chromium.org2012-07-231-1/+1
| | | | | | | | | | | | | Also stop supporting non-square widgets, no other browser seems to do this and it exposes bugs in web pages. BUG=125773 TEST= Review URL: https://chromiumcodereview.appspot.com/10796071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147887 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Make tab/tabstrip high density compatibleoshima@chromium.org2012-07-101-0/+1
| | | | | | | | | | | added ImageSkiaOperations and replaced Bitmap with ImageSkiaRep/ImagSkia. BUG=122992 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10704113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145976 0039d316-1c4b-4281-b951-d872f2087c98
* Disable core animation plugins when compositing is unavailable.jbauman@chromium.org2012-06-281-0/+1
| | | | | | | | | | | | When compositing is disabled or blacklisted we won't be able to composite core animation plugins, so disable them. BUG=122430 TEST=flash works on nytimes.com with --disable-accelerated-compositing TBR=kbr Review URL: https://chromiumcodereview.appspot.com/10695027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144667 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 144578 - Disable core animation plugins when compositing is unavailable.jbauman@chromium.org2012-06-281-1/+0
| | | | | | | | | | | | | | When compositing is disabled or blacklisted we won't be able to composite core animation plugins, so disable them. BUG=122430 TEST=flash works on nytimes.com with --disable-accelerated-compositing Review URL: https://chromiumcodereview.appspot.com/10542112 TBR=jbauman@chromium.org Review URL: https://chromiumcodereview.appspot.com/10698028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144665 0039d316-1c4b-4281-b951-d872f2087c98
* Disable core animation plugins when compositing is unavailable.jbauman@chromium.org2012-06-271-0/+1
| | | | | | | | | | | When compositing is disabled or blacklisted we won't be able to composite core animation plugins, so disable them. BUG=122430 TEST=flash works on nytimes.com with --disable-accelerated-compositing Review URL: https://chromiumcodereview.appspot.com/10542112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144578 0039d316-1c4b-4281-b951-d872f2087c98
* Remove --default-device-scale-factor because chrome now gets scale factor ↵oshima@chromium.org2012-06-141-1/+1
| | | | | | | | | | | | | | from device. Add --force-device-scale-factor instead to override it. Remove obsolete comment in resource bundle. BUG=none TEST=manual Review URL: https://chromiumcodereview.appspot.com/10546158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142163 0039d316-1c4b-4281-b951-d872f2087c98
* New checkbox and radio button appearancerbyers@chromium.org2012-06-141-0/+1
| | | | | | | | | | | | Update the appearance of checkboxes and radio buttons on Linux and ChromeOS to our new style (matching what's already used in Chrome's setting page). This uses vector drawing instead of static png images to enable support for arbitrary scaling in high-quality. Enabled with --new-widget-appearance, or by running in high-DPI mode. BUG=125773, 123668 TEST= Review URL: https://chromiumcodereview.appspot.com/10540116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142080 0039d316-1c4b-4281-b951-d872f2087c98
* Add Windows commandline switch --enable-views-textfield.msw@chromium.org2012-06-081-0/+1
| | | | | | | | | | | | | | | | | | | This switch controls use of NativeTextfield[Win|Views]. Enable and fix NativeTextfieldViewsTest on Windows. Add switch&strings; hook up NativeThemeWin FocusableBorder colors. Create InputMethodWin for --enable-views-textfield (or USE_AURA). Consolidate NativeTextfieldWrapper::CreateWrapper impls. TODO(followup): Fix 2*RequestFocus in unit test setup. TODO(followup): Also toggle OmniboxView[Win|Views]. BUG=131660 TEST=NativeTextfieldViewsTest.*, use the flag to flip the find bar, bookmark bubble/edit, etc. (not omnibox yet) Review URL: https://chromiumcodereview.appspot.com/10535046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141272 0039d316-1c4b-4281-b951-d872f2087c98
* Add flag which shows visually places where hidpi resources are supported ↵pkotwicz@chromium.org2012-06-081-0/+1
| | | | | | | | | | | however a hidpi resource cannot be shown because of missing assets Bug=131631 Test=manual Review URL: https://chromiumcodereview.appspot.com/10494013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141222 0039d316-1c4b-4281-b951-d872f2087c98
* Promotes touch-devices to ui_base so that ash can use it.sky@chromium.org2012-05-251-0/+4
| | | | | | | | | | | BUG=none TEST=none R=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10449027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139101 0039d316-1c4b-4281-b951-d872f2087c98
* Load 2x resources for touch.oshima@chromium.org2012-05-251-0/+1
| | | | | | | | | | | Put 2x resources behing --load-2x-resources flag. BUG=128555 TEST=none Review URL: https://chromiumcodereview.appspot.com/10443023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139003 0039d316-1c4b-4281-b951-d872f2087c98
* Changing default for calibration from enable to disableskuhne@chromium.org2012-05-141-1/+1
| | | | | | | | | | BUG=127616 TEST=None Review URL: https://chromiumcodereview.appspot.com/10332133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136983 0039d316-1c4b-4281-b951-d872f2087c98
* Make touch-optimized-ui a tri-state flagrbyers@chromium.org2012-05-141-0/+3
| | | | | | | | | | | | | | | | | By default ('auto') touch-optimized-UI will be enabled if any touch screen is present. The user can also manually disable or enable it ('disabled', 'enabled') for testing purposes. Note that for now --enable-touch-events is still required to enable the use of touch screens (and hence impact 'auto' here) since it's still experimental. Also cleans up all the different ways we were trying to read this mode, unifying on ui::GetDisplayLayout(). BUG=124199 TBR=estade@chromium.org (only change in resources is trivial comment change) TEST= Review URL: https://chromiumcodereview.appspot.com/10391035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136968 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add flag for subpixel-positioned text.derat@chromium.org2012-05-091-0/+1
| | | | | | | | | | | | | This adds a --enable-text-subpixel-positioning flag that can be set to enable unhinted, subpixel-positioned text on Chrome OS. BUG=125066 TEST=manual: set flag and checked that each occurrence of a given character is a unique (but not necessarily beautiful) snowflake Review URL: https://chromiumcodereview.appspot.com/10388033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136041 0039d316-1c4b-4281-b951-d872f2087c98
* Calibrating touch inputskuhne@chromium.org2012-05-071-0/+1
| | | | | | | | | | BUG=116890 TEST=None, manually tested Review URL: https://chromiumcodereview.appspot.com/10306014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135747 0039d316-1c4b-4281-b951-d872f2087c98
* Get the default device scale factor from monitor oshima@chromium.org2012-05-011-0/+1
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/10255020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134677 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Put touch-event support behind a flag (--enable-touch-events) ↵sadrul@chromium.org2012-04-201-0/+1
| | | | | | | | | | | until it's more baked. BUG=122884 TEST=none Review URL: https://chromiumcodereview.appspot.com/10165008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133273 0039d316-1c4b-4281-b951-d872f2087c98
* ui/base: Move message_box_win.{h,cc} to ui/base/win.tfarina@chromium.org2012-03-121-0/+1
| | | | | | | | | R=sky@chromium.org TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/9669028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126144 0039d316-1c4b-4281-b951-d872f2087c98
* More touch UI tab strip changesscottmg@google.com2012-02-171-1/+2
| | | | | | | | | | | | | | | | - Moves test for touch mode out to slightly higher level for availability to rest of views. - When in touch mode, sets a large minimum size for tabs so they're always easily selectable. - beginnings of drag controller and tab strip layout for stacking (only at left edge so far). Currently, drag controller does not commit positions, and tabs snap back to original location on drag end. BUG=106938 TEST=drag tabstrip to left in touch mode Review URL: https://chromiumcodereview.appspot.com/9385024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122408 0039d316-1c4b-4281-b951-d872f2087c98
* Render Core Animation plugins through WebKit's compositor rather thankbr@chromium.org2011-11-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directly to the screen in the browser process. The new composited code path is now the default, though the old code path has been left in place under a command line flag while we gain confidence. Issue 105344 has been filed about removing the old code path. The new code path does not currently support 10.5. The consequence is that plugins using the InvalidatingCoreAnimation rendering model will not work on this version of Mac OS. Pepper 3D is not affected; it now uses a different rendering path. Changed the type of IOSurfaces' IDs from uint64 to uint32 in a few places throughout the code to match the IOSurfaceID typedef in the system header. This was necessary in order to simplify integration with Chrome's OpenGL code. There is a known problem in the new code path with garbage occasionally being drawn to the plugin's area during live resizing of Core Animation plugins. Issue 105346 has been filed to track this. It is unclear whether the additional complexity of the fix that is likely needed is worth it. Tested manually with the following content, with and without the --disable-composited-core-animation-plugins flag: - YouTube (does not trigger this code path) - Google+ Hangouts - http://unity3d.com/gallery/demos/live-demos (Unity 3D) - http://www.erain.com/labs/molehill/ (Stage 3D in Flash 11) - http://www.nissan-stagejuk3d.com/ (Stage 3D in Flash 11, live resizing; web site is flaky, sometimes fails to start) BUG=38967 TEST=manual testing with above test cases Review URL: http://codereview.chromium.org/8678037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112126 0039d316-1c4b-4281-b951-d872f2087c98
* Rename UI_API to UI_EXPORT.darin@chromium.org2011-08-061-3/+3
| | | | | | | R=rvargas@chromium.org Review URL: http://codereview.chromium.org/7569005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95730 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ui.dll / libui.so for the component build.darin@chromium.org2011-07-171-2/+4
| | | | | | | R=ben@chromium.org Review URL: http://codereview.chromium.org/7328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92819 0039d316-1c4b-4281-b951-d872f2087c98
* Move kLocalePak into ui/base/ from base/. Fixes component build of ↵sadrul@chromium.org2011-07-061-0/+1
| | | | | | | | | | | views_desktop. BUG=none TEST=none Review URL: http://codereview.chromium.org/7312010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91621 0039d316-1c4b-4281-b951-d872f2087c98
* Move ResourceBundle, DataPack to ui/baseben@chromium.org2011-01-201-0/+17
BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6263008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72038 0039d316-1c4b-4281-b951-d872f2087c98