| 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 { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 extern const char kTabsKey[]; | 45 extern const char kTabsKey[]; |
| 46 extern const char kTitleKey[]; | 46 extern const char kTitleKey[]; |
| 47 extern const char kToIndexKey[]; | 47 extern const char kToIndexKey[]; |
| 48 extern const char kTopKey[]; | 48 extern const char kTopKey[]; |
| 49 extern const char kUrlKey[]; | 49 extern const char kUrlKey[]; |
| 50 extern const char kWidthKey[]; | 50 extern const char kWidthKey[]; |
| 51 extern const char kWindowClosing[]; | 51 extern const char kWindowClosing[]; |
| 52 extern const char kWindowIdKey[]; | 52 extern const char kWindowIdKey[]; |
| 53 extern const char kWindowTypeKey[]; | 53 extern const char kWindowTypeKey[]; |
| 54 extern const char kWindowTypeLongKey[]; | 54 extern const char kWindowTypeLongKey[]; |
| 55 extern const char kZoomSettingsMode[]; |
| 56 extern const char kZoomSettingsScope[]; |
| 55 | 57 |
| 56 // Value consts. | 58 // Value consts. |
| 57 extern const char kCanOnlyMoveTabsWithinNormalWindowsError[]; | 59 extern const char kCanOnlyMoveTabsWithinNormalWindowsError[]; |
| 58 extern const char kCanOnlyMoveTabsWithinSameProfileError[]; | 60 extern const char kCanOnlyMoveTabsWithinSameProfileError[]; |
| 59 extern const char kFormatValueJpeg[]; | 61 extern const char kFormatValueJpeg[]; |
| 60 extern const char kFormatValuePng[]; | 62 extern const char kFormatValuePng[]; |
| 61 extern const char kMimeTypeJpeg[]; | 63 extern const char kMimeTypeJpeg[]; |
| 62 extern const char kMimeTypePng[]; | 64 extern const char kMimeTypePng[]; |
| 63 extern const char kShowStateValueNormal[]; | 65 extern const char kShowStateValueNormal[]; |
| 64 extern const char kShowStateValueMinimized[]; | 66 extern const char kShowStateValueMinimized[]; |
| 65 extern const char kShowStateValueMaximized[]; | 67 extern const char kShowStateValueMaximized[]; |
| 66 extern const char kShowStateValueFullscreen[]; | 68 extern const char kShowStateValueFullscreen[]; |
| 67 extern const char kStatusValueComplete[]; | 69 extern const char kStatusValueComplete[]; |
| 68 extern const char kStatusValueLoading[]; | 70 extern const char kStatusValueLoading[]; |
| 69 extern const char kWindowTypeValueNormal[]; | 71 extern const char kWindowTypeValueNormal[]; |
| 70 extern const char kWindowTypeValuePopup[]; | 72 extern const char kWindowTypeValuePopup[]; |
| 71 extern const char kWindowTypeValuePanel[]; | 73 extern const char kWindowTypeValuePanel[]; |
| 72 extern const char kWindowTypeValueDetachedPanel[]; | 74 extern const char kWindowTypeValueDetachedPanel[]; |
| 73 extern const char kWindowTypeValueApp[]; | 75 extern const char kWindowTypeValueApp[]; |
| 74 | 76 |
| 75 // Error messages. | 77 // Error messages. |
| 78 extern const char kCannotChangeChromePageZoomSettingsError[]; |
| 79 extern const char kCannotZoomChromePagesError[]; |
| 80 extern const char kCannotZoomDisabledTabError[]; |
| 76 extern const char kNoCrashBrowserError[]; | 81 extern const char kNoCrashBrowserError[]; |
| 82 extern const char kNoCurrentTabError[]; |
| 77 extern const char kNoCurrentWindowError[]; | 83 extern const char kNoCurrentWindowError[]; |
| 78 extern const char kNoLastFocusedWindowError[]; | 84 extern const char kNoLastFocusedWindowError[]; |
| 85 extern const char kPerOriginOnlyInAutomaticError[]; |
| 79 extern const char kWindowNotFoundError[]; | 86 extern const char kWindowNotFoundError[]; |
| 80 extern const char kTabIndexNotFoundError[]; | 87 extern const char kTabIndexNotFoundError[]; |
| 81 extern const char kTabNotFoundError[]; | 88 extern const char kTabNotFoundError[]; |
| 82 extern const char kTabStripNotEditableError[]; | 89 extern const char kTabStripNotEditableError[]; |
| 83 extern const char kNoHighlightedTabError[]; | 90 extern const char kNoHighlightedTabError[]; |
| 84 extern const char kNoSelectedTabError[]; | 91 extern const char kNoSelectedTabError[]; |
| 85 extern const char kIncognitoModeIsDisabled[]; | 92 extern const char kIncognitoModeIsDisabled[]; |
| 86 extern const char kIncognitoModeIsForced[]; | 93 extern const char kIncognitoModeIsForced[]; |
| 87 extern const char kURLsNotAllowedInIncognitoError[]; | 94 extern const char kURLsNotAllowedInIncognitoError[]; |
| 88 extern const char kInvalidUrlError[]; | 95 extern const char kInvalidUrlError[]; |
| 89 extern const char kInternalVisibleTabCaptureError[]; | 96 extern const char kInternalVisibleTabCaptureError[]; |
| 90 extern const char kNotImplementedError[]; | 97 extern const char kNotImplementedError[]; |
| 91 extern const char kSupportedInWindowsOnlyError[]; | 98 extern const char kSupportedInWindowsOnlyError[]; |
| 92 extern const char kInvalidWindowTypeError[]; | 99 extern const char kInvalidWindowTypeError[]; |
| 93 extern const char kInvalidWindowStateError[]; | 100 extern const char kInvalidWindowStateError[]; |
| 94 extern const char kScreenshotsDisabled[]; | 101 extern const char kScreenshotsDisabled[]; |
| 95 | 102 |
| 96 extern const char kNoCodeOrFileToExecuteError[]; | 103 extern const char kNoCodeOrFileToExecuteError[]; |
| 97 extern const char kMoreThanOneValuesError[]; | 104 extern const char kMoreThanOneValuesError[]; |
| 98 extern const char kLoadFileError[]; | 105 extern const char kLoadFileError[]; |
| 99 extern const char kCannotDetermineLanguageOfUnloadedTab[]; | 106 extern const char kCannotDetermineLanguageOfUnloadedTab[]; |
| 100 | 107 |
| 101 }; // namespace tabs_constants | 108 }; // namespace tabs_constants |
| 102 }; // namespace extensions | 109 }; // namespace extensions |
| 103 | 110 |
| 104 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ | 111 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ |
| OLD | NEW |