| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <errno.h> | 5 #include <errno.h> |
| 6 #include <fcntl.h> | 6 #include <fcntl.h> |
| 7 #include <pthread.h> | 7 #include <pthread.h> |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <stdlib.h> | 9 #include <stdlib.h> |
| 10 #include <sys/ioctl.h> | 10 #include <sys/ioctl.h> |
| 11 #include <sys/types.h> | 11 #include <sys/types.h> |
| 12 #include <sys/stat.h> | 12 #include <sys/stat.h> |
| 13 #include <termios.h> |
| 13 | 14 |
| 14 #include <algorithm> | 15 #include <algorithm> |
| 15 #include <cstdlib> | 16 #include <cstdlib> |
| 16 #include <cstring> | 17 #include <cstring> |
| 17 #include <sstream> | 18 #include <sstream> |
| 18 #include <string> | 19 #include <string> |
| 19 #include <vector> | 20 #include <vector> |
| 20 | 21 |
| 21 #include "nacl_io/ioctl.h" | 22 #include "nacl_io/ioctl.h" |
| 22 #include "nacl_io/kernel_wrap.h" | 23 #include "nacl_io/kernel_wrap.h" |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 | 591 |
| 591 void PSInstance::Graphics3DContextLost() { | 592 void PSInstance::Graphics3DContextLost() { |
| 592 Log("Graphics3DContextLost\n"); | 593 Log("Graphics3DContextLost\n"); |
| 593 PostEvent(PSE_GRAPHICS3D_GRAPHICS3DCONTEXTLOST); | 594 PostEvent(PSE_GRAPHICS3D_GRAPHICS3DCONTEXTLOST); |
| 594 } | 595 } |
| 595 | 596 |
| 596 void PSInstance::MouseLockLost() { | 597 void PSInstance::MouseLockLost() { |
| 597 Log("MouseLockLost\n"); | 598 Log("MouseLockLost\n"); |
| 598 PostEvent(PSE_MOUSELOCK_MOUSELOCKLOST); | 599 PostEvent(PSE_MOUSELOCK_MOUSELOCKLOST); |
| 599 } | 600 } |
| OLD | NEW |