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

Unified Diff: extensions/shell/browser/shell_desktop_controller.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_desktop_controller.h
diff --git a/extensions/shell/browser/shell_desktop_controller.h b/extensions/shell/browser/shell_desktop_controller.h
index 5d7dc764de210638bfc83fbe9e4993dcef33a7df..90ba2eb2efd15122855b5449e8b711d365175ae2 100644
--- a/extensions/shell/browser/shell_desktop_controller.h
+++ b/extensions/shell/browser/shell_desktop_controller.h
@@ -50,6 +50,7 @@ class UserActivityDetector;
namespace extensions {
+class Extension;
class ShellAppWindow;
class ShellAppWindowController;
@@ -80,8 +81,10 @@ class ShellDesktopController : public aura::client::WindowTreeClient,
void SetAppWindowController(ShellAppWindowController* app_window_controller);
// Creates a new app window and adds it to the desktop. The desktop maintains
- // ownership of the window.
- ShellAppWindow* CreateAppWindow(content::BrowserContext* context);
+ // ownership of the window. The window must be closed before |extension| is
+ // destroyed.
+ ShellAppWindow* CreateAppWindow(content::BrowserContext* context,
+ const Extension* extension);
// Closes and destroys the app windows.
void CloseAppWindows();
« no previous file with comments | « extensions/shell/browser/shell_app_window_controller.h ('k') | extensions/shell/browser/shell_desktop_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698