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

Side by Side Diff: chrome/renderer/extensions/dispatcher.cc

Issue 16439016: extfs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 months 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 | Annotate | Revision Log
OLDNEW
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 916 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 source_map_.RegisterSource("declarativeWebRequest", 927 source_map_.RegisterSource("declarativeWebRequest",
928 IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS); 928 IDR_DECLARATIVE_WEBREQUEST_CUSTOM_BINDINGS_JS);
929 source_map_.RegisterSource("downloads", 929 source_map_.RegisterSource("downloads",
930 IDR_DOWNLOADS_CUSTOM_BINDINGS_JS); 930 IDR_DOWNLOADS_CUSTOM_BINDINGS_JS);
931 source_map_.RegisterSource( 931 source_map_.RegisterSource(
932 "experimental.mediaGalleries", 932 "experimental.mediaGalleries",
933 IDR_EXPERIMENTAL_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS); 933 IDR_EXPERIMENTAL_MEDIA_GALLERIES_CUSTOM_BINDINGS_JS);
934 source_map_.RegisterSource("experimental.offscreen", 934 source_map_.RegisterSource("experimental.offscreen",
935 IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS); 935 IDR_EXPERIMENTAL_OFFSCREENTABS_CUSTOM_BINDINGS_JS);
936 source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS); 936 source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS);
937 source_map_.RegisterSource("extfs",
938 IDR_EXTFS_CUSTOM_BINDINGS_JS);
937 source_map_.RegisterSource("feedbackPrivate", 939 source_map_.RegisterSource("feedbackPrivate",
938 IDR_FEEDBACK_PRIVATE_CUSTOM_BINDINGS_JS); 940 IDR_FEEDBACK_PRIVATE_CUSTOM_BINDINGS_JS);
939 source_map_.RegisterSource("fileBrowserHandler", 941 source_map_.RegisterSource("fileBrowserHandler",
940 IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS); 942 IDR_FILE_BROWSER_HANDLER_CUSTOM_BINDINGS_JS);
941 source_map_.RegisterSource("fileBrowserPrivate", 943 source_map_.RegisterSource("fileBrowserPrivate",
942 IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS); 944 IDR_FILE_BROWSER_PRIVATE_CUSTOM_BINDINGS_JS);
943 source_map_.RegisterSource("fileSystem", 945 source_map_.RegisterSource("fileSystem",
944 IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS); 946 IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS);
945 source_map_.RegisterSource("i18n", IDR_I18N_CUSTOM_BINDINGS_JS); 947 source_map_.RegisterSource("i18n", IDR_I18N_CUSTOM_BINDINGS_JS);
946 source_map_.RegisterSource("input.ime", IDR_INPUT_IME_CUSTOM_BINDINGS_JS); 948 source_map_.RegisterSource("input.ime", IDR_INPUT_IME_CUSTOM_BINDINGS_JS);
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1520 RenderView* background_view = 1522 RenderView* background_view =
1521 ExtensionHelper::GetBackgroundPage(extension_id); 1523 ExtensionHelper::GetBackgroundPage(extension_id);
1522 if (background_view) { 1524 if (background_view) {
1523 background_view->Send(new ExtensionHostMsg_EventAck( 1525 background_view->Send(new ExtensionHostMsg_EventAck(
1524 background_view->GetRoutingID())); 1526 background_view->GetRoutingID()));
1525 } 1527 }
1526 } 1528 }
1527 } 1529 }
1528 1530
1529 } // namespace extensions 1531 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698