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

Unified Diff: chrome/browser/extensions/window_controller.cc

Issue 10777004: Support chrome.windows extension API events for browserless Panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 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 | « chrome/browser/extensions/window_controller.h ('k') | chrome/browser/extensions/window_controller_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/window_controller.cc
diff --git a/chrome/browser/extensions/window_controller.cc b/chrome/browser/extensions/window_controller.cc
index 28e1e2e07c96e4261499aaa5f1a02c8a2640b58a..a81e6771da9909094f7ff2556123ccca92ea70c2 100644
--- a/chrome/browser/extensions/window_controller.cc
+++ b/chrome/browser/extensions/window_controller.cc
@@ -18,11 +18,9 @@ namespace extensions {
WindowController::WindowController(BaseWindow* window, Profile* profile)
: window_(window), profile_(profile) {
- WindowControllerList::GetInstance()->AddExtensionWindow(this);
}
WindowController::~WindowController() {
- WindowControllerList::GetInstance()->RemoveExtensionWindow(this);
}
Browser* WindowController::GetBrowser() const {
« no previous file with comments | « chrome/browser/extensions/window_controller.h ('k') | chrome/browser/extensions/window_controller_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698