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

Side by Side Diff: extensions/common/constants.h

Issue 763933002: Record container for hosted app launches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 6 years 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
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 EXTENSIONS_COMMON_CONSTANTS_H_ 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_
6 #define EXTENSIONS_COMMON_CONSTANTS_H_ 6 #define EXTENSIONS_COMMON_CONSTANTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "ui/base/layout.h" 10 #include "ui/base/layout.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 }; 154 };
155 155
156 // Don't remove items or change the order of this enum. It's used in 156 // Don't remove items or change the order of this enum. It's used in
157 // histograms and preferences. 157 // histograms and preferences.
158 enum LaunchContainer { 158 enum LaunchContainer {
159 LAUNCH_CONTAINER_WINDOW, 159 LAUNCH_CONTAINER_WINDOW,
160 LAUNCH_CONTAINER_PANEL, 160 LAUNCH_CONTAINER_PANEL,
161 LAUNCH_CONTAINER_TAB, 161 LAUNCH_CONTAINER_TAB,
162 // For platform apps, which don't actually have a container (they just get a 162 // For platform apps, which don't actually have a container (they just get a
163 // "onLaunched" event). 163 // "onLaunched" event).
164 LAUNCH_CONTAINER_NONE 164 LAUNCH_CONTAINER_NONE,
165 NUM_LAUNCH_CONTAINERS
165 }; 166 };
166 167
167 } // namespace extensions 168 } // namespace extensions
168 169
169 namespace extension_misc { 170 namespace extension_misc {
170 171
171 // Matches chrome.windows.WINDOW_ID_NONE. 172 // Matches chrome.windows.WINDOW_ID_NONE.
172 const int kUnknownWindowId = -1; 173 const int kUnknownWindowId = -1;
173 174
174 // Matches chrome.windows.WINDOW_ID_CURRENT. 175 // Matches chrome.windows.WINDOW_ID_CURRENT.
(...skipping 27 matching lines...) Expand all
202 const ui::ScaleFactor scale; 203 const ui::ScaleFactor scale;
203 }; 204 };
204 205
205 // The icon representations for extension actions. 206 // The icon representations for extension actions.
206 extern const IconRepresentationInfo kExtensionActionIconSizes[]; 207 extern const IconRepresentationInfo kExtensionActionIconSizes[];
207 const size_t kNumExtensionActionIconSizes = 2u; 208 const size_t kNumExtensionActionIconSizes = 2u;
208 209
209 } // namespace extension_misc 210 } // namespace extension_misc
210 211
211 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ 212 #endif // EXTENSIONS_COMMON_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/extensions/application_launch.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698