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

Unified Diff: chrome/browser/extensions/extension_browser_event_router.h

Issue 88053: implement remaining tab events (except for onTabUpdated). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « no previous file | chrome/browser/extensions/extension_browser_event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_browser_event_router.h
===================================================================
--- chrome/browser/extensions/extension_browser_event_router.h (revision 14176)
+++ chrome/browser/extensions/extension_browser_event_router.h (working copy)
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_
#include <vector>
+#include <set>
#include <string>
#include "base/basictypes.h"
@@ -49,6 +50,10 @@
bool initialized_;
+ // Maintain set of known tab ids, so we can distinguish between tab creation
+ // and tab insertion. Also used to not send tab-detached after tab-removed.
Matt Perry 2009/04/22 18:20:17 nit: "Also used to avoid sending"
+ std::set<int> tab_ids_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter);
};
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698