summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/private/var_private.h
Commit message (Collapse)AuthorAgeFilesLines
* Convert resources to take an instance key instead of an Instance*.brettw@chromium.org2012-02-271-2/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9381010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123795 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some egregious bugs in Var.brettw@chromium.org2011-08-051-1/+1
| | | | | | | | | | | | | | | | Self-assignment was broken and would lose the reference. I uncovered this when running a test. It outputted a warning to the console, but we never looked at it. I made a more explicit test. This also fixes output exceptions. The OutException helper class detected whether the existing object had an exception or not incorrectly. This was exposed when var assignment was fixed. TEST=included BUG=none Review URL: http://codereview.chromium.org/7511026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95690 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up a couple of things we missed for the ppapi scripting yak shave.dmichael@chromium.org2011-05-281-0/+4
| | | | | | | | | BUG=82606 TEST=Compiles + ppapi tests pass Review URL: http://codereview.chromium.org/7083009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87160 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Instance_Trusted to Instance_Private, wire it up in Chrome.dmichael@chromium.org2011-04-191-1/+3
| | | | | | | | | | | Add C++ InstancePrivate. BUG=None TEST=PPAPI tests Review URL: http://codereview.chromium.org/6871040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82104 0039d316-1c4b-4281-b951-d872f2087c98
* Create a VarPrivate interface to contain the scripting helper functions of Var.brettw@chromium.org2011-04-111-0/+117
Currently, the old functions are left in Var. When people have a chance to move to this new API, we can delete them from Var. This also adds new enums for ARRAY and DICTIONARY vars, and makes the var C++ wrapper forward-compatible with them by refcounting any enums that it doesn't know about. Review URL: http://codereview.chromium.org/6823016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81068 0039d316-1c4b-4281-b951-d872f2087c98