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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc

Issue 8951014: Change the DidChangeView update to take a new ViewChanged resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments Created 9 years 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) 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 return ppb; 381 return ppb;
382 } 382 }
383 383
384 const PPB_Testing_Dev* PPBTestingInterface() { 384 const PPB_Testing_Dev* PPBTestingInterface() {
385 static const PPB_Testing_Dev* ppb = 385 static const PPB_Testing_Dev* ppb =
386 static_cast<const PPB_Testing_Dev*>( 386 static_cast<const PPB_Testing_Dev*>(
387 GetBrowserInterfaceSafe(PPB_TESTING_DEV_INTERFACE)); 387 GetBrowserInterfaceSafe(PPB_TESTING_DEV_INTERFACE));
388 return ppb; 388 return ppb;
389 } 389 }
390 390
391 const PPB_View* PPBViewInterface() {
392 static const PPB_View* ppb =
393 static_cast<const PPB_View*>(
394 GetBrowserInterfaceSafe(PPB_VIEW_INTERFACE));
395 return ppb;
396 }
397
391 const PPB_Widget_Dev* PPBWidgetInterface() { 398 const PPB_Widget_Dev* PPBWidgetInterface() {
392 static const PPB_Widget_Dev* ppb = 399 static const PPB_Widget_Dev* ppb =
393 static_cast<const PPB_Widget_Dev*>( 400 static_cast<const PPB_Widget_Dev*>(
394 GetBrowserInterfaceSafe(PPB_WIDGET_DEV_INTERFACE)); 401 GetBrowserInterfaceSafe(PPB_WIDGET_DEV_INTERFACE));
395 return ppb; 402 return ppb;
396 } 403 }
397 404
398 const PPB_Zoom_Dev* PPBZoomInterface() { 405 const PPB_Zoom_Dev* PPBZoomInterface() {
399 static const PPB_Zoom_Dev* ppb = 406 static const PPB_Zoom_Dev* ppb =
400 static_cast<const PPB_Zoom_Dev*>( 407 static_cast<const PPB_Zoom_Dev*>(
(...skipping 17 matching lines...) Expand all
418 } 425 }
419 426
420 const PPB_UDPSocket_Private* PPBUDPSocketPrivateInterface() { 427 const PPB_UDPSocket_Private* PPBUDPSocketPrivateInterface() {
421 static const PPB_UDPSocket_Private* ppb = 428 static const PPB_UDPSocket_Private* ppb =
422 static_cast<const PPB_UDPSocket_Private*>( 429 static_cast<const PPB_UDPSocket_Private*>(
423 GetBrowserInterfaceSafe(PPB_UDPSOCKET_PRIVATE_INTERFACE)); 430 GetBrowserInterfaceSafe(PPB_UDPSOCKET_PRIVATE_INTERFACE));
424 return ppb; 431 return ppb;
425 } 432 }
426 433
427 } // namespace ppapi_proxy 434 } // namespace ppapi_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698