| 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 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" | 5 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 namespace tabs_constants { | 8 namespace tabs_constants { |
| 9 | 9 |
| 10 const char kActiveKey[] = "active"; | 10 const char kActiveKey[] = "active"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 const char kTopKey[] = "top"; | 44 const char kTopKey[] = "top"; |
| 45 const char kUrlKey[] = "url"; | 45 const char kUrlKey[] = "url"; |
| 46 const char kWindowClosing[] = "isWindowClosing"; | 46 const char kWindowClosing[] = "isWindowClosing"; |
| 47 const char kWidthKey[] = "width"; | 47 const char kWidthKey[] = "width"; |
| 48 const char kWindowIdKey[] = "windowId"; | 48 const char kWindowIdKey[] = "windowId"; |
| 49 const char kWindowTypeKey[] = "type"; | 49 const char kWindowTypeKey[] = "type"; |
| 50 const char kWindowTypeLongKey[] = "windowType"; | 50 const char kWindowTypeLongKey[] = "windowType"; |
| 51 const char kZoomSettingsMode[] = "mode"; | 51 const char kZoomSettingsMode[] = "mode"; |
| 52 const char kZoomSettingsScope[] = "scope"; | 52 const char kZoomSettingsScope[] = "scope"; |
| 53 | 53 |
| 54 const char kFormatValueJpeg[] = "jpeg"; | |
| 55 const char kFormatValuePng[] = "png"; | |
| 56 const char kMimeTypeJpeg[] = "image/jpeg"; | |
| 57 const char kMimeTypePng[] = "image/png"; | |
| 58 const char kShowStateValueNormal[] = "normal"; | 54 const char kShowStateValueNormal[] = "normal"; |
| 59 const char kShowStateValueMinimized[] = "minimized"; | 55 const char kShowStateValueMinimized[] = "minimized"; |
| 60 const char kShowStateValueMaximized[] = "maximized"; | 56 const char kShowStateValueMaximized[] = "maximized"; |
| 61 const char kShowStateValueFullscreen[] = "fullscreen"; | 57 const char kShowStateValueFullscreen[] = "fullscreen"; |
| 62 const char kStatusValueComplete[] = "complete"; | 58 const char kStatusValueComplete[] = "complete"; |
| 63 const char kStatusValueLoading[] = "loading"; | 59 const char kStatusValueLoading[] = "loading"; |
| 64 | 60 |
| 65 // TODO(mpcomplete): should we expose more specific detail, like devtools, app | 61 // TODO(mpcomplete): should we expose more specific detail, like devtools, app |
| 66 // panel, etc? | 62 // panel, etc? |
| 67 const char kWindowTypeValueNormal[] = "normal"; | 63 const char kWindowTypeValueNormal[] = "normal"; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 101 |
| 106 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; | 102 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
| 107 const char kMoreThanOneValuesError[] = "Code and file should not be specified " | 103 const char kMoreThanOneValuesError[] = "Code and file should not be specified " |
| 108 "at the same time in the second argument."; | 104 "at the same time in the second argument."; |
| 109 const char kLoadFileError[] = "Failed to load file: \"*\". "; | 105 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
| 110 const char kCannotDetermineLanguageOfUnloadedTab[] = | 106 const char kCannotDetermineLanguageOfUnloadedTab[] = |
| 111 "Cannot determine language: tab not loaded"; | 107 "Cannot determine language: tab not loaded"; |
| 112 | 108 |
| 113 } // namespace tabs_constants | 109 } // namespace tabs_constants |
| 114 } // namespace extensions | 110 } // namespace extensions |
| OLD | NEW |