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

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

Issue 7134035: Make an inserted selected tab selected before calling TabInsertedAt on observers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename selected to active Created 9 years, 6 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: chrome/browser/extensions/extension_browser_event_router.h
diff --git a/chrome/browser/extensions/extension_browser_event_router.h b/chrome/browser/extensions/extension_browser_event_router.h
index dfcc48924c5a0002427fae859cff3778f0d26741..bae2d79925c886ec7039cd5ed77183112d4f998c 100644
--- a/chrome/browser/extensions/extension_browser_event_router.h
+++ b/chrome/browser/extensions/extension_browser_event_router.h
@@ -118,7 +118,8 @@ class ExtensionBrowserEventRouter : public TabStripModelObserver,
void DispatchEventWithTab(Profile* profile,
const std::string& extension_id,
const char* event_name,
- const TabContents* tab_contents);
+ const TabContents* tab_contents,
+ bool foreground);
sky 2011/06/10 14:58:59 foreground -> active
Yoyo Zhou 2011/06/10 18:04:01 Done here and elsewhere.
void DispatchSimpleBrowserEvent(Profile* profile,
const int window_id,

Powered by Google App Engine
This is Rietveld 408576698