| 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 <fcntl.h> | 5 #include <fcntl.h> |
| 6 #include <pthread.h> | 6 #include <pthread.h> |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include <string.h> | 8 #include <string.h> |
| 9 #include <sys/types.h> | 9 #include <sys/types.h> |
| 10 #include <sys/stat.h> | 10 #include <sys/stat.h> |
| 11 #include <unistd.h> | 11 #include <unistd.h> |
| 12 | 12 |
| 13 #include <cstdlib> | 13 #include <cstdlib> |
| 14 #include <cstring> | 14 #include <cstring> |
| 15 #include <map> | 15 #include <map> |
| 16 #include <string> | 16 #include <string> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "nacl_mounts/nacl_mounts.h" | 19 #include "nacl_io/nacl_io.h" |
| 20 | 20 |
| 21 #include "ppapi/cpp/fullscreen.h" | 21 #include "ppapi/cpp/fullscreen.h" |
| 22 #include "ppapi/cpp/graphics_3d.h" | 22 #include "ppapi/cpp/graphics_3d.h" |
| 23 #include "ppapi/cpp/input_event.h" | 23 #include "ppapi/cpp/input_event.h" |
| 24 #include "ppapi/cpp/message_loop.h" | 24 #include "ppapi/cpp/message_loop.h" |
| 25 #include "ppapi/cpp/mouse_lock.h" | 25 #include "ppapi/cpp/mouse_lock.h" |
| 26 #include "ppapi/cpp/rect.h" | 26 #include "ppapi/cpp/rect.h" |
| 27 #include "ppapi/cpp/size.h" | 27 #include "ppapi/cpp/size.h" |
| 28 #include "ppapi/cpp/var.h" | 28 #include "ppapi/cpp/var.h" |
| 29 | 29 |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 return false; | 223 return false; |
| 224 } | 224 } |
| 225 } else { | 225 } else { |
| 226 if (!fullscreen_.SetFullscreen(true)) { | 226 if (!fullscreen_.SetFullscreen(true)) { |
| 227 printf("Could not enter fullscreen mode\n"); | 227 printf("Could not enter fullscreen mode\n"); |
| 228 return false; | 228 return false; |
| 229 } | 229 } |
| 230 } | 230 } |
| 231 return true; | 231 return true; |
| 232 } | 232 } |
| OLD | NEW |