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

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

Issue 160276: mole expand/collapse API (Closed)
Patch Set: fixed a couple of crashers Created 11 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLSTRIP_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLSTRIP_API_H_
7
8 #include "chrome/browser/extensions/extension_function.h"
9 #include "chrome/browser/extensions/extension_shelf_model.h"
10
11 // Function names.
12 namespace extension_toolstrip_api_functions {
13 extern const char kExpandFunction[];
14 extern const char kCollapseFunction[];
15 }; // namespace extension_toolstrip_api_functions
16
17 class ToolstripFunction : public SyncExtensionFunction {
18 protected:
19 virtual bool RunImpl();
20
21 ExtensionShelfModel* model_;
22 ExtensionShelfModel::iterator toolstrip_;
23 };
24
25 class ToolstripExpandFunction : public ToolstripFunction {
26 virtual bool RunImpl();
27 };
28
29 class ToolstripCollapseFunction : public ToolstripFunction {
30 virtual bool RunImpl();
31 };
32
33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TOOLSTRIP_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_shelf_model_unittest.cc ('k') | chrome/browser/extensions/extension_toolstrip_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698