OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/renderer/extensions/dispatcher.h" | 5 #include "chrome/renderer/extensions/dispatcher.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/debug/alias.h" | 9 #include "base/debug/alias.h" |
10 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 source_map_.RegisterSource("declarativeWebRequest", | 823 source_map_.RegisterSource("declarativeWebRequest", |
824 IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS); | 824 IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS); |
825 source_map_.RegisterSource("downloads", | 825 source_map_.RegisterSource("downloads", |
826 IDR_DOWNLOADS_CUSTOM_BINDINGS_JS); | 826 IDR_DOWNLOADS_CUSTOM_BINDINGS_JS); |
827 source_map_.RegisterSource( | 827 source_map_.RegisterSource( |
828 "experimental.mediaGalleries", | 828 "experimental.mediaGalleries", |
829 IDR_EXPERIMENTAL_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS); | 829 IDR_EXPERIMENTAL_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS); |
830 source_map_.RegisterSource("experimental.offscreen", | 830 source_map_.RegisterSource("experimental.offscreen", |
831 IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS); | 831 IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS); |
832 source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS); | 832 source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS); |
| 833 source_map_.RegisterSource("extfs", |
| 834 IDR_EXTFS_CUSTOM_BINDINGS_JS); |
833 source_map_.RegisterSource("fileBrowserHandler", | 835 source_map_.RegisterSource("fileBrowserHandler", |
834 IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS); | 836 IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS); |
835 source_map_.RegisterSource("fileBrowserPrivate", | 837 source_map_.RegisterSource("fileBrowserPrivate", |
836 IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS); | 838 IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS); |
837 source_map_.RegisterSource("fileSystem", | 839 source_map_.RegisterSource("fileSystem", |
838 IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS); | 840 IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS); |
839 source_map_.RegisterSource("i18n", IDR_I18N_CUSTOM_BINDINGS_JS); | 841 source_map_.RegisterSource("i18n", IDR_I18N_CUSTOM_BINDINGS_JS); |
840 source_map_.RegisterSource("input.ime", IDR_INPUT_IME_CUSTOM_BINDINGS_JS); | 842 source_map_.RegisterSource("input.ime", IDR_INPUT_IME_CUSTOM_BINDINGS_JS); |
841 source_map_.RegisterSource("mediaGalleries", | 843 source_map_.RegisterSource("mediaGalleries", |
842 IDR_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS); | 844 IDR_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS); |
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 RenderView* background_view = | 1435 RenderView* background_view = |
1434 ExtensionHelper::GetBackgroundPage(extension_id); | 1436 ExtensionHelper::GetBackgroundPage(extension_id); |
1435 if (background_view) { | 1437 if (background_view) { |
1436 background_view->Send(new ExtensionHostMsg_EventAck( | 1438 background_view->Send(new ExtensionHostMsg_EventAck( |
1437 background_view->GetRoutingID())); | 1439 background_view->GetRoutingID())); |
1438 } | 1440 } |
1439 } | 1441 } |
1440 } | 1442 } |
1441 | 1443 |
1442 } // namespace extensions | 1444 } // namespace extensions |
OLD | NEW |