diff options
-rw-r--r-- | apps/shell/app_shell.gyp | 1 | ||||
-rw-r--r-- | chrome/chrome_renderer.gypi | 17 | ||||
-rw-r--r-- | chrome/chrome_repack_resources.gypi | 1 | ||||
-rw-r--r-- | chrome/chrome_tests_unit.gypi | 1 | ||||
-rw-r--r-- | chrome/renderer/extensions/event_unittest.cc | 2 | ||||
-rw-r--r-- | chrome/renderer/extensions/json_schema_unittest.cc | 2 | ||||
-rw-r--r-- | chrome/renderer/extensions/messaging_utils_unittest.cc | 2 | ||||
-rw-r--r-- | chrome/renderer/extensions/safe_builtins_unittest.cc | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/app_runtime_custom_bindings.js (renamed from extensions/renderer/resources/app_runtime_custom_bindings.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/binding.js (renamed from extensions/renderer/resources/binding.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/context_menus_custom_bindings.js (renamed from extensions/renderer/resources/context_menus_custom_bindings.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/entry_id_manager.js (renamed from extensions/renderer/resources/entry_id_manager.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/event.js (renamed from extensions/renderer/resources/event.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/extension_custom_bindings.js (renamed from extensions/renderer/resources/extension_custom_bindings.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/greasemonkey_api.js (renamed from extensions/renderer/resources/greasemonkey_api.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/i18n_custom_bindings.js (renamed from extensions/renderer/resources/i18n_custom_bindings.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/image_util.js (renamed from extensions/renderer/resources/image_util.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/json_schema.js (renamed from extensions/renderer/resources/json_schema.js) | 6 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/last_error.js (renamed from extensions/renderer/resources/last_error.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/messaging.js (renamed from extensions/renderer/resources/messaging.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/messaging_utils.js (renamed from extensions/renderer/resources/messaging_utils.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/permissions_custom_bindings.js (renamed from extensions/renderer/resources/permissions_custom_bindings.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/platform_app.css (renamed from extensions/renderer/resources/platform_app.css) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/platform_app.js (renamed from extensions/renderer/resources/platform_app.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/runtime_custom_bindings.js (renamed from extensions/renderer/resources/runtime_custom_bindings.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/schema_utils.js (renamed from extensions/renderer/resources/schema_utils.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/send_request.js (renamed from extensions/renderer/resources/send_request.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/set_icon.js (renamed from extensions/renderer/resources/set_icon.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/storage_area.js (renamed from extensions/renderer/resources/storage_area.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/test_custom_bindings.js (renamed from extensions/renderer/resources/test_custom_bindings.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/uncaught_exception_handler.js (renamed from extensions/renderer/resources/uncaught_exception_handler.js) | 0 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/unload_event.js (renamed from extensions/renderer/resources/unload_event.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/extensions/utils.js (renamed from extensions/renderer/resources/utils.js) | 2 | ||||
-rw-r--r-- | chrome/renderer/resources/renderer_resources.grd | 27 | ||||
-rw-r--r-- | extensions/DEPS | 4 | ||||
-rw-r--r-- | extensions/extensions.gyp | 25 | ||||
-rw-r--r-- | extensions/extensions_resources.gyp | 12 | ||||
-rw-r--r-- | extensions/renderer/dispatcher.cc | 2 | ||||
-rw-r--r-- | extensions/renderer/resources/extensions_renderer_resources.grd | 45 | ||||
-rw-r--r-- | extensions/renderer/script_injection.cc | 2 | ||||
-rw-r--r-- | tools/gritsettings/resource_ids | 7 |
41 files changed, 82 insertions, 122 deletions
diff --git a/apps/shell/app_shell.gyp b/apps/shell/app_shell.gyp index bd5b26a..fd1295e 100644 --- a/apps/shell/app_shell.gyp +++ b/apps/shell/app_shell.gyp @@ -51,7 +51,6 @@ '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.pak', '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_percent.pak', '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', - '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_en-US.pak', '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_settings_en-US.pak', diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi index 977fbb1..bbcd4b5 100644 --- a/chrome/chrome_renderer.gypi +++ b/chrome/chrome_renderer.gypi @@ -142,22 +142,31 @@ 'renderer/resources/extensions/app_custom_bindings.js', 'renderer/resources/extensions/app_window_custom_bindings.js', 'renderer/resources/extensions/automation_custom_bindings.js', + 'renderer/resources/extensions/binding.js', 'renderer/resources/extensions/browser_action_custom_bindings.js', 'renderer/resources/extensions/chrome_direct_setting.js', 'renderer/resources/extensions/chrome_setting.js', 'renderer/resources/extensions/content_setting.js', + 'renderer/resources/extensions/context_menus_custom_bindings.js', 'renderer/resources/extensions/declarative_content_custom_bindings.js', 'renderer/resources/extensions/declarative_webrequest_custom_bindings.js', 'renderer/resources/extensions/enterprise_platform_keys_custom_bindings.js', + 'renderer/resources/extensions/event.js', + 'renderer/resources/extensions/extension_custom_bindings.js', 'renderer/resources/extensions/feedback_private_custom_bindings.js', 'renderer/resources/extensions/file_browser_handler_custom_bindings.js', 'renderer/resources/extensions/file_browser_private_custom_bindings.js', 'renderer/resources/extensions/file_system_custom_bindings.js', 'renderer/resources/extensions/file_system_provider_custom_bindings.js', 'renderer/resources/extensions/gcm_custom_bindings.js', + 'renderer/resources/extensions/greasemonkey_api.js', 'renderer/resources/extensions/identity_custom_bindings.js', 'renderer/resources/extensions/image_writer_private_custom_bindings.js', 'renderer/resources/extensions/input.ime_custom_bindings.js', + 'renderer/resources/extensions/json_schema.js', + 'renderer/resources/extensions/last_error.js', + 'renderer/resources/extensions/messaging.js', + 'renderer/resources/extensions/messaging_utils.js', 'renderer/resources/extensions/notifications_custom_bindings.js', 'renderer/resources/extensions/omnibox_custom_bindings.js', 'renderer/resources/extensions/page_action_custom_bindings.js', @@ -165,9 +174,17 @@ 'renderer/resources/extensions/page_capture_custom_bindings.js', 'renderer/resources/extensions/platform_app.js', 'renderer/resources/extensions/pepper_request.js', + 'renderer/resources/extensions/runtime_custom_bindings.js', + 'renderer/resources/extensions/send_request.js', + 'renderer/resources/extensions/set_icon.js', + 'renderer/resources/extensions/storage_area.js', 'renderer/resources/extensions/system_indicator_custom_bindings.js', + 'renderer/resources/extensions/test_custom_bindings.js', 'renderer/resources/extensions/tts_custom_bindings.js', 'renderer/resources/extensions/tts_engine_custom_bindings.js', + 'renderer/resources/extensions/uncaught_exception_handler.js', + 'renderer/resources/extensions/unload_event.js', + 'renderer/resources/extensions/utils.js', 'renderer/resources/extensions/web_request_custom_bindings.js', 'renderer/resources/extensions/web_view.js', 'renderer/resources/extensions/web_view_experimental.js', diff --git a/chrome/chrome_repack_resources.gypi b/chrome/chrome_repack_resources.gypi index 10f124d..219d72f 100644 --- a/chrome/chrome_repack_resources.gypi +++ b/chrome/chrome_repack_resources.gypi @@ -30,7 +30,6 @@ 'pak_inputs': [ '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', - '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak', ], diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi index 1e23679..d46e751 100644 --- a/chrome/chrome_tests_unit.gypi +++ b/chrome/chrome_tests_unit.gypi @@ -2015,7 +2015,6 @@ '../components/components.gyp:data_reduction_proxy_test_support', '../components/components_strings.gyp:components_strings', '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks', - '../extensions/extensions_resources.gyp:extensions_resources', '../extensions/extensions_strings.gyp:extensions_strings', '../gpu/gpu.gyp:gpu_unittest_utils', '../media/media.gyp:media_test_support', diff --git a/chrome/renderer/extensions/event_unittest.cc b/chrome/renderer/extensions/event_unittest.cc index 1abc55e..b767363 100644 --- a/chrome/renderer/extensions/event_unittest.cc +++ b/chrome/renderer/extensions/event_unittest.cc @@ -5,7 +5,7 @@ #include "chrome/test/base/module_system_test.h" #include "extensions/common/extension_urls.h" -#include "grit/extensions_renderer_resources.h" +#include "grit/renderer_resources.h" namespace extensions { namespace { diff --git a/chrome/renderer/extensions/json_schema_unittest.cc b/chrome/renderer/extensions/json_schema_unittest.cc index aabd91c..858b135 100644 --- a/chrome/renderer/extensions/json_schema_unittest.cc +++ b/chrome/renderer/extensions/json_schema_unittest.cc @@ -4,7 +4,7 @@ #include "chrome/test/base/module_system_test.h" #include "extensions/renderer/v8_schema_registry.h" -#include "grit/extensions_renderer_resources.h" +#include "grit/renderer_resources.h" namespace extensions { diff --git a/chrome/renderer/extensions/messaging_utils_unittest.cc b/chrome/renderer/extensions/messaging_utils_unittest.cc index 4a53bbd..6f92389 100644 --- a/chrome/renderer/extensions/messaging_utils_unittest.cc +++ b/chrome/renderer/extensions/messaging_utils_unittest.cc @@ -4,7 +4,7 @@ #include "base/strings/stringprintf.h" #include "chrome/test/base/module_system_test.h" -#include "grit/extensions_renderer_resources.h" +#include "grit/renderer_resources.h" namespace extensions { namespace { diff --git a/chrome/renderer/extensions/safe_builtins_unittest.cc b/chrome/renderer/extensions/safe_builtins_unittest.cc index acf8194..70c93ae 100644 --- a/chrome/renderer/extensions/safe_builtins_unittest.cc +++ b/chrome/renderer/extensions/safe_builtins_unittest.cc @@ -4,6 +4,8 @@ #include "chrome/test/base/module_system_test.h" +#include "grit/renderer_resources.h" + namespace extensions { namespace { diff --git a/extensions/renderer/resources/app_runtime_custom_bindings.js b/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js index f4fe24d..d51352f 100644 --- a/extensions/renderer/resources/app_runtime_custom_bindings.js +++ b/chrome/renderer/resources/extensions/app_runtime_custom_bindings.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/binding.js b/chrome/renderer/resources/extensions/binding.js index b0c6afa..4bb9b99 100644 --- a/extensions/renderer/resources/binding.js +++ b/chrome/renderer/resources/extensions/binding.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/context_menus_custom_bindings.js b/chrome/renderer/resources/extensions/context_menus_custom_bindings.js index 71a97a4..5323f73 100644 --- a/extensions/renderer/resources/context_menus_custom_bindings.js +++ b/chrome/renderer/resources/extensions/context_menus_custom_bindings.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/entry_id_manager.js b/chrome/renderer/resources/extensions/entry_id_manager.js index 9fc2c14..669e7bf 100644 --- a/extensions/renderer/resources/entry_id_manager.js +++ b/chrome/renderer/resources/extensions/entry_id_manager.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2013 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. diff --git a/extensions/renderer/resources/event.js b/chrome/renderer/resources/extensions/event.js index d82b9fb..74f3ee06 100644 --- a/extensions/renderer/resources/event.js +++ b/chrome/renderer/resources/extensions/event.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/extension_custom_bindings.js b/chrome/renderer/resources/extensions/extension_custom_bindings.js index d114f52..b28fabd 100644 --- a/extensions/renderer/resources/extension_custom_bindings.js +++ b/chrome/renderer/resources/extensions/extension_custom_bindings.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/greasemonkey_api.js b/chrome/renderer/resources/extensions/greasemonkey_api.js index bc09911..b1970f7 100644 --- a/extensions/renderer/resources/greasemonkey_api.js +++ b/chrome/renderer/resources/extensions/greasemonkey_api.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 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. diff --git a/extensions/renderer/resources/i18n_custom_bindings.js b/chrome/renderer/resources/extensions/i18n_custom_bindings.js index 38570f3..5bdd494 100644 --- a/extensions/renderer/resources/i18n_custom_bindings.js +++ b/chrome/renderer/resources/extensions/i18n_custom_bindings.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/image_util.js b/chrome/renderer/resources/extensions/image_util.js index b6cd1b1..7986740 100644 --- a/extensions/renderer/resources/image_util.js +++ b/chrome/renderer/resources/extensions/image_util.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright 2013 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. diff --git a/extensions/renderer/resources/json_schema.js b/chrome/renderer/resources/extensions/json_schema.js index 67c30c9..f2478f9 100644 --- a/extensions/renderer/resources/json_schema.js +++ b/chrome/renderer/resources/extensions/json_schema.js @@ -1,10 +1,10 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. // ----------------------------------------------------------------------------- -// NOTE: If you change this file you need to touch -// extension_renderer_resources.grd to have your change take effect. +// NOTE: If you change this file you need to touch renderer_resources.grd to +// have your change take effect. // ----------------------------------------------------------------------------- //============================================================================== diff --git a/extensions/renderer/resources/last_error.js b/chrome/renderer/resources/extensions/last_error.js index 8d53371..b096aa4 100644 --- a/extensions/renderer/resources/last_error.js +++ b/chrome/renderer/resources/extensions/last_error.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/messaging.js b/chrome/renderer/resources/extensions/messaging.js index c7a45de..aea77cb 100644 --- a/extensions/renderer/resources/messaging.js +++ b/chrome/renderer/resources/extensions/messaging.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/messaging_utils.js b/chrome/renderer/resources/extensions/messaging_utils.js index d1b563d..dd0fc28 100644 --- a/extensions/renderer/resources/messaging_utils.js +++ b/chrome/renderer/resources/extensions/messaging_utils.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright 2013 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. diff --git a/extensions/renderer/resources/permissions_custom_bindings.js b/chrome/renderer/resources/extensions/permissions_custom_bindings.js index 60edfaa..f702dc0 100644 --- a/extensions/renderer/resources/permissions_custom_bindings.js +++ b/chrome/renderer/resources/extensions/permissions_custom_bindings.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/platform_app.css b/chrome/renderer/resources/extensions/platform_app.css index eb241de..c16891d 100644 --- a/extensions/renderer/resources/platform_app.css +++ b/chrome/renderer/resources/extensions/platform_app.css @@ -1,5 +1,5 @@ /* - * Copyright 2014 The Chromium Authors. All rights reserved. + * Copyright (c) 2012 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. * diff --git a/extensions/renderer/resources/platform_app.js b/chrome/renderer/resources/extensions/platform_app.js index 16470a5..f6934cf 100644 --- a/extensions/renderer/resources/platform_app.js +++ b/chrome/renderer/resources/extensions/platform_app.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/runtime_custom_bindings.js b/chrome/renderer/resources/extensions/runtime_custom_bindings.js index 88f4f5e..add47cc 100644 --- a/extensions/renderer/resources/runtime_custom_bindings.js +++ b/chrome/renderer/resources/extensions/runtime_custom_bindings.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/schema_utils.js b/chrome/renderer/resources/extensions/schema_utils.js index c0cb777..d54fbe2 100644 --- a/extensions/renderer/resources/schema_utils.js +++ b/chrome/renderer/resources/extensions/schema_utils.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/send_request.js b/chrome/renderer/resources/extensions/send_request.js index 8402843..808c6cd 100644 --- a/extensions/renderer/resources/send_request.js +++ b/chrome/renderer/resources/extensions/send_request.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/set_icon.js b/chrome/renderer/resources/extensions/set_icon.js index 883fd67..dde9274 100644 --- a/extensions/renderer/resources/set_icon.js +++ b/chrome/renderer/resources/extensions/set_icon.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/storage_area.js b/chrome/renderer/resources/extensions/storage_area.js index de737ab..66d57d4 100644 --- a/extensions/renderer/resources/storage_area.js +++ b/chrome/renderer/resources/extensions/storage_area.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/test_custom_bindings.js b/chrome/renderer/resources/extensions/test_custom_bindings.js index 6e94b0c..3c5c89c 100644 --- a/extensions/renderer/resources/test_custom_bindings.js +++ b/chrome/renderer/resources/extensions/test_custom_bindings.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/extensions/renderer/resources/uncaught_exception_handler.js b/chrome/renderer/resources/extensions/uncaught_exception_handler.js index a3709b5..a3709b5 100644 --- a/extensions/renderer/resources/uncaught_exception_handler.js +++ b/chrome/renderer/resources/extensions/uncaught_exception_handler.js diff --git a/extensions/renderer/resources/unload_event.js b/chrome/renderer/resources/extensions/unload_event.js index 753c2f0..52cf889 100644 --- a/extensions/renderer/resources/unload_event.js +++ b/chrome/renderer/resources/extensions/unload_event.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright 2013 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. diff --git a/extensions/renderer/resources/utils.js b/chrome/renderer/resources/extensions/utils.js index dd1ec2a..4378e3c 100644 --- a/extensions/renderer/resources/utils.js +++ b/chrome/renderer/resources/extensions/utils.js @@ -1,4 +1,4 @@ -// Copyright 2014 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. diff --git a/chrome/renderer/resources/renderer_resources.grd b/chrome/renderer/resources/renderer_resources.grd index a419012..8d545cb 100644 --- a/chrome/renderer/resources/renderer_resources.grd +++ b/chrome/renderer/resources/renderer_resources.grd @@ -1,4 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- This comment is only here because changes to resources are not picked up +without changes to the corresponding grd file. fb9 --> <grit latest_public_release="0" current_release="1"> <outputs> <output filename="grit/renderer_resources.h" type="rc_header" context="default_100_percent"> @@ -33,11 +35,13 @@ <include name="IDR_AD_VIEW_DENY_JS" file="extensions\ad_view_deny.js" type="BINDATA" /> <include name="IDR_AD_VIEW_JS" file="extensions\ad_view.js" type="BINDATA" /> <include name="IDR_APP_CUSTOM_BINDINGS_JS" file="extensions\app_custom_bindings.js" type="BINDATA" /> + <include name="IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS" file="extensions\app_runtime_custom_bindings.js" type="BINDATA" /> <include name="IDR_APP_WINDOW_CUSTOM_BINDINGS_JS" file="extensions\app_window_custom_bindings.js" type="BINDATA" /> <include name="IDR_AUTOMATION_CUSTOM_BINDINGS_JS" file="extensions\automation_custom_bindings.js" type="BINDATA" /> <include name="IDR_AUTOMATION_EVENT_JS" file="extensions\automation\automation_event.js" type="BINDATA" /> <include name="IDR_AUTOMATION_NODE_JS" file="extensions\automation\automation_node.js" type="BINDATA" /> <include name="IDR_AUTOMATION_TREE_JS" file="extensions\automation\automation_tree.js" type="BINDATA" /> + <include name="IDR_BINDING_JS" file="extensions\binding.js" type="BINDATA" /> <include name="IDR_BROWSER_ACTION_CUSTOM_BINDINGS_JS" file="extensions\browser_action_custom_bindings.js" type="BINDATA" /> <include name="IDR_CAST_STREAMING_RTP_STREAM_CUSTOM_BINDINGS_JS" file="extensions\cast_streaming_rtp_stream_custom_bindings.js" type="BINDATA" /> <include name="IDR_CAST_STREAMING_SESSION_CUSTOM_BINDINGS_JS" file="extensions\cast_streaming_session_custom_bindings.js" type="BINDATA" /> @@ -46,6 +50,7 @@ file="extensions\chrome_direct_setting.js" type="BINDATA" /> <include name="IDR_CHROME_SETTING_JS" file="extensions\chrome_setting.js" type="BINDATA" /> <include name="IDR_CONTENT_SETTING_JS" file="extensions\content_setting.js" type="BINDATA" /> + <include name="IDR_CONTEXT_MENUS_CUSTOM_BINDINGS_JS" file="extensions\context_menus_custom_bindings.js" type="BINDATA" /> <include name="IDR_DECLARATIVE_CONTENT_CUSTOM_BINDINGS_JS" file="extensions\declarative_content_custom_bindings.js" type="BINDATA" /> <include name="IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS" file="extensions\declarative_webrequest_custom_bindings.js" type="BINDATA" /> <include name="IDR_DESKTOP_CAPTURE_CUSTOM_BINDINGS_JS" file="extensions\desktop_capture_custom_bindings.js" type="BINDATA" /> @@ -58,29 +63,49 @@ <include name="IDR_ENTERPRISE_PLATFORM_KEYS_SUBTLE_CRYPTO_JS" file="extensions\enterprise_platform_keys\subtle_crypto.js" type="BINDATA" /> <include name="IDR_ENTERPRISE_PLATFORM_KEYS_TOKEN_JS" file="extensions\enterprise_platform_keys\token.js" type="BINDATA" /> <include name="IDR_ENTERPRISE_PLATFORM_KEYS_UTILS_JS" file="extensions\enterprise_platform_keys\utils.js" type="BINDATA" /> + <include name="IDR_ENTRY_ID_MANAGER" file="extensions\entry_id_manager.js" type="BINDATA" /> + <include name="IDR_EVENT_BINDINGS_JS" file="extensions\event.js" type="BINDATA" /> + <include name="IDR_EXTENSION_CUSTOM_BINDINGS_JS" file="extensions\extension_custom_bindings.js" type="BINDATA" /> <include name="IDR_FEEDBACK_PRIVATE_CUSTOM_BINDINGS_JS" file="extensions\feedback_private_custom_bindings.js" type="BINDATA" /> <include name="IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS" file="extensions\file_browser_handler_custom_bindings.js" type="BINDATA" /> <include name="IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS" file="extensions\file_browser_private_custom_bindings.js" type="BINDATA" /> <include name="IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS" file="extensions\file_system_custom_bindings.js" type="BINDATA" /> <include name="IDR_FILE_SYSTEM_PROVIDER_CUSTOM_BINDINGS_JS" file="extensions\file_system_provider_custom_bindings.js" type="BINDATA" /> <include name="IDR_GCM_CUSTOM_BINDINGS_JS" file="extensions\gcm_custom_bindings.js" type="BINDATA" /> + <include name="IDR_GREASEMONKEY_API_JS" file="extensions\greasemonkey_api.js" type="BINDATA" /> + <include name="IDR_I18N_CUSTOM_BINDINGS_JS" file="extensions\i18n_custom_bindings.js" type="BINDATA" /> <include name="IDR_IDENTITY_CUSTOM_BINDINGS_JS" file="extensions\identity_custom_bindings.js" type="BINDATA" /> + <include name="IDR_IMAGE_UTIL_JS" file="extensions\image_util.js" type="BINDATA" /> <include name="IDR_IMAGE_WRITER_PRIVATE_CUSTOM_BINDINGS_JS" file="extensions\image_writer_private_custom_bindings.js" type="BINDATA" /> <include name="IDR_INPUT_IME_CUSTOM_BINDINGS_JS" file="extensions\input.ime_custom_bindings.js" type="BINDATA" /> + <include name="IDR_JSON_SCHEMA_JS" file="extensions\json_schema.js" type="BINDATA" /> + <include name="IDR_LAST_ERROR_JS" file="extensions\last_error.js" type="BINDATA" /> <include name="IDR_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS" file="extensions\media_galleries_custom_bindings.js" type="BINDATA" /> + <include name="IDR_MESSAGING_JS" file="extensions\messaging.js" type="BINDATA" /> + <include name="IDR_MESSAGING_UTILS_JS" file="extensions\messaging_utils.js" type="BINDATA" /> <include name="IDR_NOTIFICATIONS_CUSTOM_BINDINGS_JS" file="extensions\notifications_custom_bindings.js" type="BINDATA" /> <include name="IDR_OMNIBOX_CUSTOM_BINDINGS_JS" file="extensions\omnibox_custom_bindings.js" type="BINDATA" /> <include name="IDR_PAGE_ACTIONS_CUSTOM_BINDINGS_JS" file="extensions\page_actions_custom_bindings.js" type="BINDATA" /> <include name="IDR_PAGE_ACTION_CUSTOM_BINDINGS_JS" file="extensions\page_action_custom_bindings.js" type="BINDATA" /> <include name="IDR_PAGE_CAPTURE_CUSTOM_BINDINGS_JS" file="extensions\page_capture_custom_bindings.js" type="BINDATA" /> <include name="IDR_PEPPER_REQUEST_JS" file="extensions\pepper_request.js" type="BINDATA" /> + <include name="IDR_PERMISSIONS_CUSTOM_BINDINGS_JS" file="extensions\permissions_custom_bindings.js" type="BINDATA" /> + <include name="IDR_RUNTIME_CUSTOM_BINDINGS_JS" file="extensions\runtime_custom_bindings.js" type="BINDATA" /> + <include name="IDR_SCHEMA_UTILS_JS" file="extensions\schema_utils.js" type="BINDATA" /> + <include name="IDR_SEND_REQUEST_JS" file="extensions\send_request.js" type="BINDATA" /> + <include name="IDR_SET_ICON_JS" file="extensions\set_icon.js" type="BINDATA" /> + <include name="IDR_STORAGE_AREA_JS" file="extensions\storage_area.js" type="BINDATA" /> <include name="IDR_SYNC_FILE_SYSTEM_CUSTOM_BINDINGS_JS" file="extensions\sync_file_system_custom_bindings.js" type="BINDATA" /> <include name="IDR_SYSTEM_INDICATOR_CUSTOM_BINDINGS_JS" file="extensions\system_indicator_custom_bindings.js" type="BINDATA" /> <include name="IDR_TAB_CAPTURE_CUSTOM_BINDINGS_JS" file="extensions\tab_capture_custom_bindings.js" type="BINDATA" /> <include name="IDR_TABS_CUSTOM_BINDINGS_JS" file="extensions\tabs_custom_bindings.js" type="BINDATA" /> <include name="IDR_TAG_WATCHER_JS" file="extensions\tag_watcher.js" type="BINDATA" /> + <include name="IDR_TEST_CUSTOM_BINDINGS_JS" file="extensions\test_custom_bindings.js" type="BINDATA" /> <include name="IDR_TTS_CUSTOM_BINDINGS_JS" file="extensions\tts_custom_bindings.js" type="BINDATA" /> <include name="IDR_TTS_ENGINE_CUSTOM_BINDINGS_JS" file="extensions\tts_engine_custom_bindings.js" type="BINDATA" /> + <include name="IDR_UNCAUGHT_EXCEPTION_HANDLER_JS" file="extensions\uncaught_exception_handler.js" type="BINDATA" /> + <include name="IDR_UNLOAD_EVENT_JS" file="extensions\unload_event.js" type="BINDATA" /> + <include name="IDR_UTILS_JS" file="extensions\utils.js" type="BINDATA" /> <include name="IDR_WINDOW_CONTROLS_JS" file="extensions\window_controls.js" type="BINDATA" /> <include name="IDR_WINDOW_CONTROLS_TEMPLATE_HTML" file="extensions\window_controls_template.html" type="BINDATA" /> <include name="IDR_WEB_REQUEST_CUSTOM_BINDINGS_JS" file="extensions\web_request_custom_bindings.js" type="BINDATA" /> @@ -93,6 +118,8 @@ <include name="IDR_WEB_VIEW_REQUEST_CUSTOM_BINDINGS_JS" file="extensions\webview_request_custom_bindings.js" type="BINDATA" /> <!-- Platform app support. --> + <include name="IDR_PLATFORM_APP_CSS" file="extensions\platform_app.css" type="BINDATA" /> + <include name="IDR_PLATFORM_APP_JS" file="extensions\platform_app.js" type="BINDATA" /> <include name="IDR_INJECT_APP_TITLEBAR_JS" file="extensions\inject_app_titlebar.js" type="BINDATA" /> </if> </includes> diff --git a/extensions/DEPS b/extensions/DEPS index d762dc4..f919975 100644 --- a/extensions/DEPS +++ b/extensions/DEPS @@ -2,7 +2,6 @@ include_rules = [ "+components/url_matcher", "+content/public/common", "+crypto", - "+grit/extensions_renderer_resources.h", "+grit/extensions_resources.h", "+testing", "+ui", @@ -14,6 +13,9 @@ include_rules = [ # # TODO(jamescook): Remove these. http://crbug.com/162530 "!chrome/browser/chrome_notification_types.h", + # This is needed for renderer JS sources which should eventually move to + # the extensions_resources target. + "!grit/renderer_resources.h", ] specific_include_rules = { diff --git a/extensions/extensions.gyp b/extensions/extensions.gyp index 52c299e..e00b987 100644 --- a/extensions/extensions.gyp +++ b/extensions/extensions.gyp @@ -526,31 +526,6 @@ 'renderer/request_sender.h', 'renderer/resource_bundle_source_map.cc', 'renderer/resource_bundle_source_map.h', - 'renderer/resources/app_runtime_custom_bindings.js', - 'renderer/resources/binding.js', - 'renderer/resources/context_menus_custom_bindings.js', - 'renderer/resources/entry_id_manager.js', - 'renderer/resources/event.js', - 'renderer/resources/extension_custom_bindings.js', - 'renderer/resources/greasemonkey_api.js', - 'renderer/resources/i18n_custom_bindings.js', - 'renderer/resources/image_util.js', - 'renderer/resources/json_schema.js', - 'renderer/resources/last_error.js', - 'renderer/resources/messaging.js', - 'renderer/resources/messaging_utils.js', - 'renderer/resources/permissions_custom_bindings.js', - 'renderer/resources/platform_app.css', - 'renderer/resources/platform_app.js', - 'renderer/resources/extensions/runtime_custom_bindings.js', - 'renderer/resources/schema_utils.js', - 'renderer/resources/send_request.js', - 'renderer/resources/set_icon.js', - 'renderer/resources/storage_area.js', - 'renderer/resources/test_custom_bindings.js', - 'renderer/resources/uncaught_exception_handler.js', - 'renderer/resources/unload_event.js', - 'renderer/resources/utils.js', 'renderer/runtime_custom_bindings.cc', 'renderer/runtime_custom_bindings.h', 'renderer/safe_builtins.cc', diff --git a/extensions/extensions_resources.gyp b/extensions/extensions_resources.gyp index dd0e1cd..856def8 100644 --- a/extensions/extensions_resources.gyp +++ b/extensions/extensions_resources.gyp @@ -18,20 +18,8 @@ }, 'includes': [ '../build/grit_action.gypi' ], }, - { - 'action_name': 'extensions_renderer_resources', - 'variables': { - 'grit_grd_file': 'renderer/resources/extensions_renderer_resources.grd', - }, - 'includes': [ '../build/grit_action.gypi' ], - }, ], 'includes': [ '../build/grit_target.gypi' ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)/extensions', - ] - }, 'hard_dependency': 1, } ] diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc index dde54db..0d11726 100644 --- a/extensions/renderer/dispatcher.cc +++ b/extensions/renderer/dispatcher.cc @@ -73,7 +73,7 @@ #include "extensions/renderer/user_script_slave.h" #include "extensions/renderer/utils_native_handler.h" #include "extensions/renderer/v8_context_native_handler.h" -#include "grit/extensions_renderer_resources.h" +#include "grit/renderer_resources.h" #include "third_party/WebKit/public/platform/WebString.h" #include "third_party/WebKit/public/platform/WebURLRequest.h" #include "third_party/WebKit/public/web/WebCustomElement.h" diff --git a/extensions/renderer/resources/extensions_renderer_resources.grd b/extensions/renderer/resources/extensions_renderer_resources.grd deleted file mode 100644 index 4cf03e4b..0000000 --- a/extensions/renderer/resources/extensions_renderer_resources.grd +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<grit latest_public_release="0" current_release="1"> - <outputs> - <output filename="grit/extensions_renderer_resources.h" type="rc_header"> - <emit emit_type='prepend'></emit> - </output> - <output filename="extensions_renderer_resources.pak" type="data_package" /> - </outputs> - <release seq="1"> - <includes> - <!-- Extension libraries. --> - <include name="IDR_ENTRY_ID_MANAGER" file="entry_id_manager.js" type="BINDATA" /> - <include name="IDR_EVENT_BINDINGS_JS" file="event.js" type="BINDATA" /> - <include name="IDR_IMAGE_UTIL_JS" file="image_util.js" type="BINDATA" /> - <include name="IDR_JSON_SCHEMA_JS" file="json_schema.js" type="BINDATA" /> - <include name="IDR_LAST_ERROR_JS" file="last_error.js" type="BINDATA" /> - <include name="IDR_MESSAGING_JS" file="messaging.js" type="BINDATA" /> - <include name="IDR_MESSAGING_UTILS_JS" file="messaging_utils.js" type="BINDATA" /> - <include name="IDR_SCHEMA_UTILS_JS" file="schema_utils.js" type="BINDATA" /> - <include name="IDR_SEND_REQUEST_JS" file="send_request.js" type="BINDATA" /> - <include name="IDR_SET_ICON_JS" file="set_icon.js" type="BINDATA" /> - <include name="IDR_TEST_CUSTOM_BINDINGS_JS" file="test_custom_bindings.js" type="BINDATA" /> - <include name="IDR_UNCAUGHT_EXCEPTION_HANDLER_JS" file="uncaught_exception_handler.js" type="BINDATA" /> - <include name="IDR_UNLOAD_EVENT_JS" file="unload_event.js" type="BINDATA" /> - <include name="IDR_UTILS_JS" file="utils.js" type="BINDATA" /> - - <!-- Custom bindings for APIs. --> - <include name="IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS" file="app_runtime_custom_bindings.js" type="BINDATA" /> - <include name="IDR_CONTEXT_MENUS_CUSTOM_BINDINGS_JS" file="context_menus_custom_bindings.js" type="BINDATA" /> - <include name="IDR_EXTENSION_CUSTOM_BINDINGS_JS" file="extension_custom_bindings.js" type="BINDATA" /> - <include name="IDR_GREASEMONKEY_API_JS" file="greasemonkey_api.js" type="BINDATA" /> - <include name="IDR_I18N_CUSTOM_BINDINGS_JS" file="i18n_custom_bindings.js" type="BINDATA" /> - <include name="IDR_PERMISSIONS_CUSTOM_BINDINGS_JS" file="permissions_custom_bindings.js" type="BINDATA" /> - <include name="IDR_RUNTIME_CUSTOM_BINDINGS_JS" file="runtime_custom_bindings.js" type="BINDATA" /> - <include name="IDR_BINDING_JS" file="binding.js" type="BINDATA" /> - - <!-- Custom types for APIs. --> - <include name="IDR_STORAGE_AREA_JS" file="storage_area.js" type="BINDATA" /> - - <!-- Platform app support. --> - <include name="IDR_PLATFORM_APP_CSS" file="platform_app.css" type="BINDATA" /> - <include name="IDR_PLATFORM_APP_JS" file="platform_app.js" type="BINDATA" /> - </includes> - </release> -</grit> diff --git a/extensions/renderer/script_injection.cc b/extensions/renderer/script_injection.cc index 036dfc7..d3113cd 100644 --- a/extensions/renderer/script_injection.cc +++ b/extensions/renderer/script_injection.cc @@ -19,7 +19,7 @@ #include "extensions/renderer/extension_helper.h" #include "extensions/renderer/script_context.h" #include "extensions/renderer/user_script_slave.h" -#include "grit/extensions_renderer_resources.h" +#include "grit/renderer_resources.h" #include "third_party/WebKit/public/web/WebDocument.h" #include "third_party/WebKit/public/web/WebFrame.h" #include "third_party/WebKit/public/web/WebScriptSource.h" diff --git a/tools/gritsettings/resource_ids b/tools/gritsettings/resource_ids index 21d8a69..45eb5a4 100644 --- a/tools/gritsettings/resource_ids +++ b/tools/gritsettings/resource_ids @@ -163,13 +163,10 @@ "messages": [26000], }, "chrome/common/extensions_api_resources.grd": { - "includes": [26400], + "includes": [26500], }, "extensions/extensions_resources.grd": { - "includes": [26600], - }, - "extensions/renderer/resources/extensions_renderer_resources.grd": { - "includes": [26800], + "includes": [26750], }, "extensions/extensions_strings.grd": { "messages": [27000], |