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

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

Issue 79070: createWindow api call. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 "chrome/browser/extensions/extension_function.h" 8 #include "chrome/browser/extensions/extension_function.h"
9 9
10 class Browser; 10 class Browser;
11 class TabContents; 11 class TabContents;
12 12
13 class ExtensionTabUtil { 13 class ExtensionTabUtil {
14 public: 14 public:
15 static int GetWindowId(const Browser* browser); 15 static int GetWindowId(const Browser* browser);
16 static int GetTabId(const TabContents* tab_contents); 16 static int GetTabId(const TabContents* tab_contents);
17 static int GetWindowIdOfTab(const TabContents* tab_contents); 17 static int GetWindowIdOfTab(const TabContents* tab_contents);
18 }; 18 };
19 19
20 class GetWindowsFunction : public SyncExtensionFunction { 20 class GetWindowsFunction : public SyncExtensionFunction {
21 virtual bool RunImpl(); 21 virtual bool RunImpl();
22 }; 22 };
23 class CreateWindowFunction : public SyncExtensionFunction {
24 virtual bool RunImpl();
25 };
23 class GetTabsForWindowFunction : public SyncExtensionFunction { 26 class GetTabsForWindowFunction : public SyncExtensionFunction {
24 virtual bool RunImpl(); 27 virtual bool RunImpl();
25 }; 28 };
26 class CreateTabFunction : public SyncExtensionFunction { 29 class CreateTabFunction : public SyncExtensionFunction {
27 virtual bool RunImpl(); 30 virtual bool RunImpl();
28 }; 31 };
29 class GetTabFunction : public SyncExtensionFunction { 32 class GetTabFunction : public SyncExtensionFunction {
30 virtual bool RunImpl(); 33 virtual bool RunImpl();
31 }; 34 };
32 class UpdateTabFunction : public SyncExtensionFunction { 35 class UpdateTabFunction : public SyncExtensionFunction {
33 virtual bool RunImpl(); 36 virtual bool RunImpl();
34 }; 37 };
35 class MoveTabFunction : public SyncExtensionFunction { 38 class MoveTabFunction : public SyncExtensionFunction {
36 virtual bool RunImpl(); 39 virtual bool RunImpl();
37 }; 40 };
38 class RemoveTabFunction : public SyncExtensionFunction { 41 class RemoveTabFunction : public SyncExtensionFunction {
39 virtual bool RunImpl(); 42 virtual bool RunImpl();
40 }; 43 };
41 44
42 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__ 45 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_tabs_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698