summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-29 20:49:41 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-29 20:49:41 +0000
commit7c64a2f4b4aa2b755a67b6625d3a508039e2fad4 (patch)
tree9619a45a2736ca7bce7a27d2e3ce3daea91cd43f /chrome/browser/extensions
parentbb20bfdc0036e870e87fd9067f1f7f310d7de3c6 (diff)
downloadchromium_src-7c64a2f4b4aa2b755a67b6625d3a508039e2fad4.zip
chromium_src-7c64a2f4b4aa2b755a67b6625d3a508039e2fad4.tar.gz
chromium_src-7c64a2f4b4aa2b755a67b6625d3a508039e2fad4.tar.bz2
Move Mac plugin event conversion into helper classes
Creates new helper classes for Carbon and Cocoa plugin event conversion, and abstracts away the difference via a common interface and a model-driven factory. The guts of the converters is just the old static methods, moved into the classes with a couple of minor changes: - Switched to using WebInputEvent::isMouseEventType/isKeyboardEventType, since our methods were essentially duplicates. - The newer key types, RawKeyDown and Char, are now explicitly unhandled, rather than logging warnings. BUG=none TEST=Plugin events (mouse, keyboard, scroll wheel) on the Mac should continue to work as before. Review URL: http://codereview.chromium.org/1566002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
0 files changed, 0 insertions, 0 deletions