class BrowserContext;
}
-namespace apps {
-
+namespace extensions {
class AppDelegate;
class AppWebContentsHelper;
+}
+
+namespace apps {
// Manages the web contents for extension-hosted launcher pages. The
// implementation for this class should create and maintain the WebContents for
public content::WebContentsObserver,
public extensions::ExtensionFunctionDispatcher::Delegate {
public:
- CustomLauncherPageContents(scoped_ptr<AppDelegate> app_delegate,
+ CustomLauncherPageContents(scoped_ptr<extensions::AppDelegate> app_delegate,
const std::string& extension_id);
virtual ~CustomLauncherPageContents();
content::WebContents* web_contents,
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback) OVERRIDE;
+ virtual bool CheckMediaAccessPermission(
+ content::WebContents* web_contents,
+ const GURL& security_origin,
+ content::MediaStreamType type) OVERRIDE;
private:
// content::WebContentsObserver overrides:
scoped_ptr<content::WebContents> web_contents_;
scoped_ptr<extensions::ExtensionFunctionDispatcher>
extension_function_dispatcher_;
- scoped_ptr<AppDelegate> app_delegate_;
- scoped_ptr<AppWebContentsHelper> helper_;
+ scoped_ptr<extensions::AppDelegate> app_delegate_;
+ scoped_ptr<extensions::AppWebContentsHelper> helper_;
std::string extension_id_;