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

Unified Diff: extensions/shell/renderer/shell_dispatcher_delegate.cc

Issue 412713002: Move apps/shell to extensions/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 40% Created 6 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 side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « extensions/shell/renderer/shell_dispatcher_delegate.h ('k') | extensions/shell/renderer/shell_extensions_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698