0
Commit Graph

1909 Commits

Author SHA1 Message Date
brettw@chromium.org
66085319ab Var serialization-related proxy stuff. This allows vars to be sent over IPC
and received with proper refcounting semantics.

The basic design is that the SerializedVar is the thing actually handled by
IPC. Then you use one of the many helper classes depending on whether you are
sending or receiving and what the ownership semantics are. The helper classes,
along with the VarSerialization interface makes the right thing happen for
string conversion & refcounting.

The VarSerialization class is implemented differently on the browser and plugin
side and is where the differences in refcounting & strings are handled. This
allows the rest of the code to be the same on both the plugin and browser side
and allows vars to be sent back and forth.

This patch references some files not in it like the dispatcher and various
tracker classes. This is the cleanest cut I could make for a reasonably
reviewable chunk.
Review URL: http://codereview.chromium.org/4096008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65262 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-05 22:14:25 +00:00
brettw@chromium.org
f6b8a8d47a Add proxies for core and class (for calling from WebKit to the plugin). These
don't build by themselves, this is part of a larger patch. You can see most of
the serialization mechanics already checked in to the same directory.

TEST=none
BUG=none
Review URL: http://codereview.chromium.org/4345003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65261 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-05 22:13:39 +00:00
brettw@chromium.org
4c2e935b2b Instance interface implementation. These don't build by themselves, this is
part of a larger patch. You can see most of the serialization mechanics already
checked in to the same directory.

TEST=none
BUG=none
Review URL: http://codereview.chromium.org/4289005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65260 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-05 22:13:02 +00:00
brettw@chromium.org
1de08b360a Add proxies for ImageData and Graphics2D. These don't build by themselves, this
is part of a larger patch. You can see most of the serialization mechanics
already checked in to the same directory.

TEST=none
BUG=none
Review URL: http://codereview.chromium.org/4265002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65097 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-04 19:38:48 +00:00
brettw@chromium.org
1e175e42df Add proxies for Var deprecated and some additional tracking information. These
don't build by themselves, this is part of a larger patch. You can see most of
the serialization mechanics already checked in to the same directory.

TEST=none
BUG=none
Review URL: http://codereview.chromium.org/4369001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64955 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-03 20:04:38 +00:00
brettw@chromium.org
13f1aeb714 Remove serialized var file from previous check that shouldn't have been there.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64875 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-03 03:25:30 +00:00
brettw@chromium.org
c2932f5e21 Core PPAPI proxy files. This includes the dispatcher which is the control point
on each end of the IPC channel. It includes the IPC message definitions. It
also includes the base class for the interface proxying, and the core resource
and var tracking.

BUG=none
TEST=none
Review=http://codereview.chromium.org/4229002/show

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64874 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-03 03:22:33 +00:00
brettw@chromium.org
1a4d9cb51c Revert PPAPI proxy change with too many files in it.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64870 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-03 03:13:01 +00:00
brettw@chromium.org
4bcab1c571 Core PPAPI proxy files. This includes the dispatcher which is the control point
on each end of the IPC channel. It includes the IPC message definitions. It
also includes the base class for the interface proxying, and the core resource
and var tracking.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4229002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64869 0039d316-1c4b-4281-b951-d872f2087c98
2010-11-03 03:10:13 +00:00