From af1718c96bdbb97961614cf2ee3512894ec78e0c Mon Sep 17 00:00:00 2001
From: "fsamuel@chromium.org"
 <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Mon, 12 Aug 2013 19:59:19 +0000
Subject: <webview>: Refactor Permission API to chrome

BUG=166165
Test=WebViewTest.*, WebViewInteractiveTest.*
TBR=cdn@chromium.org for removing IPCs in browser_plugin_messages.h
NOTRY=true, previous patch worked, just merging.

Review URL: https://chromiumcodereview.appspot.com/21297005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217057 0039d316-1c4b-4281-b951-d872f2087c98
---
 content/common/browser_plugin/browser_plugin_constants.cc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'content/common/browser_plugin/browser_plugin_constants.cc')

diff --git a/content/common/browser_plugin/browser_plugin_constants.cc b/content/common/browser_plugin/browser_plugin_constants.cc
index 691366b..9ba17bc 100644
--- a/content/common/browser_plugin/browser_plugin_constants.cc
+++ b/content/common/browser_plugin/browser_plugin_constants.cc
@@ -25,7 +25,6 @@ const char kMethodInternalAttach[] = "-internal-attach";
 const char kMethodInternalAttachWindowTo[] = "-internal-attachWindowTo";
 const char kMethodInternalTrackObjectLifetime[] =
     "-internal-trackObjectLifetime";
-const char kMethodInternalSetPermission[] = "-internal-setPermission";
 
 // Internal events.
 const char kEventInternalInstanceIDAllocated[] = "instanceid-allocated";
@@ -44,9 +43,6 @@ const char kAttributePartition[] = "partition";
 const char kAttributeSrc[] = "src";
 
 // Events.
-const char kEventDialog[] = "dialog";
-const char kEventNewWindow[] = "newwindow";
-const char kEventRequestPermission[] = "permissionrequest";
 const char kEventSizeChanged[] = "sizechanged";
 
 // Parameters/properties on events.
@@ -90,6 +86,7 @@ const char kErrorCannotRemovePartition[] =
 // Other.
 const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager";
 const int kInstanceIDNone = 0;
+const int kInvalidPermissionRequestID = 0;
 
 }  // namespace browser_plugin
 
-- 
cgit v1.1