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

Unified Diff: extensions/shell/browser/shell_app_window_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
« no previous file with comments | « extensions/shell/browser/shell_app_window.cc ('k') | extensions/shell/browser/shell_desktop_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_app_window_controller.h
diff --git a/extensions/shell/browser/shell_app_window_controller.h b/extensions/shell/browser/shell_app_window_controller.h
index f8a7fa0bdb79ded9b5152ed430870140162a48e7..65d9d8e990e65291c022350189918479d05c5517 100644
--- a/extensions/shell/browser/shell_app_window_controller.h
+++ b/extensions/shell/browser/shell_app_window_controller.h
@@ -11,6 +11,7 @@ class BrowserContext;
namespace extensions {
+class Extension;
class ShellAppWindow;
class ShellAppWindowController {
@@ -19,9 +20,11 @@ class ShellAppWindowController {
// Creates a new app window and adds it to the desktop. This class should
// maintain the ownership of the window.
- virtual ShellAppWindow* CreateAppWindow(content::BrowserContext* context) = 0;
+ virtual ShellAppWindow* CreateAppWindow(content::BrowserContext* context,
+ const Extension* extension) = 0;
- // Closes and destroys the app windows.
+ // Closes and destroys the app windows. Must be called before the extension
+ // is destroyed.
virtual void CloseAppWindows() = 0;
};
« no previous file with comments | « extensions/shell/browser/shell_app_window.cc ('k') | extensions/shell/browser/shell_desktop_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698