Index: extensions/renderer/resources/guest_view/web_view_constants.js |
diff --git a/extensions/renderer/resources/guest_view/web_view_constants.js b/extensions/renderer/resources/guest_view/web_view_constants.js |
deleted file mode 100644 |
index 23e2c872fc2ff07c62c9e045e389300d8300b2df..0000000000000000000000000000000000000000 |
--- a/extensions/renderer/resources/guest_view/web_view_constants.js |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-// This module contains constants used in webview. |
- |
-// Container for the webview constants. |
-var WebViewConstants = { |
- // Attributes. |
- ATTRIBUTE_ALLOWTRANSPARENCY: 'allowtransparency', |
- ATTRIBUTE_ALLOWSCALING: 'allowscaling', |
- ATTRIBUTE_AUTOSIZE: 'autosize', |
- ATTRIBUTE_MAXHEIGHT: 'maxheight', |
- ATTRIBUTE_MAXWIDTH: 'maxwidth', |
- ATTRIBUTE_MINHEIGHT: 'minheight', |
- ATTRIBUTE_MINWIDTH: 'minwidth', |
- ATTRIBUTE_NAME: 'name', |
- ATTRIBUTE_PARTITION: 'partition', |
- ATTRIBUTE_SRC: 'src', |
- |
- // Error/warning messages. |
- ERROR_MSG_ALREADY_NAVIGATED: '<webview>: ' + |
- 'The object has already navigated, so its partition cannot be changed.', |
- ERROR_MSG_CANNOT_INJECT_SCRIPT: '<webview>: ' + |
- 'Script cannot be injected into content until the page has loaded.', |
- ERROR_MSG_CONTENTWINDOW_NOT_AVAILABLE: '<webview>: ' + |
- 'contentWindow is not available at this time. It will become available ' + |
- 'when the page has finished loading.', |
- ERROR_MSG_DIALOG_ACTION_ALREADY_TAKEN: '<webview>: ' + |
- 'An action has already been taken for this "dialog" event.', |
- ERROR_MSG_NEWWINDOW_ACTION_ALREADY_TAKEN: '<webview>: ' + |
- 'An action has already been taken for this "newwindow" event.', |
- ERROR_MSG_PERMISSION_ACTION_ALREADY_TAKEN: '<webview>: ' + |
- 'Permission has already been decided for this "permissionrequest" event.', |
- ERROR_MSG_INVALID_PARTITION_ATTRIBUTE: '<webview>: ' + |
- 'Invalid partition attribute.', |
- WARNING_MSG_DIALOG_REQUEST_BLOCKED: '<webview>: %1 %2 dialog was blocked.', |
- WARNING_MSG_NEWWINDOW_REQUEST_BLOCKED: '<webview>: A new window was blocked.', |
- WARNING_MSG_PERMISSION_REQUEST_BLOCKED: '<webview>: ' + |
- 'The permission request for "%1" has been denied.' |
-}; |
- |
-exports.WebViewConstants = WebViewConstants; |