summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webcursor_gtk.cc
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 20:40:13 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-14 20:40:13 +0000
commitf4f0459fb9b0a457f96062a081f9571c5ba11d57 (patch)
treeb34a47474b6aa6b3a514ebc626436d3eaa3c8c5e /webkit/glue/webcursor_gtk.cc
parent31648ae08b34c0940a4aa5571314efdf7f3926b5 (diff)
downloadchromium_src-f4f0459fb9b0a457f96062a081f9571c5ba11d57.zip
chromium_src-f4f0459fb9b0a457f96062a081f9571c5ba11d57.tar.gz
chromium_src-f4f0459fb9b0a457f96062a081f9571c5ba11d57.tar.bz2
More cleanup of extensions context menu API.
This changes the contextMenus.create method to synchronously return an id instead of aysynchronously in the callback. This meant moving the generating of id's from a globally unique integer in C++ code to an extension-unique integer in javascript. The C++ unique id thus becomes a pair of <extension_id,int>. Also a couple of small drive-by cleanups while I was in some of the files. BUG=48198 TEST=The context menu API should work normally, given the changes described above. Review URL: http://codereview.chromium.org/2911007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webcursor_gtk.cc')
0 files changed, 0 insertions, 0 deletions