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

Unified Diff: ppapi/shared_impl/api_id.h

Issue 11359063: Refactor the way singleton-style resources are exposed via PPB_Instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/shared_impl/api_id.h
diff --git a/ppapi/shared_impl/api_id.h b/ppapi/shared_impl/api_id.h
index 360b8cbfa96848328e58faa99d42a77d17990124..61dd13c03aa5ec812f1b62052542241097baee8a 100644
--- a/ppapi/shared_impl/api_id.h
+++ b/ppapi/shared_impl/api_id.h
@@ -75,6 +75,14 @@ enum ApiID {
API_ID_COUNT
};
+// These IDs are used to access singleton resource objects using
+// PPB_Instance_API.GetSingletonResource.
+enum SingletonResourceID {
+ FLASH_SINGLETON_ID,
+ FLASH_CLIPBOARD_SINGLETON_ID,
+ GAMEPAD_SINGLETON_ID,
+};
+
} // namespace ppapi
#endif // PPAPI_SHARED_IMPL_API_ID_H_

Powered by Google App Engine
This is Rietveld 408576698