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

Side by Side Diff: chrome/browser/extensions/script_bubble_controller.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, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_
7
8 #include "base/basictypes.h"
9 #include "chrome/browser/extensions/tab_helper.h"
10
11 namespace extensions {
12
13 // Controls the script bubble in the omnibox, which displays information about
14 // extensions which are interacting with the current tab.
15 class ScriptBubbleController : public TabHelper::ContentScriptObserver {
16 public:
17 explicit ScriptBubbleController(TabHelper* tab_helper);
Jeffrey Yasskin 2012/10/02 00:26:31 Are there lifetime requirements on tab_helper vs *
Aaron Boodman 2012/10/02 01:28:52 Done.
18
19 // TabHelper::ContentScriptObserver implementation
20 virtual void OnContentScriptsExecuting(
21 const content::WebContents* web_contents,
22 const ExecutingScriptsMap& extension_ids,
23 int32 page_id,
24 const GURL& on_url) OVERRIDE;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ScriptBubbleController);
28 };
29
30 } // namespace extensions
31
32 #endif // CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698