OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_EXTENSION_TABS_MODULE_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/extensions/extension_function.h" | 10 #include "chrome/browser/extensions/extension_function.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 class GetTabLanguageFunction : public AsyncExtensionFunction, | 91 class GetTabLanguageFunction : public AsyncExtensionFunction, |
92 public NotificationObserver { | 92 public NotificationObserver { |
93 virtual bool RunImpl(); | 93 virtual bool RunImpl(); |
94 | 94 |
95 private: | 95 private: |
96 virtual void Observe(NotificationType type, | 96 virtual void Observe(NotificationType type, |
97 const NotificationSource& source, | 97 const NotificationSource& source, |
98 const NotificationDetails& details); | 98 const NotificationDetails& details); |
99 NotificationRegistrar registrar_; | 99 NotificationRegistrar registrar_; |
100 }; | 100 }; |
| 101 class GetVisibleTabCaptureFunction : public SyncExtensionFunction { |
| 102 virtual bool RunImpl(); |
| 103 }; |
101 | 104 |
102 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ | 105 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ |
OLD | NEW |