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

Unified Diff: extensions/shell/browser/shell_extension_host_delegate.h

Issue 493453004: app_shell: Add audio and video capture support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (video-capture) rebase Created 6 years, 4 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/browser/shell_extension_host_delegate.h
diff --git a/chrome/browser/extensions/chrome_extension_host_delegate.h b/extensions/shell/browser/shell_extension_host_delegate.h
similarity index 59%
copy from chrome/browser/extensions/chrome_extension_host_delegate.h
copy to extensions/shell/browser/shell_extension_host_delegate.h
index 207cd689993e866f455d3eac120ee1d9d72da101..759a4657bbd2a88e46c1696b9dc262b9cf8a6cb6 100644
--- a/chrome/browser/extensions/chrome_extension_host_delegate.h
+++ b/extensions/shell/browser/shell_extension_host_delegate.h
@@ -2,24 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_
-#define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_
+#ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_
+#define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_
+#include "base/macros.h"
#include "extensions/browser/extension_host_delegate.h"
namespace extensions {
-// Chrome support for ExtensionHost.
-class ChromeExtensionHostDelegate : public ExtensionHostDelegate {
+// A minimal ExtensionHostDelegate.
+class ShellExtensionHostDelegate : public ExtensionHostDelegate {
public:
- ChromeExtensionHostDelegate();
- virtual ~ChromeExtensionHostDelegate();
+ ShellExtensionHostDelegate();
+ virtual ~ShellExtensionHostDelegate();
// ExtensionHostDelegate implementation.
- virtual void OnExtensionHostCreated(content::WebContents* web_contents)
- OVERRIDE;
- virtual void OnRenderViewCreatedForBackgroundPage(ExtensionHost* host)
- OVERRIDE;
+ virtual void OnExtensionHostCreated(
+ content::WebContents* web_contents) OVERRIDE;
+ virtual void OnRenderViewCreatedForBackgroundPage(
+ ExtensionHost* host) OVERRIDE;
virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager()
OVERRIDE;
virtual void CreateTab(content::WebContents* web_contents,
@@ -32,8 +33,11 @@ class ChromeExtensionHostDelegate : public ExtensionHostDelegate {
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback,
const Extension* extension) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ShellExtensionHostDelegate);
};
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_HOST_DELEGATE_H_
+#endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_HOST_DELEGATE_H_
« no previous file with comments | « extensions/shell/browser/shell_desktop_controller.cc ('k') | extensions/shell/browser/shell_extension_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698