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

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

Issue 11014009: Beginnings of the script bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More minor cleanup Created 8 years, 3 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/tab_helper.h
diff --git a/chrome/browser/extensions/tab_helper.h b/chrome/browser/extensions/tab_helper.h
index ed5563f0d808632a718340693052742085825b0b..8bb14e698e0e78311aacf814530c56530abb770f 100644
--- a/chrome/browser/extensions/tab_helper.h
+++ b/chrome/browser/extensions/tab_helper.h
@@ -31,6 +31,7 @@ namespace extensions {
class Extension;
class LocationBarController;
class ScriptBadgeController;
+class ScriptBubbleController;
// Per-tab extension helper. Also handles non-extension apps.
class TabHelper : public content::WebContentsObserver,
@@ -139,6 +140,10 @@ class TabHelper : public content::WebContentsObserver,
return active_tab_permission_granter_.get();
}
+ ScriptBubbleController* script_bubble_controller() {
+ return script_bubble_controller_.get();
+ }
+
// Sets a non-extension app icon associated with WebContents and fires an
// INVALIDATE_TYPE_TITLE navigation state change to trigger repaint of title.
void SetAppIcon(const SkBitmap& app_icon);
@@ -254,6 +259,8 @@ class TabHelper : public content::WebContentsObserver,
scoped_ptr<ActiveTabPermissionGranter> active_tab_permission_granter_;
+ scoped_ptr<ScriptBubbleController> script_bubble_controller_;
+
DISALLOW_COPY_AND_ASSIGN(TabHelper);
};

Powered by Google App Engine
This is Rietveld 408576698