| OLD | NEW |
| 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_BADGE_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_SCRIPT_BADGE_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_SCRIPT_BADGE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_SCRIPT_BADGE_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "chrome/browser/extensions/location_bar_controller.h" | 16 #include "chrome/browser/extensions/location_bar_controller.h" |
| 17 #include "chrome/browser/extensions/script_executor.h" | 17 #include "chrome/browser/extensions/script_executor.h" |
| 18 #include "chrome/browser/extensions/script_executor_impl.h" | 18 #include "chrome/browser/extensions/script_executor_impl.h" |
| 19 #include "content/public/browser/web_contents_observer.h" | 19 #include "content/public/browser/web_contents_observer.h" |
| 20 | 20 |
| 21 class ExtensionAction; | 21 class ExtensionAction; |
| 22 class ExtensionService; | 22 class ExtensionService; |
| 23 class TabContentsWrapper; | 23 class TabContents; |
| 24 typedef TabContents TabContentsWrapper; |
| 24 | 25 |
| 25 namespace IPC { | 26 namespace IPC { |
| 26 class Message; | 27 class Message; |
| 27 } | 28 } |
| 28 | 29 |
| 29 namespace extensions { | 30 namespace extensions { |
| 30 | 31 |
| 31 class Extension; | 32 class Extension; |
| 32 | 33 |
| 33 // A LocationBarController which displays icons whenever a script is executing | 34 // A LocationBarController which displays icons whenever a script is executing |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 107 |
| 107 // The extensions that have called ExecuteScript on the current frame. | 108 // The extensions that have called ExecuteScript on the current frame. |
| 108 std::set<std::string> extensions_executing_scripts_; | 109 std::set<std::string> extensions_executing_scripts_; |
| 109 | 110 |
| 110 DISALLOW_COPY_AND_ASSIGN(ScriptBadgeController); | 111 DISALLOW_COPY_AND_ASSIGN(ScriptBadgeController); |
| 111 }; | 112 }; |
| 112 | 113 |
| 113 } // namespace extensions | 114 } // namespace extensions |
| 114 | 115 |
| 115 #endif // CHROME_BROWSER_EXTENSIONS_SCRIPT_BADGE_CONTROLLER_H_ | 116 #endif // CHROME_BROWSER_EXTENSIONS_SCRIPT_BADGE_CONTROLLER_H_ |
| OLD | NEW |