Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1131)

Unified Diff: content/common/browser_plugin/browser_plugin_constants.cc

Issue 21297005: <webview>: Refactor Permission API to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_permissions
Patch Set: Cleanup Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: 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 bd20b8553a6f8f1c74c6f5369474c39596aae9b4..4ca951571d6f8c0b7b7985ed1c0bd7cfce0b1ec6 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,12 +43,7 @@ const char kAttributePartition[] = "partition";
const char kAttributeSrc[] = "src";
// Events.
-const char kEventDialog[] = "dialog";
-const char kEventNewWindow[] = "newwindow";
-const char kEventRequestPermission[] = "permissionrequest";
-const char kEventResponsive[] = "responsive";
const char kEventSizeChanged[] = "sizechanged";
-const char kEventUnresponsive[] = "unresponsive";
// Parameters/properties on events.
const char kDefaultPromptText[] = "defaultPromptText";
@@ -93,6 +87,7 @@ const char kErrorCannotRemovePartition[] =
// Other.
const char kBrowserPluginGuestManagerKeyName[] = "browser_plugin_guest_manager";
const int kInstanceIDNone = 0;
+const int kInvalidPermissionRequestID = 0;
} // namespace browser_plugin

Powered by Google App Engine
This is Rietveld 408576698