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>2014-05-20 17:59:06 +0000
committerfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-20 17:59:06 +0000
commit50d326ea8ae1b2a243a0b41980a781f62c77787a (patch)
tree86d9be2a427dc7bc67fb4b121a214be1c24fe739 /content/common/browser_plugin/browser_plugin_constants.cc
parent72fd623ac77a1a49dff1bdf5e86760426aa7eeae (diff)
downloadchromium_src-50d326ea8ae1b2a243a0b41980a781f62c77787a.zip
chromium_src-50d326ea8ae1b2a243a0b41980a781f62c77787a.tar.gz
chromium_src-50d326ea8ae1b2a243a0b41980a781f62c77787a.tar.bz2
<webview>: Move NewWindow API to chrome
This CL moves the New Window API and navigation to chrome. This CL removes a lot of unnecessary content APIs for BrowserPlugin now that permissions no longer live in content. Up next, in a separate CL will be a huge cleanup that removes all WebContentsDelegate code out of BrowserPluginGuest and into WebViewGuest. This should significantly reduce the size of the BrowserPlugin content API. BUG=364141, 330264 TBR=kenrb@chromium.org for trivial browser_plugin_messages.h change. Review URL: https://codereview.chromium.org/272573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271703 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.cc36
1 files changed, 0 insertions, 36 deletions
diff --git a/content/common/browser_plugin/browser_plugin_constants.cc b/content/common/browser_plugin/browser_plugin_constants.cc
index 4b413d3..ee86b05 100644
--- a/content/common/browser_plugin/browser_plugin_constants.cc
+++ b/content/common/browser_plugin/browser_plugin_constants.cc
@@ -8,31 +8,14 @@ namespace content {
namespace browser_plugin {
-// Method bindings.
-const char kMethodBack[] = "back";
-const char kMethodCanGoBack[] = "canGoBack";
-const char kMethodCanGoForward[] = "canGoForward";
-const char kMethodForward[] = "forward";
-const char kMethodGetInstanceId[] = "getInstanceId";
-const char kMethodGetGuestInstanceId[] = "getGuestInstanceId";
-const char kMethodGo[] = "go";
-const char kMethodReload[] = "reload";
-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";
// Internal events.
const char kEventInternalInstanceIDAllocated[] = "instanceid-allocated";
-const char kEventInternalTrackedObjectGone[] = "trackedobjectgone";
// Attributes.
const char kAttributeAllowTransparency[] = "allowtransparency";
-const char kAttributeApi[] = "api";
const char kAttributeAutoSize[] = "autosize";
const char kAttributeContentWindow[] = "contentWindow";
const char kAttributeMaxHeight[] = "maxheight";
@@ -44,26 +27,8 @@ const char kAttributePartition[] = "partition";
const char kAttributeSrc[] = "src";
// Parameters/properties on events.
-const char kId[] = "id";
-const char kInitialHeight[] = "initialHeight";
-const char kInitialWidth[] = "initialWidth";
-const char kLastUnlockedBySelf[] = "lastUnlockedBySelf";
-const char kName[] = "name";
-const char kPermission[] = "permission";
-const char kPermissionTypeDialog[] = "dialog";
-const char kPermissionTypeDownload[] = "download";
-const char kPermissionTypeGeolocation[] = "geolocation";
-const char kPermissionTypeMedia[] = "media";
-const char kPermissionTypeNewWindow[] = "newwindow";
-const char kPermissionTypePointerLock[] = "pointerLock";
const char kPersistPrefix[] = "persist:";
-const char kProcessId[] = "processId";
-const char kRequestId[] = "requestId";
-const char kRequestMethod[] = "requestMethod";
-const char kTargetURL[] = "targetUrl";
-const char kURL[] = "url";
const char kWindowID[] = "windowId";
-const char kWindowOpenDisposition[] = "windowOpenDisposition";
// Error messages.
const char kErrorAlreadyNavigated[] =
@@ -74,7 +39,6 @@ const char kErrorCannotRemovePartition[] =
"Cannot remove partition attribute after navigating.";
// Other.
-const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager";
const int kInstanceIDNone = 0;
const int kInvalidPermissionRequestID = 0;