summaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
* Revert r135533.thakis@chromium.org2012-05-0812-127/+21
| | | | | | | | | | | | 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
* Let Chrome app handle Ash accelerators first if the app is launched as a window.yusukes@google.com2012-05-086-49/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, Ash accelerators are handled at a very early stage, right after a native key event is received by aura::RootWindowHost. This CL change the way of handling Ash accelerators as follows to make it more App friendly: 1. If no window is focused, handle an Ash accelerator in ash/accelerators/accelerator_filter.cc in the same way as before. 2. Otherwise, do not handle it in ash/accelerators/accelerator_filter.cc but let a custom views::FocusManager handle it (see ash/shell.cc). There are 3 types of scenarios here depending on the type of the focused window: 2-a. If the focused window is a browser, and the browser is not for an app, let the custom focus manager pre-handle Ash accelerators before passing it to the browser (see PreHandleKeyboardEvent() in chrome/browser/ui/views/frame/browser_view.cc). 2-b. If the focused window is a browser, and the browser is for an app, let the app handle Ash accelerators first (see chrome/browser/ui/views/frame/browser_view.cc). If the accelerator is not consumed by the app, let the custom focus manager handle it. 2-c. If the focused window is not a browser, let the window handle Ash accelerators first. If the accelerator is not consumed by the window, then let the custom focus manager handle it. This means a WebView (without chrome/browser/ layer) can handle Ash accelerators first whenever needed. Other changes: chrome/browser/ui/views/frame/browser_view.cc: Support ET_KEY_RELEASED accelerators in BrowserView::PreHandleKeyboardEvent(). ui/views/focus/focus_manager.cc: Support ET_KEY_RELEASED accelerators. Also fix code for handing VKEY_MENU so that the Shift+Alt+ET_KEY_RELEASED accelerator for Ash could be handled correctly. BUG=123856 TEST=ran aura_shell_unittests TEST=manual; launch Chromoting app as a window, connect to a Chromoting server, focus Chrome on the remote machine, press Ctrl-n, confirm a new window is opened on the remote machine. Review URL: https://chromiumcodereview.appspot.com/10134036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135791 0039d316-1c4b-4281-b951-d872f2087c98
* Confine cursor after bounds is updated.oshima@chromium.org2012-05-081-7/+7
| | | | | | | | | | BUG=126342 TEST=tested manually on the device Review URL: https://chromiumcodereview.appspot.com/10383051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135762 0039d316-1c4b-4281-b951-d872f2087c98
* Calibrating touch inputskuhne@chromium.org2012-05-074-5/+77
| | | | | | | | | | 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
* RWHVA: Force redraw after resizepiman@chromium.org2012-05-071-4/+7
| | | | | | | | | BUG=122093 TEST=manual (see bug). Review URL: https://chromiumcodereview.appspot.com/10384043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135744 0039d316-1c4b-4281-b951-d872f2087c98
* ash: First pass of Applist v2.xiyuan@chromium.org2012-05-072-5/+5
| | | | | | | | | | | | | | - 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
* Correct handling of multiline text in buttons.antrim@chromium.org2012-05-072-9/+22
| | | | | | | | | | BUG=125897 TEST= Review URL: http://codereview.chromium.org/10382028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135726 0039d316-1c4b-4281-b951-d872f2087c98
* ui/oak: Add missing header include guards to oak_pretty_print.htfarina@chromium.org2012-05-071-0/+6
| | | | | | | | R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10375030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135702 0039d316-1c4b-4281-b951-d872f2087c98
* ui/oak: Remove empty files from source control.tfarina@chromium.org2012-05-076-0/+0
| | | | | | | | R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10382031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135697 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for WM_GETOBJECT for NativeTextfieldWin.tommi@chromium.org2012-05-072-5/+25
| | | | | | | | | This enables accessibility support (OSK) for the Find box. Review URL: http://codereview.chromium.org/10381034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135680 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
* Respect WindowOpenDisposition in launcher as is in app-list.mukai@chromium.org2012-05-061-0/+1
| | | | | | | | | | BUG=125902 TEST=manually Review URL: http://codereview.chromium.org/10308005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135584 0039d316-1c4b-4281-b951-d872f2087c98
* ui/aura: Include x11_util.h in root_window_host.cc to pick missing functions.tfarina@chromium.org2012-05-051-0/+1
| | | | | | | | | BUG=10404 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10310032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135561 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move compositor/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-0575-207/+206
| | | | | | | | | | 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
* Fix typo: kPriorityXXX -> kXXXPriority. No code change.yusukes@chromium.org2012-05-052-4/+4
| | | | | | | | | | BUG=None TEST=None TBR=ben@chromium.org Review URL: http://codereview.chromium.org/10317035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135538 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Adds custom cursors for drag and drop.varunjain@chromium.org2012-05-0512-21/+127
| | | | | | | | | | | | | 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
* Reapply "Changes according to review comments"wangxianzhu@chromium.org2012-05-054-12/+108
| | | | | | | | | | | | | | | | | Fixed an "unused variable" issue of the original CL (http://codereview.chromium.org/10224004/). Use Android API for GetDisplayNameForLocale(). Using Android API, we can reduce the data size of ICU and thus reduce the binary size of chromium-android. BUG=none TEST=L10nUtilTest.GetDisplayNameForLocale,L10nUtilTest.GetDisplayNameForCountry TBR=jrg@chromium.org,isherman@chromium.org,mark@chromium.org,jshin@chromium.org,rvargas@chromium.org Review URL: http://codereview.chromium.org/10310029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135524 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135484 - Use Android API for GetDisplayNameForLocale().rvargas@google.com2012-05-044-112/+14
| | | | | | | | | | | | | | | | | | | failure: http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/4835/steps/BuildTarget/logs/stdio Using Android API, we can reduce the data size of ICU and thus reduce the binary size of chromium-android. BUG=none TEST=L10nUtilTest.GetDisplayNameForLocale,L10nUtilTest.GetDisplayNameForCountry TBR=sky Review URL: http://codereview.chromium.org/10224004 TBR=wangxianzhu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10380018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135490 0039d316-1c4b-4281-b951-d872f2087c98
* Use Android API for GetDisplayNameForLocale().wangxianzhu@chromium.org2012-05-044-14/+112
| | | | | | | | | | | | | Using Android API, we can reduce the data size of ICU and thus reduce the binary size of chromium-android. BUG=none TEST=L10nUtilTest.GetDisplayNameForLocale,L10nUtilTest.GetDisplayNameForCountry TBR=sky Review URL: http://codereview.chromium.org/10224004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135484 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
* Aura Menu Spec: Change the menu top/bottom padding to 2 and left/right ↵jennyz@chromium.org2012-05-048-16/+26
| | | | | | | | | | | | padding to 0 and menu item height to 30 pixels. BUG=122858 TEST=Aura menu UI change according to the details in cl description. Review URL: http://codereview.chromium.org/10376005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135445 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135426 - Aura: Adds custom cursors for drag and drop.rvargas@google.com2012-05-0412-127/+21
| | | | | | | | | | | | | | | | 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-0412-21/+127
| | | | | | | | | | | 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
* Add Jungshik into ui/base/l10n/OWNERStony@chromium.org2012-05-041-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10365019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135411 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
* aura: Re-enable CheckXEventForConsistency checks for XI2.2sadrul@chromium.org2012-05-041-6/+5
| | | | | | | | | BUG=109884 TEST=none Review URL: https://chromiumcodereview.appspot.com/10257005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135398 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement the screensaver to use WebView instead of ExtensionDialogHost.rkc@chromium.org2012-05-049-11/+159
| | | | | | | | | | | | | Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135392 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Adds cursor images for drag and drop. Related code added in:varunjain@chromium.org2012-05-044-0/+0
| | | | | | | | | | | http://codereview.chromium.org/10316019/ BUG=121135 TEST=none Review URL: https://chromiumcodereview.appspot.com/10381012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135386 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135378 - Aura: Adds custom cursors for drag and drop.varunjain@chromium.org2012-05-0415-126/+21
| | | | | | | | | | | | 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-0415-21/+126
| | | | | | | | | 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-045-19/+17
| | | | | | | | | | | | | 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
* Revert 135369 - Re-implement the screensaver to use WebView instead of ↵rkc@chromium.org2012-05-049-159/+11
| | | | | | | | | | | | | | | | | ExtensionDialogHost. Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 TBR=rkc@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135372 0039d316-1c4b-4281-b951-d872f2087c98
* Aura/ash split: Make the omnibox and the status bar part of the main window.erg@google.com2012-05-042-2/+35
| | | | | | | | | | | This makes the omnibox functional in -Duse_aura=1 -Duse_ash=0 builds. BUG=125106 TEST=none Review URL: https://chromiumcodereview.appspot.com/10223017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135371 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement the screensaver to use WebView instead of ExtensionDialogHost.rkc@chromium.org2012-05-049-11/+159
| | | | | | | | | | | | | Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135369 0039d316-1c4b-4281-b951-d872f2087c98
* views: Mark single-argument constructors as explicit.tfarina@chromium.org2012-05-0414-33/+38
| | | | | | | | | | | | This was reported by cpplint as: python ~/depot_tools/cpplint.py $(find ui/views/ -type f -name \*.cc) 2>&1 | grep -v "Done processing" | grep explicit R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10358013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135365 0039d316-1c4b-4281-b951-d872f2087c98
* Add some aura::Window debug methodsdavemoore@chromium.org2012-05-042-0/+27
| | | | | | | | | BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10355002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135354 0039d316-1c4b-4281-b951-d872f2087c98
* Aura desktop: Really implement DesktopActivationClient::OnWillFocusWindow().erg@chromium.org2012-05-041-2/+1
| | | | | | | | | | | | | This keeps the skyline focused during tab switching and fixes a shutdown crasher. BUG=125106 TEST=none Review URL: http://codereview.chromium.org/10378002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135260 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move surface/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-0314-45/+43
| | | | | | | | | | 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
* Use Ash-style textbutton borders on all Views platformsjamescook@chromium.org2012-05-031-2/+2
| | | | | | | | | | | | | This makes the hover highlights on the bookmark bar visually match the forward/back/wrench buttons. BUG=126116 TEST=visual R=sky@chromium.org Review URL: http://codereview.chromium.org/10355012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135218 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 135144 - Remove resize border from maximized app windowsdavemoore@chromium.org2012-05-031-2/+2
| | | | | | | | | | | BUG=121697 TEST=None Review URL: https://chromiumcodereview.appspot.com/10170021 TBR=davemoore@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135159 0039d316-1c4b-4281-b951-d872f2087c98
* Remove resize border from maximized app windowsdavemoore@chromium.org2012-05-031-2/+2
| | | | | | | | | BUG=121697 TEST=None Review URL: https://chromiumcodereview.appspot.com/10170021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135144 0039d316-1c4b-4281-b951-d872f2087c98
* Make EventGenerator send the left button state in releasedavemoore@chromium.org2012-05-031-2/+2
| | | | | | | | | | | | views::CustomButton::IsTriggerableEvent() checks the state. With it unset buttons don't fire. BUG=None TEST=All tests that use EventGenerator Review URL: https://chromiumcodereview.appspot.com/10334010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135141 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135032 (speculative; BookmarkBarViewTest17.ContextMenus3thakis@chromium.org2012-05-038-26/+16
| | | | | | | | | | | | | | | | | | | | started failing on CrOs after this landed) - Implement part of auea menu spec: http://www.corp.google.com/~kenmoore/mocks/chromeos/Misc_2012/Menus/markup1/menu4.html Menu top/bottom padding: 2 pixels. No left/right padding around menu item, edge to edge hover highlight. Menu item height and hover highlight height: 30 pixels. BUG=122858 TEST=Aura menu UI change according to the details in cl description. Review URL: http://codereview.chromium.org/10330002 TBR=jennyz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10353006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135080 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