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

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: ready to land 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 // |tab_helper| must outlive the created ScriptBadgeController.
18 explicit ScriptBubbleController(TabHelper* tab_helper);
19
20 // TabHelper::ContentScriptObserver implementation
21 virtual void OnContentScriptsExecuting(
22 const content::WebContents* web_contents,
23 const ExecutingScriptsMap& extension_ids,
24 int32 page_id,
25 const GURL& on_url) OVERRIDE;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(ScriptBubbleController);
29 };
30
31 } // namespace extensions
32
33 #endif // CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/script_bubble_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698