summaryrefslogtreecommitdiffstats
path: root/remoting/host/input_injector_mac.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fixed multi-monitor mouse coordinates.jamiewalch@chromium.org2014-04-191-2/+3
| | | | | | | | BUG=359334 Review URL: https://codereview.chromium.org/243943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264905 0039d316-1c4b-4281-b951-d872f2087c98
* Update input injectors on Mac and Windows to handle TextEvent.sergeyu@chromium.org2014-03-281-14/+28
| | | | | | | | | BUG=270356,265945 R=lambroslambrou@chromium.org Review URL: https://codereview.chromium.org/214193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260089 0039d316-1c4b-4281-b951-d872f2087c98
* Add TextEvent message in the protocolsergeyu@chromium.org2014-03-271-2/+12
| | | | | | | | | | | | The new message will be used for non-keyboard input methods and software keyboards. BUG=270356 R=lambroslambrou@chromium.org, nasko@chromium.org Review URL: https://codereview.chromium.org/197613004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259968 0039d316-1c4b-4281-b951-d872f2087c98
* Fix modifier keys on Mac.jamiewalch@chromium.org2014-02-021-4/+39
| | | | | | | | | | CGEvents have an explicit set of modifier flags that can be set when they are injected, but the previous code was not doing this. It seems that the OS will usually generate them automatically by virtue of the fact the modifier key events were injected previously, but it seems that this behaviour is not reliable (nor is it documented). This CL sets the appropriate flags explicitly. BUG=331542 Review URL: https://codereview.chromium.org/141523012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248425 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency on skia from remotingsergeyu@chromium.org2013-12-161-11/+8
| | | | | | | | | | | | | | Remoting uses types in webrtc/modules/desktop_capture to represent rectangles, vectors and regions. This CL removes a few places left where we were still using Skia types and removes Skia from DEPS. Also removed leftover InvalidateRegion() declaration from desktop_session_proxy.h . R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/112453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240925 0039d316-1c4b-4281-b951-d872f2087c98
* Move ui/base/keycodes to ui/events/keycodes/dom4komatsu@chromium.org2013-11-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch was created by the following steps: 1. Create a new directory to move. mkdir ui/events/keycodes/dom4 2. Move the OWNERS file manually, because the next script supports only source files. git mv ui/base/keycodes/OWNERS ui/events/keycodes/ 3. Use script to move source files. ./tools/git/move_source_file.py ui/base/keycodes/* ui/events/keycodes/dom4 4. Here's the output from the script. WARNING: Could not successfully update include guard; perhaps old guard is not per style guide? You will have to update the include guard manually. (ui/events/keycodes/dom4/keycode_converter.h) 5. modify the header guard of keycode_converter.h BUG=312218 Review URL: https://codereview.chromium.org/59873007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236231 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Prepare most test code for -Wunused-functions too.thakis@chromium.org2013-11-081-7/+0
| | | | | | | | | | BUG=315884 R=akalin@chromium.org, isherman@chromium.org, thestig@chromium.org, yzshen@chromium.org TBR=piman, sergeyu Review URL: https://codereview.chromium.org/65813002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233737 0039d316-1c4b-4281-b951-d872f2087c98
* Move usb keycode conversion table into separate target. This is the first ↵garykac@chromium.org2013-09-201-7/+4
| | | | | | | | | | | | | | | step to making this table more accessible from other parts of the codebase. Currently, the data table and the routines to access it are mixed in the same file, which makes it harder to reference in other places in the code. Moving it into a separate projects forces it to have a proper separation between the data and the interface and allows it to be added as a dependency without including all of ui/base. BUG=284774 R=jam@chromium.org, sky@chromium.org, wez@chromium.org Review URL: https://codereview.chromium.org/23851033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224390 0039d316-1c4b-4281-b951-d872f2087c98
* Add |code| values (from W3C UIEvent spec) to key mapping table.garykac@chromium.org2013-09-031-1/+1
| | | | | | | | | BUG= R=wez@chromium.org Review URL: https://codereview.chromium.org/23548004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220999 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: fixing caps lock issue with mac host.weitaosu@chromium.org2013-06-261-8/+12
| | | | | | | | | | | | | | | | | The caps lock key doesn't work on a mac host: it doesn't toggle the caps lock state and the remote keyboard outputs upper or lower case letters depending on the caps lock state of the last local keyboard used. For example, if there are two local keyboards: keyboard 1 has caps lock on and keyboard 2 has caps lock off. If keyboard 1 was used last, the remote keyboard will output upper case letters; and if keyboard 2 was used last, lower case letters. Here are all the changes to fix the caps lock problem: 1. The KeyEvent proto buffer now contains a modifier_state field. 2. The client will set caps lock and num lock on the modifier_state field in the key event message appropriately. 3. The mac host now uses CGEventCreateKeyboardEvent/CGEventPost instead of the deprecated CGPostKeyBoardEvent to inject key events on a mac. 4. The mac host will set the caps lock flag with a key event if caps lock is on in the event message. 5. Update the unit tests for the key events. BUG=248275 Review URL: https://chromiumcodereview.appspot.com/16035018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208633 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef.thakis@chromium.org2013-06-241-3/+2
| | | | | | | | | | | | | | | | | This CL was created fully mechanically by running git grep -l base::mac::ScopedCFTypeRef | xargs sed -i -e 's/base::mac::ScopedCFTypeRef/base::ScopedCFTypeRef/g' git commit -a -m. git clang-format HEAD^ --style=Chromium git commit -a -m. git cl upload -t $TITLE BUG=251957 TBR=mark@chromium.org Review URL: https://codereview.chromium.org/16917011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208245 0039d316-1c4b-4281-b951-d872f2087c98
* Remove screen capturers from media/video/capture/screen.sergeyu@chromium.org2013-06-071-4/+4
| | | | | | | | | | | | Screen capturers have been moved to webrtc. This change switches chromoting and getUserMedia() to the new copy of the capturers in webrtc and removes old copy from media. TBR=jschuh@chromium.org Review URL: https://chromiumcodereview.appspot.com/15692018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204966 0039d316-1c4b-4281-b951-d872f2087c98
* Rename EventExecutor to InputInjector.wez@chromium.org2013-03-241-0/+294
This is part of general naming clean-up under remoting/ and will help keep lambroslambrou@ happy. Review URL: https://chromiumcodereview.appspot.com/12760012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190163 0039d316-1c4b-4281-b951-d872f2087c98