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

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

Issue 12041078: Clear the clipboard closing Incognito window (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge and compilation fixes 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
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
15 namespace extensions { 17 namespace extensions {
16 18
17 class ExtensionSystem; 19 class ExtensionSystem;
18 20
19 // Controls the script bubble in the omnibox, which displays information about 21 // Controls the script bubble in the omnibox, which displays information about
20 // extensions which are interacting with the current tab. 22 // extensions which are interacting with the current tab.
21 class ScriptBubbleController 23 class ScriptBubbleController
22 : public TabHelper::ScriptExecutionObserver, 24 : public TabHelper::ScriptExecutionObserver,
23 public content::WebContentsObserver { 25 public content::WebContentsObserver {
24 public: 26 public:
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 61
60 // The accumulated set of extension IDs that are operating on this tab. 62 // The accumulated set of extension IDs that are operating on this tab.
61 std::set<std::string> extensions_running_scripts_; 63 std::set<std::string> extensions_running_scripts_;
62 64
63 DISALLOW_COPY_AND_ASSIGN(ScriptBubbleController); 65 DISALLOW_COPY_AND_ASSIGN(ScriptBubbleController);
64 }; 66 };
65 67
66 } // namespace extensions 68 } // namespace extensions
67 69
68 #endif // CHROME_BROWSER_EXTENSIONS_SCRIPT_BUBBLE_CONTROLLER_H_ 70 #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