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

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

Issue 144019: Functionality has been requested in the Extension API for Javascript to... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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) 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
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__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698