summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webcursor_aurax11.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add support for high-dpi custom mouse cursors on ChromeOSrbyers@chromium.org2012-12-071-15/+14
| | | | | | | | | | | Depends on WebKit r135076, and won't actually get used until https://bugs.webkit.org/show_bug.cgi?id=99493 lands. BUG=136034 TBR=ben (content change a trivial update for method rename) Review URL: https://chromiumcodereview.appspot.com/11416059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171790 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Make gfx::Size::Scale() mutate the class. Add gfx::ScaleSize() similar ↵danakj@chromium.org2012-11-101-1/+1
| | | | | | | | | | | | | | to Rect/Point. Covered by existing unit tests. R=sky BUG=160158 Review URL: https://chromiumcodereview.appspot.com/11377068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167077 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Make gfx::Point::Scale() mutate the class, similar to gfx::Rect.danakj@chromium.org2012-11-091-3/+3
| | | | | | | | | | | | | | We add gfx::ScalePoint() as a non-mutating version of the Scale method. Tests: ui_unittests:PointTest.Scale R=sky BUG=160158 Review URL: https://codereview.chromium.org/11369144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166979 0039d316-1c4b-4281-b951-d872f2087c98
* Remove implicit flooring Scale() method from Point and Size.danakj@chromium.org2012-10-091-2/+6
| | | | | | | | | | | | | | | | | | When scaling an integer point or size, return a floating point result. Implicitly flooring hides design problems and bugs. Add conversion functions to floor or ceil a SizeF or PointF into an integer format again. All existing behaviour has been preserved by replacing uses of foo.Scale() with ToFlooredFoo(foo.Scale()). R=sky BUG=147395 Review URL: https://chromiumcodereview.appspot.com/11081007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160970 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Scale custom cursors appropriately.sadrul@chromium.org2012-07-101-1/+28
| | | | | | | | | BUG=135251 TEST=manually Review URL: https://chromiumcodereview.appspot.com/10697082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145863 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Adds custom cursors for drag and drop (second attempt:varunjain@chromium.org2012-05-111-29/+6
| | | | | | | | | | | | | 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
* Revert r135533.thakis@chromium.org2012-05-081-6/+29
| | | | | | | | | | | | 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
* Aura: Adds custom cursors for drag and drop.varunjain@chromium.org2012-05-051-29/+6
| | | | | | | | | | | | | 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
* Revert 135426 - Aura: Adds custom cursors for drag and drop.rvargas@google.com2012-05-041-6/+29
| | | | | | | | | | | | | | | | 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-041-29/+6
| | | | | | | | | | | 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
* Revert 135378 - Aura: Adds custom cursors for drag and drop.varunjain@chromium.org2012-05-041-6/+29
| | | | | | | | | | | | 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-041-29/+6
| | | | | | | | | 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
* aura-x11: Add custom web cursor support.sadrul@chromium.org2012-04-031-0/+83
| | | | | | | | | BUG=102562 TEST=manually (using sites that use custom cursor, e.g.: http://beradrian.users.sourceforge.net/articles/cursor.html) Review URL: https://chromiumcodereview.appspot.com/9463003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130456 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Combine cursor support for Linux and Windowsjamescook@chromium.org2011-10-171-176/+0
| | | | | | | | | | | | | | + Change gfx::NativeCursor to an int id on Aura. + Fix several cursor-related TODOs in GetCursor() methods. + Move X11 cursor cache into x11_util + Set platform-specific cursors in aura::DesktopHostWin and DesktopHostLinux BUG=99871 TEST=manual Review URL: http://codereview.chromium.org/8256001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105850 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Fix 'typo' to fix cursor.sadrul@chromium.org2011-10-121-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8231019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104982 0039d316-1c4b-4281-b951-d872f2087c98
* Add gfx::kNullCursor to refer to "no cursor"oshima@chromium.org2011-10-111-1/+1
| | | | | | | | | | | | | linux/aura build uses unsigned long as NativeCursor which requires cast to use NULL. Define constants instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/8216016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104848 0039d316-1c4b-4281-b951-d872f2087c98
* Change webcursor_x11 to webcursor_aurax11 so it gets excluded in gtk buildsdavemoore@chromium.org2011-10-101-0/+176
BUG=None TEST=None Review URL: http://codereview.chromium.org/8216011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104750 0039d316-1c4b-4281-b951-d872f2087c98