summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_factory_impl_job.h
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-31 03:52:56 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-31 03:52:56 +0000
commit9822df966d60c67faaf4c4adacc70801aed9edaf (patch)
treec28ba74d57ca752e8159cc61d94790fba3fd0365 /net/http/http_stream_factory_impl_job.h
parentab56e93a64cc5d838df8b18112054b23321f97be (diff)
downloadchromium_src-9822df966d60c67faaf4c4adacc70801aed9edaf.zip
chromium_src-9822df966d60c67faaf4c4adacc70801aed9edaf.tar.gz
chromium_src-9822df966d60c67faaf4c4adacc70801aed9edaf.tar.bz2
ash: Remap Command on Apple keyboards to Control [2/2]
This is yusukes's http://codereview.chromium.org/9854025/ with my review comments applied. chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc: * Every time when a new device is added, notify the name of the device to KeyRewriter. * Listens to XI_KeyPress and XI_KeyRelease events to the X root window, and notify the device ID of the event to KeyRewriter so that the rewriter could know the source of the next KeyPress/KeyRelease Core event. Note that it's not possible to monitor both XI_KeyPress and core KeyPress events for a single X window. For example, if we monitor XI_KeyPress events in aura::RootWindowHostLinux (by calling XISelectEvents() for the root Aura window, xwindow_), it becomes impossible to receive KeyPress core events for |xwindow_| in RootWindowHostLinux. It's also impossible to convert XI_KeyPress into core KeyPress. That is the reason why xinput_hierarchy_changed_event_listener.cc is used to monitor XI_KeyPress/Release events. chrome/browser/ui/views/ash/key_rewriter.cc: * Rewrites Command key press on an Apple keyboard to Control key press, regardless of the user preference for remapping modifier keys. Part 1 of 2 (Ash part): http://codereview.chromium.org/9838010/ BUG=121012 TEST=manual TBR=sky Review URL: http://codereview.chromium.org/9963027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_factory_impl_job.h')
0 files changed, 0 insertions, 0 deletions