summaryrefslogtreecommitdiffstats
path: root/ui/gfx
Commit message (Collapse)AuthorAgeFilesLines
* Revert 136823 - Get rid of Image::Image(SkBitmap*); because of win build failuretoyoshim@chromium.org2012-05-149-51/+71
| | | | | | | | | | | | | | Bug=124566 Test=Compiles on CrOS,Mac Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136812 Review URL: https://chromiumcodereview.appspot.com/10378009 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10392075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136830 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of Image::Image(SkBitmap*)pkotwicz@chromium.org2012-05-149-71/+51
| | | | | | | | | | | Bug=124566 Test=Compiles on CrOS,Mac Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136812 Review URL: https://chromiumcodereview.appspot.com/10378009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136823 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 136812 - Get rid of Image::Image(SkBitmap*)pkotwicz@chromium.org2012-05-149-48/+69
| | | | | | | | | | | | Bug=124566 Test=Compiles on CrOS,Mac Review URL: https://chromiumcodereview.appspot.com/10378009 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10383153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136813 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of Image::Image(SkBitmap*)pkotwicz@chromium.org2012-05-149-69/+48
| | | | | | | | | Bug=124566 Test=Compiles on CrOS,Mac Review URL: https://chromiumcodereview.appspot.com/10378009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136812 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move gl/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-1270-9734/+0
| | | | | | | | | | BUG=104040 R=ben@chromium.org TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10392068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136777 0039d316-1c4b-4281-b951-d872f2087c98
* mac: s/UI_EXPORT/GL_EXPORT/ for GLSurfaceCGLthakis@chromium.org2012-05-121-1/+1
| | | | | | | | | | | | | The class got moved a while ago but the export macro wasn't updated. BUG=90078 TEST=none TBR=kbr Review URL: https://chromiumcodereview.appspot.com/10356140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136743 0039d316-1c4b-4281-b951-d872f2087c98
* Add a RenderText test that checks that matching parentheses use the same font.asvitkine@chromium.org2012-05-126-0/+125
| | | | | | | | | | | | This is a test for http://crbug.com/125792, which I had fixed earlier. BUG=125792, 105550 TEST=This is one. Checked that this test fails without the fix for http://crbug.com/125792. Review URL: https://chromiumcodereview.appspot.com/10388092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136720 0039d316-1c4b-4281-b951-d872f2087c98
* native theme images for for touch friendly UI at 1x scale.oshima@chromium.org2012-05-11101-32/+32
| | | | | | | | | | | | Removed aura_ prefix. TBR=sky@chromium.org BUG=123162 TEST=none Review URL: https://chromiumcodereview.appspot.com/10381114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136705 0039d316-1c4b-4281-b951-d872f2087c98
* Disable dynamic GPU switching on Mac OS X 10.8 (Mountain Lion) to work ↵kbr@chromium.org2012-05-113-7/+23
| | | | | | | | | | | | | | | | around system instability. Also added command line flag --disable-gpu-switching to make it easier to triage similar issues in the future. Tested manually by relaunching browser multiple times on affected machine and verifying no machine hangs. Also manually verified behavior of --disable-gpu-switching flag on 10.7.3 on same hardware. BUG=127713 TEST=tested manually per above steps Review URL: https://chromiumcodereview.appspot.com/10378103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136682 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Adds custom cursors for drag and drop (second attempt:varunjain@chromium.org2012-05-113-20/+33
| | | | | | | | | | | | | first attempt reverted due to build break: http://codereview.chromium.org/10316019 ) BUG=121135 TEST=none Review URL: https://chromiumcodereview.appspot.com/10378079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136653 0039d316-1c4b-4281-b951-d872f2087c98
* Image(SkBitmap) was calling DeleteSoon. Changed code path slightly such that ↵pkotwicz@chromium.org2012-05-111-1/+1
| | | | | | | | | | | | this is avoided. Bug=127716 Test=heapcheck stops using surpressions for bug_127716 and 127717 for BrowserThemePackTest.CanBuildAndReadPack Review URL: https://chromiumcodereview.appspot.com/10383133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136639 0039d316-1c4b-4281-b951-d872f2087c98
* Added gman as OWNER of a few GPU directories and piman as OWNER of a couple ↵kbr@chromium.org2012-05-111-0/+1
| | | | | | | | | | | | others. BUG=none TEST=none TBR=apatrick Review URL: https://chromiumcodereview.appspot.com/10383138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136625 0039d316-1c4b-4281-b951-d872f2087c98
* native theme images for touch UI at 2x scaleoshima@chromium.org2012-05-1134-0/+0
| | | | | | | | | | TBR=ben@chromium.org BUG=123162 TEST=none Review URL: https://chromiumcodereview.appspot.com/10383126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136576 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming a class used to wrap Android native windows.jcivelli@chromium.org2012-05-117-34/+71
| | | | | | | | | | BUG=None TEST=Android should still compile. Review URL: https://chromiumcodereview.appspot.com/10383082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136492 0039d316-1c4b-4281-b951-d872f2087c98
* make GLboolean print GL_TRUE, GL_FALSE when debugging.gman@chromium.org2012-05-101-0/+5
| | | | | | | | | | | | TEST=used it for debugging BUG=none R=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10392030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136446 0039d316-1c4b-4281-b951-d872f2087c98
* Match omnibar selected text background color with page selected text colorskuhne@chromium.org2012-05-101-1/+1
| | | | | | | | | | BUG=127345 TEST=none Review URL: https://chromiumcodereview.appspot.com/10310102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136441 0039d316-1c4b-4281-b951-d872f2087c98
* Expand RenderText bold width test.asvitkine@chromium.org2012-05-101-1/+15
| | | | | | | | | | | Also, add some ASSERTS() to a couple of other tests. BUG=105550 TEST=This is one. Review URL: https://chromiumcodereview.appspot.com/10382103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136354 0039d316-1c4b-4281-b951-d872f2087c98
* This patch makes ImageSkia more like SkBitmap. The goal is to make swapping ↵pkotwicz@chromium.org2012-05-109-312/+503
| | | | | | | | | | | | | | | from SkBitmap to ImageSkia easier. Notable changes: - ImageSkia can be cheaply copied - Added extractSubset, will remove after SkBitmaps have been converted to ImageSkia - Modified API to look more like SkBitmap Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136304 Review URL: https://chromiumcodereview.appspot.com/10245003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136332 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 136304 - This patch makes ImageSkia more like SkBitmap. The goal is ↵pkotwicz@chromium.org2012-05-109-502/+312
| | | | | | | | | | | | | | | | to make swapping from SkBitmap to ImageSkia easier. Notable changes: - ImageSkia can be cheaply copied - Added extractSubset, will remove after SkBitmaps have been converted to ImageSkia - Modified API to look more like SkBitmap Review URL: https://chromiumcodereview.appspot.com/10245003 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10383110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136313 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the option of aligning the launcher to the left or right. Theresky@chromium.org2012-05-102-0/+10
| | | | | | | | | | | | | is a ton of rough edges after this patch, but I don't want this patch to get any bigger. BUG=121962 TEST=covered by tests. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10388036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136312 0039d316-1c4b-4281-b951-d872f2087c98
* This patch makes ImageSkia more like SkBitmap. The goal is to make swapping ↵pkotwicz@chromium.org2012-05-109-312/+502
| | | | | | | | | | | | | from SkBitmap to ImageSkia easier. Notable changes: - ImageSkia can be cheaply copied - Added extractSubset, will remove after SkBitmaps have been converted to ImageSkia - Modified API to look more like SkBitmap Review URL: https://chromiumcodereview.appspot.com/10245003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136304 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix an uninitialized member variable.jhawkins@chromium.org2012-05-102-0/+6
| | | | | | | | | | | | | | | | Also fix a ton of style issues while I'm here. CID_COUNT=1 CID=103945 BUG=none TEST=none R=groby TBR=msw Review URL: https://chromiumcodereview.appspot.com/10387049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136231 0039d316-1c4b-4281-b951-d872f2087c98
* Mac Pepper Flash: C++ wrapper for VideoDecodeAcceleration.frameworksail@chromium.org2012-05-093-0/+471
| | | | | | | | | | | | | This CL adds a C++ wrapper for the VideoDecodeAcceleration framwork. This will be used by the pepper flash port for hardware accelerated video decoding. I'm adding this to ui/gfx instead of content/common/gpu/media because I think it might be useful for othercases as well. BUG=127414 TEST=Verified that test passed on my MacPro (without hardware support) and MacBook Pro (with hardware support). Review URL: https://chromiumcodereview.appspot.com/10152009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136174 0039d316-1c4b-4281-b951-d872f2087c98
* Removed tracing when the context is already current.kgr@chromium.org2012-05-093-3/+6
| | | | | | | | | | | | | | This greatly reduces the number of trace events which are generated. Now, it only traces when the context changes (which is very close to 0% of the time.) BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10181003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136102 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add flag for subpixel-positioned text.derat@chromium.org2012-05-092-5/+25
| | | | | | | | | | | | | 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
* Add UI_EXPORT so content_unittests don't fail on shared bot.dmazzoni@chromium.org2012-05-091-5/+5
| | | | | | | | | | | | | After r135998, RenderWidgetHostTest.Background failed on the shared Linux bot only - with the message that gtk_preserve_window_get_type couldn't be looked up. This adds UI_EXPORT to this and a few related functions. BUG=none TEST=none TBR=sky Review URL: https://chromiumcodereview.appspot.com/10310074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136003 0039d316-1c4b-4281-b951-d872f2087c98
* Add initial GTK web accessibility framework (third attempt).dmazzoni@chromium.org2012-05-092-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previous attempts to land this patch: 1. http://codereview.chromium.org/9839069/ 2. http://codereview.chromium.org/10382013/ The previous attempts failed to land due to test failures and problems depending on libatk with the official Linux build. The build is now resolved, and the test failures have been fixed by adding an IsNative method to BrowserAccessibility. Please look carefully at the IsNative calls in the code; the rest is the same. Original description: This enables Linux desktop assistive technology such as the Orca screen reader to access the web contents. Builds on the same accessibility stack used by Mac & Windows already. This change works with Orca now, but it's minimal: all that works is getting the correct feedback when you tab through focusable links and controls in a webpage. Future changes will add the rest of the support. BUG=24585 TEST=Run Chrome on desktop Linux with Orca turned on, tab through links. Review URL: https://chromiumcodereview.appspot.com/10382051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135998 0039d316-1c4b-4281-b951-d872f2087c98
* Move DIP translation from ui/aura to ui/compositor.oshima@chromium.org2012-05-089-32/+3
| | | | | | | | | | | | | Layer's coordinate system is now in DIP. Added support of dynamic density switching. Removed ENABLE_DIP gyp/macro and added runtime flag "--ui-enable-dip" BUG=105165, 114666 TEST=enabled monitor test. added new tests to compositor_unittests Review URL: https://chromiumcodereview.appspot.com/10221028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135888 0039d316-1c4b-4281-b951-d872f2087c98
* Implement part of aura menu spec described in:jennyz@google.com2012-05-083-0/+7
| | | | | | | | | | | | | | | | | | | | http://www.corp.google.com/~kenmoore/mocks/chromeos/Misc_2012/Menus/markup1/menu4.html The following are implemented: min distance between item and shortcut: 20px divider 1px solid color #dadada 2px above/below divider 20px right margin: between arrow/shortcut to right edge of menu 28 px left margin: between label and left edge of menu, with or without icon icon/checkmarks: 8 px left margin. submenu: overlap 3 px horizotally, this include the edge of the submenu and parent menu border, which are 1 px each. submenu arrow: 20px right margin. BUG=122858 TEST=Aura menu UI changes conform to aura menu spec as described above. Review URL: https://chromiumcodereview.appspot.com/10387014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135843 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r135533.thakis@chromium.org2012-05-083-33/+20
| | | | | | | | | | | | It broke all content_unittests on mac in debug builds. BUG=121135,126558 TEST=no stack dumps in content_unittests output on mac debug builds TBR=varunjain Review URL: https://chromiumcodereview.appspot.com/10386020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135796 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135593 - Add initial GTK web accessibility framework (new with ↵dmazzoni@chromium.org2012-05-062-37/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | valgrind fix). This is the same as http://codereview.chromium.org/9839069/ which was landed but reverted due to a valgrind failure in content_unittests. The valgrind failure was because browser_accessibility_manager_unittest.cc is constructing its own subclass of BrowserAccessibility (for testing), but BrowserAccessibilityManagerGtk was assuming that any BrowserAccessibility could be static_casted to a BrowserAccessibilityGtk. I fixed this by making ToBrowserAccessibilityGtk() a virtual method with a default impl that returns NULL. Original change: This enables Linux desktop assistive technology such as the Orca screen reader to access the web contents. Builds on the same accessibility stack used by Mac & Windows already. This change works with Orca now, but it's minimal: all that works is getting the correct feedback when you tab through focusable links and controls in a webpage. Future changes will add the rest of the support. BUG=24585 TEST=Run Chrome on desktop Linux with Orca turned on, tab through links. TBR=darin,sky Review URL: https://chromiumcodereview.appspot.com/10381010 TBR=dmazzoni@chromium.org Review URL: https://chromiumcodereview.appspot.com/10379029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135595 0039d316-1c4b-4281-b951-d872f2087c98
* Add initial GTK web accessibility framework (new with valgrind fix).dmazzoni@chromium.org2012-05-062-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the same as http://codereview.chromium.org/9839069/ which was landed but reverted due to a valgrind failure in content_unittests. The valgrind failure was because browser_accessibility_manager_unittest.cc is constructing its own subclass of BrowserAccessibility (for testing), but BrowserAccessibilityManagerGtk was assuming that any BrowserAccessibility could be static_casted to a BrowserAccessibilityGtk. I fixed this by making ToBrowserAccessibilityGtk() a virtual method with a default impl that returns NULL. Original change: This enables Linux desktop assistive technology such as the Orca screen reader to access the web contents. Builds on the same accessibility stack used by Mac & Windows already. This change works with Orca now, but it's minimal: all that works is getting the correct feedback when you tab through focusable links and controls in a webpage. Future changes will add the rest of the support. BUG=24585 TEST=Run Chrome on desktop Linux with Orca turned on, tab through links. TBR=darin,sky Review URL: https://chromiumcodereview.appspot.com/10381010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135593 0039d316-1c4b-4281-b951-d872f2087c98
* New Windows high-contrast mode bubble.dmazzoni@chromium.org2012-05-061-9/+6
| | | | | | | | | | | | | | | | | | When Windows high-contrast mode is on, pop up new bubble with links to a high-contrast extension, a search for dark themes, a link to Learn More, and a Close link to close the bubble. Only shows the first time, as before. The pref is renamed because the previous behavior was reverted, and users who got the previous bubble on dev/beta should see this one now. BUG=112944 TEST=manual testing on Windows: Alt+Shift+PrtScr TBR=ben Review URL: http://codereview.chromium.org/10332016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135591 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move compositor/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-0551-8103/+0
| | | | | | | | | | BUG=104040 R=piman@chromium.org,ben@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10365007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135560 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Adds custom cursors for drag and drop.varunjain@chromium.org2012-05-053-20/+33
| | | | | | | | | | | | | BUG=121135 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=135378 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135426 Review URL: http://codereview.chromium.org/10316019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135533 0039d316-1c4b-4281-b951-d872f2087c98
* Add display() getter to GLX context class.posciak@chromium.org2012-05-042-1/+12
| | | | | | | | | | | | | Add a getter to return Display from GLX context class. Add include guards. This is in service of https://chromiumcodereview.appspot.com/9814001/ BUG=117062 Review URL: http://codereview.chromium.org/10378010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135471 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135426 - Aura: Adds custom cursors for drag and drop.rvargas@google.com2012-05-043-33/+20
| | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=Linux%20ChromiumOS%20Tests%20%281%29&number=2883 BUG=121135 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=135378 Review URL: http://codereview.chromium.org/10316019 TBR=varunjain@chromium.org Review URL: https://chromiumcodereview.appspot.com/10375016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135444 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Adds custom cursors for drag and drop.varunjain@chromium.org2012-05-043-20/+33
| | | | | | | | | | | BUG=121135 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=135378 Review URL: http://codereview.chromium.org/10316019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135426 0039d316-1c4b-4281-b951-d872f2087c98
* Skip the deferred painting workaround when there is a looper.xiyuan@chromium.org2012-05-041-1/+6
| | | | | | | | | | | | | A looper is used for text with shadows and that seems not working well with the deferred painting workaround. BUG=126266 TEST=Verify fix for issue 126266. Review URL: http://codereview.chromium.org/10356018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135400 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135378 - Aura: Adds custom cursors for drag and drop.varunjain@chromium.org2012-05-043-33/+20
| | | | | | | | | | | | BUG=121135 TEST=none Review URL: https://chromiumcodereview.appspot.com/10316019 TBR=varunjain@chromium.org Review URL: https://chromiumcodereview.appspot.com/10382016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135381 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Adds custom cursors for drag and drop.varunjain@chromium.org2012-05-043-20/+33
| | | | | | | | | BUG=121135 TEST=none Review URL: https://chromiumcodereview.appspot.com/10316019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135378 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Move linux_util.h from gfx/ to ui/base/gtk.tfarina@chromium.org2012-05-043-167/+0
| | | | | | | | | | | | | The reason for this, is that I don't think this belongs to gfx/ directory. Also rename it to menu_label_accelerator_util.* to make it clear what the conversion functions are about. TEST=ui_unittests --gtest_filter=MenuLabelAcceleratorUtilTest* R=tony@chromium.org TBR=erg@chromium.org Review URL: https://chromiumcodereview.appspot.com/10316013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135373 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move surface/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-0314-2448/+0
| | | | | | | | | | BUG=104040 R=ben@chromium.org TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/10351002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135232 0039d316-1c4b-4281-b951-d872f2087c98
* Detect missing glyphs as returned by Vista in RenderTextWin.asvitkine@chromium.org2012-05-032-18/+42
| | | | | | | | | | | | | | | | | | Vista's version of Uniscribe (or possibly of the Meiryo font) doesn't return glyphs with value wgDefault for characters that cannot be displayed by that font. Instead, they have value wgBlank with the fZeroWidth attribute bit set. This change detects that and determines if there were missing glyphs based on whether the character(s) that correspond to the glyph are whitespace characters. BUG=125629, 105550 TEST=See http://crbug.com/125629 Review URL: http://codereview.chromium.org/10315007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135206 0039d316-1c4b-4281-b951-d872f2087c98
* Cache successful substitute fonts in RenderTextWin.asvitkine@chromium.org2012-05-032-1/+23
| | | | | | | | | | | | | | | This is both a performance win (avoids trying all fonts in the chain in the common case) and fixes the issue in http://crbug.com/126109. BUG=126109, 105550 TEST=Set Chrome's UI language to Chinese and restart Chrome. Look through various text in the UI. The font used for all Chinese text should be the same. Review URL: http://codereview.chromium.org/10342018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135200 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135160 - Re-land: Add initial GTK web accessibility framework.dmazzoni@chromium.org2012-05-032-37/+1
| | | | | | | | | | | | | | | | | | | | This enables Linux desktop assistive technology such as the Orca screen reader to access the web contents. Builds on the same accessibility stack used by Mac & Windows already. This change works with Orca now, but it's minimal: all that works is getting the correct feedback when you tab through focusable links and controls in a webpage. Future changes will add the rest of the support. BUG=24585 TEST=Run Chrome on desktop Linux with Orca turned on, tab through links. TBR=darin Review URL: https://chromiumcodereview.appspot.com/9839069 TBR=dmazzoni@chromium.org Review URL: https://chromiumcodereview.appspot.com/10348011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135166 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land: Add initial GTK web accessibility framework.dmazzoni@chromium.org2012-05-032-1/+37
| | | | | | | | | | | | | | | | | This enables Linux desktop assistive technology such as the Orca screen reader to access the web contents. Builds on the same accessibility stack used by Mac & Windows already. This change works with Orca now, but it's minimal: all that works is getting the correct feedback when you tab through focusable links and controls in a webpage. Future changes will add the rest of the support. BUG=24585 TEST=Run Chrome on desktop Linux with Orca turned on, tab through links. TBR=darin Review URL: https://chromiumcodereview.appspot.com/9839069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135160 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r123782.thakis@chromium.org2012-05-031-2/+2
| | | | | | | | | | | | See bug for why. BUG=108554 TEST=none TBR=ben Review URL: https://chromiumcodereview.appspot.com/10337010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135063 0039d316-1c4b-4281-b951-d872f2087c98
* Metrics should log size in pixeloshima@chromium.org2012-05-033-6/+17
| | | | | | | | | BUG=125465, 115554 TEST=none Review URL: http://codereview.chromium.org/10262018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135048 0039d316-1c4b-4281-b951-d872f2087c98
* Aura on Linux: Make a DesktopScreenX11 to match the windows one.erg@chromium.org2012-05-031-91/+0
| | | | | | | | | | BUG=125106 TEST=non-ash linux builds compile again. Review URL: http://codereview.chromium.org/10279005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135036 0039d316-1c4b-4281-b951-d872f2087c98