summaryrefslogtreecommitdiffstats
path: root/content/common/browser_plugin/browser_plugin_constants.cc
diff options
context:
space:
mode:
authorfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 23:38:33 +0000
committerfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 23:38:33 +0000
commit4f1cd759f5bc58dc12238df5b7d21610b8882dd0 (patch)
treea5d09af1a63b98f514ed299e8fe14cebf9059eeb /content/common/browser_plugin/browser_plugin_constants.cc
parent31bb9d89297b6e65590ae3d69a188411f9dbfa8d (diff)
downloadchromium_src-4f1cd759f5bc58dc12238df5b7d21610b8882dd0.zip
chromium_src-4f1cd759f5bc58dc12238df5b7d21610b8882dd0.tar.gz
chromium_src-4f1cd759f5bc58dc12238df5b7d21610b8882dd0.tar.bz2
BrowserPlugin: Implement internal attach API
This API permits passing the browser process an arbitrary number of parameters from the *view shims. This enables implementing attributes entirely in the chrome layer. BUG=166165 Test=WebViewTest.*, AdViewTest.* TBR=miket@chromium.org for ad_view.js (which I will be OWNER of soon) Review URL: https://chromiumcodereview.appspot.com/19290003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/browser_plugin/browser_plugin_constants.cc')
-rw-r--r--content/common/browser_plugin/browser_plugin_constants.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/browser_plugin/browser_plugin_constants.cc b/content/common/browser_plugin/browser_plugin_constants.cc
index d688e9a..3752bb4 100644
--- a/content/common/browser_plugin/browser_plugin_constants.cc
+++ b/content/common/browser_plugin/browser_plugin_constants.cc
@@ -21,13 +21,14 @@ const char kMethodStop[] = "stop";
const char kMethodTerminate[] = "terminate";
// Internal method bindings.
+const char kMethodInternalAttach[] = "-internal-attach";
const char kMethodInternalAttachWindowTo[] = "-internal-attachWindowTo";
const char kMethodInternalTrackObjectLifetime[] =
"-internal-trackObjectLifetime";
const char kMethodInternalSetPermission[] = "-internal-setPermission";
// Internal events.
-const char kEventInternalAttached[] = "attached";
+const char kEventInternalInstanceIDAllocated[] = "instanceid-allocated";
const char kEventInternalTrackedObjectGone[] = "trackedobjectgone";
// Attributes.