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

Side by Side Diff: extensions/renderer/resources/guest_view/web_view/web_view_constants.js

Issue 1417513003: [Extensions] Don't allow built-in extensions code to be overridden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Jochen's Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This module contains constants used in webview. 5 // This module contains constants used in webview.
6 6
7 // Container for the webview constants. 7 // Container for the webview constants.
8 var WebViewConstants = { 8 var WebViewConstants = {
9 // Attributes. 9 // Attributes.
10 ATTRIBUTE_ALLOWTRANSPARENCY: 'allowtransparency', 10 ATTRIBUTE_ALLOWTRANSPARENCY: 'allowtransparency',
(...skipping 19 matching lines...) Expand all
30 ERROR_MSG_PERMISSION_ACTION_ALREADY_TAKEN: '<webview>: ' + 30 ERROR_MSG_PERMISSION_ACTION_ALREADY_TAKEN: '<webview>: ' +
31 'Permission has already been decided for this "permissionrequest" event.', 31 'Permission has already been decided for this "permissionrequest" event.',
32 ERROR_MSG_INVALID_PARTITION_ATTRIBUTE: '<webview>: ' + 32 ERROR_MSG_INVALID_PARTITION_ATTRIBUTE: '<webview>: ' +
33 'Invalid partition attribute.', 33 'Invalid partition attribute.',
34 WARNING_MSG_DIALOG_REQUEST_BLOCKED: '<webview>: %1 %2 dialog was blocked.', 34 WARNING_MSG_DIALOG_REQUEST_BLOCKED: '<webview>: %1 %2 dialog was blocked.',
35 WARNING_MSG_NEWWINDOW_REQUEST_BLOCKED: '<webview>: A new window was blocked.', 35 WARNING_MSG_NEWWINDOW_REQUEST_BLOCKED: '<webview>: A new window was blocked.',
36 WARNING_MSG_PERMISSION_REQUEST_BLOCKED: '<webview>: ' + 36 WARNING_MSG_PERMISSION_REQUEST_BLOCKED: '<webview>: ' +
37 'The permission request for "%1" has been denied.' 37 'The permission request for "%1" has been denied.'
38 }; 38 };
39 39
40 exports.WebViewConstants = $Object.freeze(WebViewConstants); 40 exports.$set('WebViewConstants', $Object.freeze(WebViewConstants));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698