| OLD | NEW |
| 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 // Constants used for the Tabs API and the Windows API. | 5 // Constants used for the Tabs API and the Windows API. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ |
| 9 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| 11 namespace tabs_constants { | 11 namespace tabs_constants { |
| 12 | 12 |
| 13 // Keys used in serializing tab data & events. | 13 // Keys used in serializing tab data & events. |
| 14 extern const char kActiveKey[]; | 14 extern const char kActiveKey[]; |
| 15 extern const char kAllFramesKey[]; | 15 extern const char kAllFramesKey[]; |
| 16 extern const char kAlwaysOnTopKey[]; | 16 extern const char kAlwaysOnTopKey[]; |
| 17 extern const char kBypassCache[]; | 17 extern const char kBypassCache[]; |
| 18 extern const char kCodeKey[]; | 18 extern const char kCodeKey[]; |
| 19 extern const char kCurrentWindowKey[]; | 19 extern const char kCurrentWindowKey[]; |
| 20 extern const char kFaviconUrlKey[]; | 20 extern const char kFaviconUrlKey[]; |
| 21 extern const char kFileKey[]; | 21 extern const char kFileKey[]; |
| 22 extern const char kFocusedKey[]; | 22 extern const char kFocusedKey[]; |
| 23 extern const char kFormatKey[]; | 23 extern const char kFormatKey[]; |
| 24 extern const char kFromIndexKey[]; | 24 extern const char kFromIndexKey[]; |
| 25 extern const char kHeightKey[]; | 25 extern const char kHeightKey[]; |
| 26 extern const char kHighlightedKey[]; |
| 26 extern const char kIdKey[]; | 27 extern const char kIdKey[]; |
| 28 extern const char kIncognitoKey[]; |
| 27 extern const char kIndexKey[]; | 29 extern const char kIndexKey[]; |
| 28 extern const char kLastFocusedWindowKey[]; | 30 extern const char kLastFocusedWindowKey[]; |
| 29 extern const char kLeftKey[]; | 31 extern const char kLeftKey[]; |
| 30 extern const char kNewPositionKey[]; | 32 extern const char kNewPositionKey[]; |
| 31 extern const char kNewWindowIdKey[]; | 33 extern const char kNewWindowIdKey[]; |
| 32 extern const char kOldPositionKey[]; | 34 extern const char kOldPositionKey[]; |
| 33 extern const char kOldWindowIdKey[]; | 35 extern const char kOldWindowIdKey[]; |
| 34 extern const char kOpenerTabIdKey[]; | 36 extern const char kOpenerTabIdKey[]; |
| 35 extern const char kPinnedKey[]; | 37 extern const char kPinnedKey[]; |
| 36 extern const char kQualityKey[]; | 38 extern const char kQualityKey[]; |
| 37 extern const char kHighlightedKey[]; | |
| 38 extern const char kRunAtKey[]; | 39 extern const char kRunAtKey[]; |
| 39 extern const char kSelectedKey[]; | 40 extern const char kSelectedKey[]; |
| 40 extern const char kShowStateKey[]; | 41 extern const char kShowStateKey[]; |
| 41 extern const char kStatusKey[]; | 42 extern const char kStatusKey[]; |
| 42 extern const char kTabIdKey[]; | 43 extern const char kTabIdKey[]; |
| 43 extern const char kTabIdsKey[]; | 44 extern const char kTabIdsKey[]; |
| 44 extern const char kTabsKey[]; | 45 extern const char kTabsKey[]; |
| 45 extern const char kTitleKey[]; | 46 extern const char kTitleKey[]; |
| 46 extern const char kToIndexKey[]; | 47 extern const char kToIndexKey[]; |
| 47 extern const char kTopKey[]; | 48 extern const char kTopKey[]; |
| 48 extern const char kUrlKey[]; | 49 extern const char kUrlKey[]; |
| 50 extern const char kWidthKey[]; |
| 49 extern const char kWindowClosing[]; | 51 extern const char kWindowClosing[]; |
| 50 extern const char kWidthKey[]; | |
| 51 extern const char kWindowIdKey[]; | 52 extern const char kWindowIdKey[]; |
| 52 extern const char kIncognitoKey[]; | |
| 53 extern const char kWindowTypeKey[]; | 53 extern const char kWindowTypeKey[]; |
| 54 extern const char kWindowTypeLongKey[]; | 54 extern const char kWindowTypeLongKey[]; |
| 55 | 55 |
| 56 // Value consts. | 56 // Value consts. |
| 57 extern const char kCanOnlyMoveTabsWithinNormalWindowsError[]; | 57 extern const char kCanOnlyMoveTabsWithinNormalWindowsError[]; |
| 58 extern const char kCanOnlyMoveTabsWithinSameProfileError[]; | 58 extern const char kCanOnlyMoveTabsWithinSameProfileError[]; |
| 59 extern const char kFormatValueJpeg[]; | 59 extern const char kFormatValueJpeg[]; |
| 60 extern const char kFormatValuePng[]; | 60 extern const char kFormatValuePng[]; |
| 61 extern const char kMimeTypeJpeg[]; | 61 extern const char kMimeTypeJpeg[]; |
| 62 extern const char kMimeTypePng[]; | 62 extern const char kMimeTypePng[]; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 extern const char kNoCodeOrFileToExecuteError[]; | 96 extern const char kNoCodeOrFileToExecuteError[]; |
| 97 extern const char kMoreThanOneValuesError[]; | 97 extern const char kMoreThanOneValuesError[]; |
| 98 extern const char kLoadFileError[]; | 98 extern const char kLoadFileError[]; |
| 99 extern const char kCannotDetermineLanguageOfUnloadedTab[]; | 99 extern const char kCannotDetermineLanguageOfUnloadedTab[]; |
| 100 | 100 |
| 101 }; // namespace tabs_constants | 101 }; // namespace tabs_constants |
| 102 }; // namespace extensions | 102 }; // namespace extensions |
| 103 | 103 |
| 104 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ | 104 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ |
| OLD | NEW |