summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_browser_event_router.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_browser_event_router.h')
-rw-r--r--chrome/browser/extensions/extension_browser_event_router.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_browser_event_router.h b/chrome/browser/extensions/extension_browser_event_router.h
index 29ec398..51099fd 100644
--- a/chrome/browser/extensions/extension_browser_event_router.h
+++ b/chrome/browser/extensions/extension_browser_event_router.h
@@ -22,13 +22,13 @@
class ExtensionBrowserEventRouter : public TabStripModelObserver,
public NotificationObserver {
public:
- // Get Browser-Global instance
+ // Get Browser-Global instance.
static ExtensionBrowserEventRouter* GetInstance();
// Must be called once. Subsequent calls have no effect.
void Init();
- // TabStripModelObserver
+ // TabStripModelObserver.
void TabInsertedAt(TabContents* contents, int index, bool foreground);
void TabClosingAt(TabContents* contents, int index);
void TabDetachedAt(TabContents* contents, int index);
@@ -40,7 +40,13 @@ class ExtensionBrowserEventRouter : public TabStripModelObserver,
void TabChangedAt(TabContents* contents, int index, bool loading_only);
void TabStripEmpty();
- // NotificationObserver
+ // PageActions.
+ void PageActionExecuted(Profile *profile,
+ std::string page_action_id,
+ int tab_id,
+ std::string url);
+
+ // NotificationObserver.
void Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details);