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

Side by Side Diff: chrome/browser/extensions/script_bubble_controller.h

Issue 12298037: Revert 183123 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1417/src/
Patch Set: Created 7 years, 10 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "chrome/browser/extensions/tab_helper.h" 12 #include "chrome/browser/extensions/tab_helper.h"
13 #include "content/public/browser/web_contents_observer.h" 13 #include "content/public/browser/web_contents_observer.h"
14 14
15 class ExtensionService;
16
17 namespace extensions { 15 namespace extensions {
18 16
19 class ExtensionSystem; 17 class ExtensionSystem;
20 18
21 // Controls the script bubble in the omnibox, which displays information about 19 // Controls the script bubble in the omnibox, which displays information about
22 // extensions which are interacting with the current tab. 20 // extensions which are interacting with the current tab.
23 class ScriptBubbleController 21 class ScriptBubbleController
24 : public TabHelper::ScriptExecutionObserver, 22 : public TabHelper::ScriptExecutionObserver,
25 public content::WebContentsObserver { 23 public content::WebContentsObserver {
26 public: 24 public:
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 59
62 // The accumulated set of extension IDs that are operating on this tab. 60 // The accumulated set of extension IDs that are operating on this tab.
63 std::set<std::string> extensions_running_scripts_; 61 std::set<std::string> extensions_running_scripts_;
64 62
65 DISALLOW_COPY_AND_ASSIGN(ScriptBubbleController); 63 DISALLOW_COPY_AND_ASSIGN(ScriptBubbleController);
66 }; 64 };
67 65
68 } // namespace extensions 66 } // namespace extensions
69 67
70 #endif // CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_ 68 #endif // CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/script_badge_controller.cc ('k') | chrome/browser/extensions/web_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698