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

Unified Diff: apps/shell/renderer/shell_content_renderer_client.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
« no previous file with comments | « apps/shell/renderer/DEPS ('k') | apps/shell/renderer/shell_content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/renderer/shell_content_renderer_client.h
diff --git a/apps/shell/renderer/shell_content_renderer_client.h b/apps/shell/renderer/shell_content_renderer_client.h
deleted file mode 100644
index 9f7aee2e227a9a1a5059e8f9f3f20a0a01c7d640..0000000000000000000000000000000000000000
--- a/apps/shell/renderer/shell_content_renderer_client.h
+++ /dev/null
@@ -1,58 +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.
-
-#ifndef APPS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
-#define APPS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "content/public/renderer/content_renderer_client.h"
-
-namespace extensions {
-class Dispatcher;
-class DispatcherDelegate;
-}
-
-namespace apps {
-
-class ShellExtensionsClient;
-class ShellExtensionsRendererClient;
-class ShellRendererMainDelegate;
-
-// Renderer initialization and runtime support for app_shell.
-class ShellContentRendererClient : public content::ContentRendererClient {
- public:
- explicit ShellContentRendererClient(
- scoped_ptr<ShellRendererMainDelegate> delegate);
- virtual ~ShellContentRendererClient();
-
- // content::ContentRendererClient implementation:
- virtual void RenderThreadStarted() OVERRIDE;
- virtual void RenderFrameCreated(content::RenderFrame* render_frame) OVERRIDE;
- virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE;
- virtual bool WillSendRequest(blink::WebFrame* frame,
- content::PageTransition transition_type,
- const GURL& url,
- const GURL& first_party_for_cookies,
- GURL* new_url) OVERRIDE;
- virtual void DidCreateScriptContext(blink::WebFrame* frame,
- v8::Handle<v8::Context> context,
- int extension_group,
- int world_id) OVERRIDE;
- virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE;
-
- private:
- scoped_ptr<ShellRendererMainDelegate> delegate_;
- scoped_ptr<ShellExtensionsClient> extensions_client_;
- scoped_ptr<ShellExtensionsRendererClient> extensions_renderer_client_;
- scoped_ptr<extensions::DispatcherDelegate> extension_dispatcher_delegate_;
- scoped_ptr<extensions::Dispatcher> extension_dispatcher_;
-
- DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient);
-};
-
-} // namespace apps
-
-#endif // APPS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
« no previous file with comments | « apps/shell/renderer/DEPS ('k') | apps/shell/renderer/shell_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698