summaryrefslogtreecommitdiffstats
path: root/app/gtk_dnd_util.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove src/app's dependency on the WebKit api.tony@chromium.org2010-10-211-29/+0
| | | | | | | | | | src/app shouldn't depend on webkit in anyway. DEPS allows this because it allows paths pulled in by deps = {} (stuff pulled in by gclient). Add a new rule to explicitly disallow this. Review URL: http://codereview.chromium.org/3998004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63434 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Fix gtk_dnd_util::ExtractNamedURL to not crash on invalid data.thestig@chromium.org2010-05-071-1/+6
| | | | | | | | BUG=43347 TEST=included Review URL: http://codereview.chromium.org/2003006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46731 0039d316-1c4b-4281-b951-d872f2087c98
* We DnD shouldn't provide text/html if it claims to provide ↵dpolukhin@chromium.org2010-04-091-1/+1
| | | | | | | | | | | text/text/plain;charset=utf-8. BUG=crosbug.com/2178 TEST=See http://code.google.com/p/chromium-os/issues/detail?id=2178 Review URL: http://codereview.chromium.org/1599023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44063 0039d316-1c4b-4281-b951-d872f2087c98
* GTK plumbing for dragend.dcheng@chromium.org2010-04-051-4/+22
| | | | | | | | | | | This plumbs the actual dropEffect that occurred back into WebKit so that dragend is dispatched with the correct dropEffect. BUG=39399 TEST=Manual testing using the attached test case on the bug. Review URL: http://codereview.chromium.org/1589015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43679 0039d316-1c4b-4281-b951-d872f2087c98
* Fix HTML5 effectAllowed and dragEffect on Chrome Linux.tony@chromium.org2010-03-231-0/+11
| | | | | | | | | | | This hooks up all the chrome side plumbing, but there are a couple webkit changes that need to happen for this to fully work. BUG=14654 Review URL: http://codereview.chromium.org/1084003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42306 0039d316-1c4b-4281-b951-d872f2087c98
* Final removal of the bad dependency of chrome/common on chrome/browserphajdan.jr@chromium.org2010-03-101-59/+61
| | | | | | | | | | | Also convert app/gtk_dnd_util.h from a class to a namespace for consistency with added app/gtk_util.h. TEST=none BUG=none Review URL: http://codereview.chromium.org/669268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41177 0039d316-1c4b-4281-b951-d872f2087c98
* Support dragging a virtual file out of the browser on Linux. This is based ↵jianli@chromium.org2010-02-191-1/+16
| | | | | | | | | | | on the discussion of drag-out feature on whatwg: http://list.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-August/022122.html BUG=none TEST=To test, drag an element that adds the DownloadURL format data via event.DataTransfer.setData, to the desktop or a folder. Review URL: http://codereview.chromium.org/600154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39405 0039d316-1c4b-4281-b951-d872f2087c98
* Allow link drags from the star, bookmarks bar, and bookmark bar menustony@chromium.org2010-01-201-0/+11
| | | | | | | | | | | to the Gnome desktop (nautilus). These should create shortcuts. Other drag operations should be the same as before. BUG=24210 Review URL: http://codereview.chromium.org/548067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36585 0039d316-1c4b-4281-b951-d872f2087c98
* Allow link drags from Chrome to create a shortcut on the desktop.tony@chromium.org2010-01-151-0/+10
| | | | | | | | | | | | | This required adding the netscape link+title format to the drag data (we were already doing this on windows) and adding GDK_ACTION_LINK to the GdkDragAction passed into gtk_drag_begin. BUG=27337 TEST=Drag a link to the desktop, it should create a shortcut (.desktop file). Review URL: http://codereview.chromium.org/542072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36321 0039d316-1c4b-4281-b951-d872f2087c98
* Use utf_string_conversions header in more places.maruel@chromium.org2009-12-111-1/+1
| | | | | | | | | | | Patch contributed by Thiago Farina (thiago.farina@gmail.com) TEST=none BUG=none Review URL: http://codereview.chromium.org/465065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34348 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Make the toolbar star button a drag source.estade@chromium.org2009-09-011-1/+41
| | | | | | | | | | Also refactor URI list/named url packing code. BUG=19008 Review URL: http://codereview.chromium.org/175036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25067 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Properly read utf-8 text from drags.estade@chromium.org2009-08-251-1/+1
| | | | | | | | BUG=19365 Review URL: http://codereview.chromium.org/174431 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24328 0039d316-1c4b-4281-b951-d872f2087c98
* Moves GtkDndUtil into app.sky@chromium.org2009-08-181-0/+151
BUG=none TEST=none Review URL: http://codereview.chromium.org/165423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23627 0039d316-1c4b-4281-b951-d872f2087c98