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

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

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.h
diff --git a/apps/shell/renderer/shell_dispatcher_delegate.h b/extensions/shell/renderer/shell_dispatcher_delegate.h
similarity index 51%
rename from apps/shell/renderer/shell_dispatcher_delegate.h
rename to extensions/shell/renderer/shell_dispatcher_delegate.h
index 0bbb8f388fbabd3d5adbc663a50545c8f20261be..5009ce7b731f5191077a882b4978321ba68adf89 100644
--- a/apps/shell/renderer/shell_dispatcher_delegate.h
+++ b/extensions/shell/renderer/shell_dispatcher_delegate.h
@@ -2,34 +2,32 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APPS_SHELL_RENDERER_SHELL_DISPATCHER_DELEGATE_H_
-#define APPS_SHELL_RENDERER_SHELL_DISPATCHER_DELEGATE_H_
+#ifndef EXTENSIONS_SHELL_RENDERER_SHELL_DISPATCHER_DELEGATE_H_
+#define EXTENSIONS_SHELL_RENDERER_SHELL_DISPATCHER_DELEGATE_H_
#include "base/macros.h"
#include "extensions/renderer/default_dispatcher_delegate.h"
-namespace apps {
+namespace extensions {
// app_shell's implementation of DispatcherDelegate. This inherits the behavior
// of the default delegate while augmenting its own script resources and native
// native handlers.
-class ShellDispatcherDelegate : public extensions::DefaultDispatcherDelegate {
+class ShellDispatcherDelegate : public DefaultDispatcherDelegate {
public:
ShellDispatcherDelegate();
virtual ~ShellDispatcherDelegate();
// DispatcherDelegate implementation.
- virtual void RegisterNativeHandlers(
- extensions::Dispatcher* dispatcher,
- extensions::ModuleSystem* module_system,
- extensions::ScriptContext* context) OVERRIDE;
- virtual void PopulateSourceMap(
- extensions::ResourceBundleSourceMap* source_map) OVERRIDE;
+ virtual void RegisterNativeHandlers(Dispatcher* dispatcher,
+ ModuleSystem* module_system,
+ ScriptContext* context) OVERRIDE;
+ virtual void PopulateSourceMap(ResourceBundleSourceMap* source_map) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ShellDispatcherDelegate);
};
-} // namespace apps
+} // namespace extensions
-#endif // APPS_SHELL_RENDERER_SHELL_DISPATCHER_DELEGATE_H_
+#endif // EXTENSIONS_SHELL_RENDERER_SHELL_DISPATCHER_DELEGATE_H_
« no previous file with comments | « extensions/shell/renderer/shell_custom_bindings.js ('k') | extensions/shell/renderer/shell_dispatcher_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698