| 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 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 source_map_.RegisterSource("browserAction", | 973 source_map_.RegisterSource("browserAction", |
| 974 IDR_BROWSER_ACTION_CUSTOM_BINDINGS_JS); | 974 IDR_BROWSER_ACTION_CUSTOM_BINDINGS_JS); |
| 975 source_map_.RegisterSource("contextMenus", | 975 source_map_.RegisterSource("contextMenus", |
| 976 IDR_CONTEXT_MENUS_CUSTOM_BINDINGS_JS); | 976 IDR_CONTEXT_MENUS_CUSTOM_BINDINGS_JS); |
| 977 source_map_.RegisterSource("declarativeContent", | 977 source_map_.RegisterSource("declarativeContent", |
| 978 IDR_DECLARATIVE_CONTENT_CUSTOM_BINDINGS_JS); | 978 IDR_DECLARATIVE_CONTENT_CUSTOM_BINDINGS_JS); |
| 979 source_map_.RegisterSource("declarativeWebRequest", | 979 source_map_.RegisterSource("declarativeWebRequest", |
| 980 IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS); | 980 IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS); |
| 981 source_map_.RegisterSource("desktopCapture", | 981 source_map_.RegisterSource("desktopCapture", |
| 982 IDR_DESKTOP_CAPTURE_CUSTOM_BINDINGS_JS); | 982 IDR_DESKTOP_CAPTURE_CUSTOM_BINDINGS_JS); |
| 983 source_map_.RegisterSource("developerPrivate", |
| 984 IDR_DEVELOPER_PRIVATE_CUSTOM_BINDINGS_JS); |
| 983 source_map_.RegisterSource("downloads", | 985 source_map_.RegisterSource("downloads", |
| 984 IDR_DOWNLOADS_CUSTOM_BINDINGS_JS); | 986 IDR_DOWNLOADS_CUSTOM_BINDINGS_JS); |
| 985 source_map_.RegisterSource("experimental.offscreen", | 987 source_map_.RegisterSource("experimental.offscreen", |
| 986 IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS); | 988 IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS); |
| 987 source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS); | 989 source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS); |
| 988 source_map_.RegisterSource("feedbackPrivate", | 990 source_map_.RegisterSource("feedbackPrivate", |
| 989 IDR_FEEDBACK_PRIVATE_CUSTOM_BINDINGS_JS); | 991 IDR_FEEDBACK_PRIVATE_CUSTOM_BINDINGS_JS); |
| 990 source_map_.RegisterSource("fileBrowserHandler", | 992 source_map_.RegisterSource("fileBrowserHandler", |
| 991 IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS); | 993 IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS); |
| 992 source_map_.RegisterSource("fileBrowserPrivate", | 994 source_map_.RegisterSource("fileBrowserPrivate", |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 RenderView* background_view = | 1664 RenderView* background_view = |
| 1663 ExtensionHelper::GetBackgroundPage(extension_id); | 1665 ExtensionHelper::GetBackgroundPage(extension_id); |
| 1664 if (background_view) { | 1666 if (background_view) { |
| 1665 background_view->Send(new ExtensionHostMsg_EventAck( | 1667 background_view->Send(new ExtensionHostMsg_EventAck( |
| 1666 background_view->GetRoutingID())); | 1668 background_view->GetRoutingID())); |
| 1667 } | 1669 } |
| 1668 } | 1670 } |
| 1669 } | 1671 } |
| 1670 | 1672 |
| 1671 } // namespace extensions | 1673 } // namespace extensions |
| OLD | NEW |