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

Unified Diff: apps/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: apps/shell/renderer/shell_dispatcher_delegate.cc
diff --git a/apps/shell/renderer/shell_dispatcher_delegate.cc b/apps/shell/renderer/shell_dispatcher_delegate.cc
deleted file mode 100644
index 7959a5c9bf79aeab9ddf99e1fd6523038d4c0c86..0000000000000000000000000000000000000000
--- a/apps/shell/renderer/shell_dispatcher_delegate.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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 "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 "grit/app_shell_resources.h"
-
-namespace apps {
-
-ShellDispatcherDelegate::ShellDispatcherDelegate() {
-}
-
-ShellDispatcherDelegate::~ShellDispatcherDelegate() {
-}
-
-void ShellDispatcherDelegate::RegisterNativeHandlers(
- extensions::Dispatcher* dispatcher,
- extensions::ModuleSystem* module_system,
- extensions::ScriptContext* context) {
- module_system->RegisterNativeHandler(
- "shell_natives",
- scoped_ptr<extensions::NativeHandler>(new ShellCustomBindings(context)));
-}
-
-void ShellDispatcherDelegate::PopulateSourceMap(
- extensions::ResourceBundleSourceMap* source_map) {
- source_map->RegisterSource("shell", IDR_SHELL_CUSTOM_BINDINGS_JS);
-}
-
-} // namespace apps
« no previous file with comments | « apps/shell/renderer/shell_dispatcher_delegate.h ('k') | apps/shell/renderer/shell_extensions_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698