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

Side by Side Diff: chrome/browser/ui/ash/launcher/launcher_item_controller.h

Issue 13139004: Deprecate Browser::TYPE_PANEL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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) 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_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_
7 7
8 #include "ash/launcher/launcher_types.h" 8 #include "ash/launcher/launcher_types.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 13 matching lines...) Expand all
24 class WebContents; 24 class WebContents;
25 } 25 }
26 26
27 // LauncherItemController is used by ChromeLauncherController to track one 27 // LauncherItemController is used by ChromeLauncherController to track one
28 // or more windows associated with a launcher item. 28 // or more windows associated with a launcher item.
29 class LauncherItemController { 29 class LauncherItemController {
30 public: 30 public:
31 enum Type { 31 enum Type {
32 TYPE_APP, 32 TYPE_APP,
33 TYPE_APP_PANEL, 33 TYPE_APP_PANEL,
34 TYPE_EXTENSION_PANEL,
35 TYPE_SHORTCUT, 34 TYPE_SHORTCUT,
36 TYPE_TABBED, 35 TYPE_TABBED,
37 TYPE_WINDOWED_APP 36 TYPE_WINDOWED_APP
38 }; 37 };
39 38
40 LauncherItemController(Type type, 39 LauncherItemController(Type type,
41 const std::string& app_id, 40 const std::string& app_id,
42 ChromeLauncherController* launcher_controller); 41 ChromeLauncherController* launcher_controller);
43 virtual ~LauncherItemController(); 42 virtual ~LauncherItemController();
44 43
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // applications. 122 // applications.
124 int locked_; 123 int locked_;
125 124
126 // Set to true if the launcher item image has been set by the controller. 125 // Set to true if the launcher item image has been set by the controller.
127 bool image_set_by_controller_; 126 bool image_set_by_controller_;
128 127
129 DISALLOW_COPY_AND_ASSIGN(LauncherItemController); 128 DISALLOW_COPY_AND_ASSIGN(LauncherItemController);
130 }; 129 };
131 130
132 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_ 131 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_LAUNCHER_ITEM_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698