| 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/extension_tabs_module_constants.h" | 5 #include "chrome/browser/extensions/extension_tabs_module_constants.h" |
| 6 | 6 |
| 7 namespace extension_tabs_module_constants { | 7 namespace extension_tabs_module_constants { |
| 8 | 8 |
| 9 const char kActiveKey[] = "active"; | 9 const char kActiveKey[] = "active"; |
| 10 const char kAllFramesKey[] = "allFrames"; | 10 const char kAllFramesKey[] = "allFrames"; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 const char kWindowTypeKey[] = "type"; | 47 const char kWindowTypeKey[] = "type"; |
| 48 const char kWindowTypeLongKey[] = "windowType"; | 48 const char kWindowTypeLongKey[] = "windowType"; |
| 49 | 49 |
| 50 const char kFormatValueJpeg[] = "jpeg"; | 50 const char kFormatValueJpeg[] = "jpeg"; |
| 51 const char kFormatValuePng[] = "png"; | 51 const char kFormatValuePng[] = "png"; |
| 52 const char kMimeTypeJpeg[] = "image/jpeg"; | 52 const char kMimeTypeJpeg[] = "image/jpeg"; |
| 53 const char kMimeTypePng[] = "image/png"; | 53 const char kMimeTypePng[] = "image/png"; |
| 54 const char kShowStateValueNormal[] = "normal"; | 54 const char kShowStateValueNormal[] = "normal"; |
| 55 const char kShowStateValueMinimized[] = "minimized"; | 55 const char kShowStateValueMinimized[] = "minimized"; |
| 56 const char kShowStateValueMaximized[] = "maximized"; | 56 const char kShowStateValueMaximized[] = "maximized"; |
| 57 const char kShowStateValueFullscreen[] = "fullscreen"; |
| 57 const char kStatusValueComplete[] = "complete"; | 58 const char kStatusValueComplete[] = "complete"; |
| 58 const char kStatusValueLoading[] = "loading"; | 59 const char kStatusValueLoading[] = "loading"; |
| 59 | 60 |
| 60 // TODO(mpcomplete): should we expose more specific detail, like devtools, app | 61 // TODO(mpcomplete): should we expose more specific detail, like devtools, app |
| 61 // panel, etc? | 62 // panel, etc? |
| 62 const char kWindowTypeValueNormal[] = "normal"; | 63 const char kWindowTypeValueNormal[] = "normal"; |
| 63 const char kWindowTypeValuePopup[] = "popup"; | 64 const char kWindowTypeValuePopup[] = "popup"; |
| 64 const char kWindowTypeValuePanel[] = "panel"; | 65 const char kWindowTypeValuePanel[] = "panel"; |
| 65 const char kWindowTypeValueApp[] = "app"; | 66 const char kWindowTypeValueApp[] = "app"; |
| 66 | 67 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 93 const char kInvalidWindowStateError[] = "Invalid value for state"; | 94 const char kInvalidWindowStateError[] = "Invalid value for state"; |
| 94 | 95 |
| 95 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; | 96 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
| 96 const char kMoreThanOneValuesError[] = "Code and file should not be specified " | 97 const char kMoreThanOneValuesError[] = "Code and file should not be specified " |
| 97 "at the same time in the second argument."; | 98 "at the same time in the second argument."; |
| 98 const char kLoadFileError[] = "Failed to load file: \"*\". "; | 99 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
| 99 const char kCannotDetermineLanguageOfUnloadedTab[] = | 100 const char kCannotDetermineLanguageOfUnloadedTab[] = |
| 100 "Cannot determine language: tab not loaded"; | 101 "Cannot determine language: tab not loaded"; |
| 101 | 102 |
| 102 } // namespace extension_tabs_module_constants | 103 } // namespace extension_tabs_module_constants |
| OLD | NEW |