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

Unified 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: New patch 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
index 8fcb9578397c077de7efe180fdd3869e589e38a1..5167dce5de9816c600567ae512b2535075d8ed25 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc
@@ -388,6 +388,13 @@ const PPB_Testing_Dev* PPBTestingInterface() {
return ppb;
}
+const PPB_View* PPBViewInterface() {
+ static const PPB_View* ppb =
+ static_cast<const PPB_View*>(
+ GetBrowserInterfaceSafe(PPB_VIEW_INTERFACE));
+ return ppb;
+}
+
const PPB_Widget_Dev* PPBWidgetInterface() {
static const PPB_Widget_Dev* ppb =
static_cast<const PPB_Widget_Dev*>(

Powered by Google App Engine
This is Rietveld 408576698