| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "native_client/src/shared/ppapi_proxy/browser_globals.h" | 5 #include "native_client/src/shared/ppapi_proxy/browser_globals.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <stdlib.h> | 9 #include <stdlib.h> |
| 10 #include <string.h> | 10 #include <string.h> |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 return ppb; | 380 return ppb; |
| 381 } | 381 } |
| 382 | 382 |
| 383 const PPB_Font_Dev* PPBFontInterface() { | 383 const PPB_Font_Dev* PPBFontInterface() { |
| 384 static const PPB_Font_Dev* ppb = | 384 static const PPB_Font_Dev* ppb = |
| 385 static_cast<const PPB_Font_Dev*>( | 385 static_cast<const PPB_Font_Dev*>( |
| 386 GetBrowserInterfaceSafe(PPB_FONT_DEV_INTERFACE)); | 386 GetBrowserInterfaceSafe(PPB_FONT_DEV_INTERFACE)); |
| 387 return ppb; | 387 return ppb; |
| 388 } | 388 } |
| 389 | 389 |
| 390 const PPB_Fullscreen_Dev* PPBFullscreenInterface() { | 390 const PPB_Fullscreen* PPBFullscreenInterface() { |
| 391 static const PPB_Fullscreen_Dev* ppb = | 391 static const PPB_Fullscreen* ppb = |
| 392 static_cast<const PPB_Fullscreen_Dev*>( | 392 static_cast<const PPB_Fullscreen*>( |
| 393 GetBrowserInterfaceSafe(PPB_FULLSCREEN_DEV_INTERFACE)); | 393 GetBrowserInterfaceSafe(PPB_FULLSCREEN_INTERFACE)); |
| 394 return ppb; | 394 return ppb; |
| 395 } | 395 } |
| 396 | 396 |
| 397 const PPB_MouseLock_Dev* PPBMouseLockInterface() { | 397 const PPB_MouseLock_Dev* PPBMouseLockInterface() { |
| 398 static const PPB_MouseLock_Dev* ppb = | 398 static const PPB_MouseLock_Dev* ppb = |
| 399 static_cast<const PPB_MouseLock_Dev*>( | 399 static_cast<const PPB_MouseLock_Dev*>( |
| 400 GetBrowserInterfaceSafe(PPB_MOUSELOCK_DEV_INTERFACE)); | 400 GetBrowserInterfaceSafe(PPB_MOUSELOCK_DEV_INTERFACE)); |
| 401 return ppb; | 401 return ppb; |
| 402 } | 402 } |
| 403 | 403 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 431 | 431 |
| 432 // Private interfaces. | 432 // Private interfaces. |
| 433 const PPB_PDF* PPBPDFInterface() { | 433 const PPB_PDF* PPBPDFInterface() { |
| 434 static const PPB_PDF* ppb = | 434 static const PPB_PDF* ppb = |
| 435 static_cast<const PPB_PDF*>( | 435 static_cast<const PPB_PDF*>( |
| 436 GetBrowserInterfaceSafe(PPB_PDF_INTERFACE)); | 436 GetBrowserInterfaceSafe(PPB_PDF_INTERFACE)); |
| 437 return ppb; | 437 return ppb; |
| 438 } | 438 } |
| 439 | 439 |
| 440 } // namespace ppapi_proxy | 440 } // namespace ppapi_proxy |
| OLD | NEW |