Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc

Issue 176923017: [NaCl SDK] Compile for naclio for Bionic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bug in h_error Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_simple/library.dsc ('k') | native_client_sdk/src/tests/nacl_io_test/example.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698