Index: extensions/shell/renderer/shell_dispatcher_delegate.cc |
diff --git a/apps/shell/renderer/shell_dispatcher_delegate.cc b/extensions/shell/renderer/shell_dispatcher_delegate.cc |
similarity index 63% |
rename from apps/shell/renderer/shell_dispatcher_delegate.cc |
rename to extensions/shell/renderer/shell_dispatcher_delegate.cc |
index 7959a5c9bf79aeab9ddf99e1fd6523038d4c0c86..0f6b04b011886105aca07884e3aca59ed6d57bbf 100644 |
--- a/apps/shell/renderer/shell_dispatcher_delegate.cc |
+++ b/extensions/shell/renderer/shell_dispatcher_delegate.cc |
@@ -2,15 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "apps/shell/renderer/shell_dispatcher_delegate.h" |
+#include "extensions/shell/renderer/shell_dispatcher_delegate.h" |
-#include "apps/shell/renderer/shell_custom_bindings.h" |
#include "extensions/renderer/module_system.h" |
#include "extensions/renderer/resource_bundle_source_map.h" |
#include "extensions/renderer/script_context.h" |
+#include "extensions/shell/renderer/shell_custom_bindings.h" |
#include "grit/app_shell_resources.h" |
-namespace apps { |
+namespace extensions { |
ShellDispatcherDelegate::ShellDispatcherDelegate() { |
} |
@@ -19,17 +19,17 @@ ShellDispatcherDelegate::~ShellDispatcherDelegate() { |
} |
void ShellDispatcherDelegate::RegisterNativeHandlers( |
- extensions::Dispatcher* dispatcher, |
- extensions::ModuleSystem* module_system, |
- extensions::ScriptContext* context) { |
+ Dispatcher* dispatcher, |
+ ModuleSystem* module_system, |
+ ScriptContext* context) { |
module_system->RegisterNativeHandler( |
"shell_natives", |
- scoped_ptr<extensions::NativeHandler>(new ShellCustomBindings(context))); |
+ scoped_ptr<NativeHandler>(new ShellCustomBindings(context))); |
} |
void ShellDispatcherDelegate::PopulateSourceMap( |
- extensions::ResourceBundleSourceMap* source_map) { |
+ ResourceBundleSourceMap* source_map) { |
source_map->RegisterSource("shell", IDR_SHELL_CUSTOM_BINDINGS_JS); |
} |
-} // namespace apps |
+} // namespace extensions |