summaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
* Support custom data formats for dragging on Windows.dcheng@chromium.org2012-01-143-31/+62
| | | | | | | | | BUG=31037 TEST=manual Review URL: http://codereview.chromium.org/9185040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117805 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed Right-to-Left layout of the comboxbox.saintlou@chromium.org2012-01-142-1/+12
| | | | | | | | | | BUG=100663 TEST=none Review URL: http://codereview.chromium.org/9215003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117782 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Clipboard::IsFormatAvailable on GTK so that the workaround for broken ↵dcheng@chromium.org2012-01-141-30/+25
| | | | | | | | | | | | | | | | apps actually works Some apps don't properly set the TARGETS they support. In that case, we assume text. However, the logic for that was after the logic for checking TARGETS, so it was never hit. BUG=30372 TEST=manual test using xcb Review URL: http://codereview.chromium.org/9168039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117759 0039d316-1c4b-4281-b951-d872f2087c98
* Implement off-the-spot mode for Aura-IBus IME.kinaba@chromium.org2012-01-1418-16/+81
| | | | | | | | | | | When a PPAPI plugin does not support drawing composition text by themselves, the browser is expected to do it instead. This patch is for implementing it for Aura IME. BUG=97189 TEST=Manually tested on ppapi_example_ime. Review URL: http://codereview.chromium.org/9199004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117751 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement CanvasSkiaMac in terms of pure Skia for demo purposesdhollowa@chromium.org2012-01-142-47/+44
| | | | | | | | | | | | | | | | | | | | | The existing Cocoa-based implementation of CanvasSkia is stale and broken. The Mac/Aura shell work needs basic text rendering to properly render views Button controls. The changes here provide a minimal working implementation to this end. A larger effort to render UI text using pure Skia is underway and will eventually replace canvas_skia_(mac|win|linux|...).cc with a single canvas_skia_skia.cc. BUG=None TEST=Manual using Mac/Aura shell, observe text button text appearance. R=asvitkine@chromium.org, ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117461 Review URL: http://codereview.chromium.org/9185022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117746 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug where layers weren't getting reordered correctly in asky@chromium.org2012-01-1312-17/+40
| | | | | | | | | | | | | NativeWidgetAura. BUG=none TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9214003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117715 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore first release click in menus that are over the bounds.saintlou@chromium.org2012-01-133-3/+31
| | | | | | | | | | BUG=100663 TEST=none Review URL: http://codereview.chromium.org/9187079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117703 0039d316-1c4b-4281-b951-d872f2087c98
* Assets for issue 9187061 to get around trybot problembenrg@chromium.org2012-01-138-0/+0
| | | | | | | | | | BUG=none TEST=none TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9133011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117684 0039d316-1c4b-4281-b951-d872f2087c98
* Remove false warnings on startup.yusukes@chromium.org2012-01-131-1/+23
| | | | | | | | | | BUG=109843 TEST=build Chrome for Linux, start Chrome, confirm no keysym warning is shown. Review URL: http://codereview.chromium.org/9185004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117614 0039d316-1c4b-4281-b951-d872f2087c98
* * Don't activate a window if screen is locked.oshima@chromium.org2012-01-135-25/+60
| | | | | | | | | | | | | * StopEventsPropagation should check window visibility. * Changed IsScreenLocked to use the same logic as CanFocus. BUG=none TEST=new test case is added to window_unittests.cc Review URL: http://codereview.chromium.org/9181012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117600 0039d316-1c4b-4281-b951-d872f2087c98
* Disable hole-punching on Windows, it seems to be broken right now, probably ↵ben@chromium.org2012-01-132-2/+9
| | | | | | | | | | | | due to a bug in ViewTexture::Draw(). BUG=none TEST=none TBR=sky Review URL: http://codereview.chromium.org/8958020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117585 0039d316-1c4b-4281-b951-d872f2087c98
* render_text_unittest.cc should not be compiled on Macdhollowa@chromium.org2012-01-131-1/+1
| | | | | | | | | | | | | | | This removes render_text_unittest.cc from target when compiled on Mac. This becomes an issue when compiling Mac/Aura as there is no Mac implemenation for render_text.h. BUG=109946 TEST=Compiles under Mac/Aura. R=asvitkine@chromium.org, ben@chromium.org Review URL: http://codereview.chromium.org/9139064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117575 0039d316-1c4b-4281-b951-d872f2087c98
* Aura compile issues under clangdhollowa@chromium.org2012-01-133-7/+9
| | | | | | | | | | | | | | | Fixes misc clang/style errors for Aura sources. This should be the last of them. BUG=109946 TEST=Compiles under mac/clang. R=sky@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117499 Review URL: http://codereview.chromium.org/9197005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117567 0039d316-1c4b-4281-b951-d872f2087c98
* CanvasSkia::Transform should be enabled on the Macdhollowa@chromium.org2012-01-133-9/+3
| | | | | | | | | | | | | | Enables CanvasSkia::Transform on Mac. It works fine and is needed for the Mac/Aura work. BUG=109946 TEST=Compiles, manual testing with Mac/Aura R=ben@chromium.org Review URL: http://codereview.chromium.org/9148066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117566 0039d316-1c4b-4281-b951-d872f2087c98
* New launcher images from Nicholas.sky@chromium.org2012-01-134-0/+0
| | | | | | | | | | | | | TBR since just new images. BUG=110094 TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9107065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117551 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream Android's GLSurface implementation.sievers@chromium.org2012-01-139-21/+321
| | | | | | Review URL: http://codereview.chromium.org/9186019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117546 0039d316-1c4b-4281-b951-d872f2087c98
* Changes RenderViewHost to schedule paint if DidUpdateBackingStore issky@chromium.org2012-01-121-2/+86
| | | | | | | | | | | | | | invoked during paint and the region is outside the clip. I also added a test case for this to Layer. BUG=107800 TEST=see bug R=ben@chromium.org,piman@chromium.org Review URL: http://codereview.chromium.org/9107043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117523 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117499 - Aura compile issues under clangdhollowa@chromium.org2012-01-123-8/+7
| | | | | | | | | | | | | | | | Fixes misc clang/style errors for Aura sources. This should be the last of them. BUG=109946 TEST=Compiles under mac/clang. R=sky@chromium.org Review URL: http://codereview.chromium.org/9197005 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/9186049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117502 0039d316-1c4b-4281-b951-d872f2087c98
* Aura compile issues under clangdhollowa@chromium.org2012-01-123-7/+8
| | | | | | | | | | | | | Fixes misc clang/style errors for Aura sources. This should be the last of them. BUG=109946 TEST=Compiles under mac/clang. R=sky@chromium.org Review URL: http://codereview.chromium.org/9197005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117499 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117461 - Reimplement CanvasSkiaMac in terms of pure Skia for demo ↵flackr@chromium.org2012-01-122-58/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | purposes This was failing gfx_unittests: TextEliderTest.TestFilenameEliding and TextEliderTest.ElideRectangleText. The existing Cocoa-based implementation of CanvasSkia is stale and broken. The Mac/Aura shell work needs basic text rendering to properly render views Button controls. The changes here provide a minimal working implementation to this end. A larger effort to render UI text using pure Skia is underway and will eventually replace canvas_skia_(mac|win|linux|...).cc with a single canvas_skia_skia.cc. BUG=None TEST=Manual using Mac/Aura shell, observe text button text appearance. R=asvitkine@chromium.org, ben@chromium.org Review URL: http://codereview.chromium.org/9185022 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/9186044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117493 0039d316-1c4b-4281-b951-d872f2087c98
* Exports TextFieldController for the component build.sky@chromium.org2012-01-121-2/+3
| | | | | | | | | | | BUG=none TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9148065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117491 0039d316-1c4b-4281-b951-d872f2087c98
* Fix invalid GDI object destruction sequence.cpu@chromium.org2012-01-121-7/+8
| | | | | | | | | | | | | | The bitmap must be unselected before the dc is destroyed. Not sure if this causes gdi leaks. Flagged by BoundsChecker. BUG=109963 TEST=see bug Review URL: http://codereview.chromium.org/9139042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117477 0039d316-1c4b-4281-b951-d872f2087c98
* Don't build the general ResourceBundle::GetLocaleFilePath for Android either.peter@chromium.org2012-01-121-1/+1
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/9197001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117470 0039d316-1c4b-4281-b951-d872f2087c98
* Reimplement CanvasSkiaMac in terms of pure Skia for demo purposesdhollowa@chromium.org2012-01-122-59/+58
| | | | | | | | | | | | | | | | | | | The existing Cocoa-based implementation of CanvasSkia is stale and broken. The Mac/Aura shell work needs basic text rendering to properly render views Button controls. The changes here provide a minimal working implementation to this end. A larger effort to render UI text using pure Skia is underway and will eventually replace canvas_skia_(mac|win|linux|...).cc with a single canvas_skia_skia.cc. BUG=None TEST=Manual using Mac/Aura shell, observe text button text appearance. R=asvitkine@chromium.org, ben@chromium.org Review URL: http://codereview.chromium.org/9185022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117461 0039d316-1c4b-4281-b951-d872f2087c98
* Replacing TabbedPane with Combobox to select an example.saintlou@chromium.org2012-01-121-34/+84
| | | | | | | | | | | The list is so long it had become unmanageable. BUG=none TEST=none Review URL: http://codereview.chromium.org/9188025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117441 0039d316-1c4b-4281-b951-d872f2087c98
* Add ui/base/ime/ime.gypi.yusukes@chromium.org2012-01-124-65/+99
| | | | | | | | | | | BUG=chromium-os:24780 TEST=ran try bots by $ for i in linux_chromeos_aura win_aura linux_chromeos linux win linux_shared win_shared cros_aura cros_x86 ; do git try -b $i -c ; done TEST=built ui, ui_unittests, and chrome locally from scratch on Goobuntu with and without chromeos=1/aura=1 by $ for i in 0 1 ; do for j in 0 1 ; do export GYP_DEFINES="chromeos=$i use_aura=$j" ; ( gclient runhooks && rm -rf out/ && make ui && rm -rf out/ && make ui_unittests && out/Debug/ui_unittests --gtest_filter='*IBus*' && out/Debug/ui_unittests --gtest_filter='*Compose*' && rm -rf out/ && make chrome ) || break 2; done ; done Review URL: http://codereview.chromium.org/9155004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117392 0039d316-1c4b-4281-b951-d872f2087c98
* Fix input text is not visible in Find bar textfield and Add Bookmark name field.xji@chromium.org2012-01-123-1/+33
| | | | | | | | | | | | | | The display area's height in find-in-page and bookmark bubble textfields are smaller than font.GetHeight(). The size_t/int conversion in GetOriginForSkiaDrawing() made origin.y (drawing y coordindate) a very large negative number. BUG=109327 TEST=manual find-in-page and bookmark bubble. RenderTextTest.OriginForSkiaDrawing Review URL: http://codereview.chromium.org/9181001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117365 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable CheckXEventForConsistency until it is fixed.oshima@chromium.org2012-01-121-3/+6
| | | | | | | | | BUG=109884 TEST=none Review URL: http://codereview.chromium.org/9188013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117353 0039d316-1c4b-4281-b951-d872f2087c98
* Convert collected cookies dialog box back to views.ben@chromium.org2012-01-122-61/+29
| | | | | | | | http://crbug.com/109307 TEST=none Review URL: http://codereview.chromium.org/9107021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117339 0039d316-1c4b-4281-b951-d872f2087c98
* OVERRIDE Fixups for TableView and DragDropControllerdhollowa@chromium.org2012-01-122-1/+2
| | | | | | | | | | | | | Fixes OVERRIDE style violations caught by clang. BUG=None TEST=Compiles on Mac/Clang with style plugins. R=sky@chromium.org Review URL: http://codereview.chromium.org/9185021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117337 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile on linux_views.sky@chromium.org2012-01-111-1/+1
| | | | | | | | | | | BUG=109665 TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9192001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117312 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2 at: Adds a trivial views based table implementation (only supports ↵sky@chromium.org2012-01-1112-463/+405
| | | | | | | | | | | | | | | | | single selection, even for grouptableview) and wires it up for hung renderer and ssl client certificate. Only change is adding OVERRIDEs. BUG=109665 TEST=none TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9187027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117305 0039d316-1c4b-4281-b951-d872f2087c98
* Remove almost all remaining TOUCH_UIs.bryeung@chromium.org2012-01-111-1/+1
| | | | | | | | | | TEST=ran tests BUG=105046 Review URL: http://codereview.chromium.org/9078005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117291 0039d316-1c4b-4281-b951-d872f2087c98
* Win AcceleratedSurface always presents on the thread with it has affinity.apatrick@chromium.org2012-01-111-4/+1
| | | | | | | | The D3D calls on the device all take a lock anyway so doing it as previously unnecessarily serialized the threads in the pool. Review URL: http://codereview.chromium.org/9167036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117290 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: More GSEALing.erg@chromium.org2012-01-111-0/+4
| | | | | | | | | | BUG=79722 TEST=none Review URL: http://codereview.chromium.org/9147044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117267 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117228 - Adds a trivial views based table implementation (only ↵flackr@chromium.org2012-01-1112-401/+459
| | | | | | | | | | | | | | | | | | | | supports single selection, even for grouptableview) and wires it up for hung renderer and ssl client certificate. This broke linux chromeos clang compile: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20Clang%20%28ChromeOS%20dbg%29/builds/5737/steps/compile/logs/stdio BUG=109665 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9181019 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/9190013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117258 0039d316-1c4b-4281-b951-d872f2087c98
* Factor more colors into NativeTheme.saintlou@chromium.org2012-01-1112-97/+219
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9101004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117245 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a trivial views based table implementation (only supports singlesky@chromium.org2012-01-1112-459/+401
| | | | | | | | | | | | | selection, even for grouptableview) and wires it up for hung renderer and ssl client certificate. BUG=109665 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9181019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117228 0039d316-1c4b-4281-b951-d872f2087c98
* Almost fixes the multithread compositor for accelerated content. This will ↵pkotwicz@chromium.org2012-01-114-10/+27
| | | | | | | | | | | | | | | be fully fixed once the browser compositor does not use the in_process_impl anymore. WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=75491 BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116782 Review URL: http://codereview.chromium.org/9014030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117218 0039d316-1c4b-4281-b951-d872f2087c98
* Allow a Views client to provide a default frameview for window widgets.ben@chromium.org2012-01-114-1/+18
| | | | | | | | | | | | 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-114-18/+1
| | | | | | | | | | | | | | | | 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-114-1/+18
| | | | | | | | | | | 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
* Shuffles around table classes and nukes tableview2.sky@chromium.org2012-01-1021-3192/+1206
| | | | | | | | BUG=109665 TEST=none Review URL: http://codereview.chromium.org/9176001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117106 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Seal up GSEALs, focusing on GtkSelectionData.erg@chromium.org2012-01-108-37/+57
| | | | | | | | | | BUG=79722 TEST=compiles First Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116956 Review URL: http://codereview.chromium.org/9151007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117070 0039d316-1c4b-4281-b951-d872f2087c98
* Revert to views-based bookmark editor dialog now we have a tree control.beng@google.com2012-01-101-1/+5
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9127016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117038 0039d316-1c4b-4281-b951-d872f2087c98
* Enable bold and italic text styles in RenderText*.asvitkine@chromium.org2012-01-1010-143/+279
| | | | | | | | | | | | | | | | To do this, the following changes were made: Added functions GetStyle() and DeriveFontList(style) to FontList. Changed font list to use strings "Bold" and "Italic" instead of PANGO_STYLE_ITALIC and PANGO_WEIGHT_BOLD - where were actually compile constants for setting attributes and weren't recognized by Pango in a font string. (Whereas "Bold" and "Italic" are recognized). Add RenderText test that checks that the width of a bold string > the width of a non-bold string. Add FontList tests for the new functions. BUG=107893 TEST=Run views_examples_exe "Text Styles" examples and try bold and italic styles (this depends on an unreleased CL). Also, new tests in FontListTest and RenderTextTest. Review URL: http://codereview.chromium.org/8963027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117034 0039d316-1c4b-4281-b951-d872f2087c98
* Tweaks the aesthetics of dialog buttons to look better (right and bottom ↵ben@chromium.org2012-01-101-3/+3
| | | | | | | | | | | padding). BUG=none TEST=none Review URL: http://codereview.chromium.org/9151023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117012 0039d316-1c4b-4281-b951-d872f2087c98
* Makes treeview add a one pixel border around the scrollview.sky@chromium.org2012-01-106-16/+49
| | | | | | | | | | | BUG=109666 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9114029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116995 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 116956 - GTK: Seal up GSEALs, focusing on GtkSelectionData.erg@google.com2012-01-107-53/+37
| | | | | | | | | | | | | BUG=79722 TEST=compiles Review URL: http://codereview.chromium.org/9151007 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/9167002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116977 0039d316-1c4b-4281-b951-d872f2087c98
* Adds missing OVERRIDE to TreeViewViews.sky@chromium.org2012-01-101-1/+2
| | | | | | | | | | | BUG=none TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9146018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116972 0039d316-1c4b-4281-b951-d872f2087c98