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

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

Issue 571643003: Remove app_shell chrome.shell API and ShellAppWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (remove-shell) rebase 2 Created 6 years, 3 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/extensions/shell/renderer/shell_dispatcher_delegate.cc b/extensions/shell/renderer/shell_dispatcher_delegate.cc
deleted file mode 100644
index 0f6b04b011886105aca07884e3aca59ed6d57bbf..0000000000000000000000000000000000000000
--- a/extensions/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 "extensions/shell/renderer/shell_dispatcher_delegate.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 extensions {
-
-ShellDispatcherDelegate::ShellDispatcherDelegate() {
-}
-
-ShellDispatcherDelegate::~ShellDispatcherDelegate() {
-}
-
-void ShellDispatcherDelegate::RegisterNativeHandlers(
- Dispatcher* dispatcher,
- ModuleSystem* module_system,
- ScriptContext* context) {
- module_system->RegisterNativeHandler(
- "shell_natives",
- scoped_ptr<NativeHandler>(new ShellCustomBindings(context)));
-}
-
-void ShellDispatcherDelegate::PopulateSourceMap(
- ResourceBundleSourceMap* source_map) {
- source_map->RegisterSource("shell", IDR_SHELL_CUSTOM_BINDINGS_JS);
-}
-
-} // namespace extensions
« no previous file with comments | « extensions/shell/renderer/shell_dispatcher_delegate.h ('k') | extensions/test/data/platform_app/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698