| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 wchar_t kFavIconUrlKey[] = L"favIconUrl"; | 9 const wchar_t kFavIconUrlKey[] = L"favIconUrl"; |
| 10 const wchar_t kFocusedKey[] = L"focused"; | 10 const wchar_t kFocusedKey[] = L"focused"; |
| 11 const wchar_t kFromIndexKey[] = L"fromIndex"; | 11 const wchar_t kFromIndexKey[] = L"fromIndex"; |
| 12 const wchar_t kHeightKey[] = L"height"; | 12 const wchar_t kHeightKey[] = L"height"; |
| 13 const wchar_t kIdKey[] = L"id"; | 13 const wchar_t kIdKey[] = L"id"; |
| 14 const wchar_t kIndexKey[] = L"index"; | 14 const wchar_t kIndexKey[] = L"index"; |
| 15 const wchar_t kLeftKey[] = L"left"; | 15 const wchar_t kLeftKey[] = L"left"; |
| 16 const wchar_t kNewPositionKey[] = L"newPosition"; | 16 const wchar_t kNewPositionKey[] = L"newPosition"; |
| 17 const wchar_t kNewWindowIdKey[] = L"newWindowId"; | 17 const wchar_t kNewWindowIdKey[] = L"newWindowId"; |
| 18 const wchar_t kOldPositionKey[] = L"oldPosition"; | 18 const wchar_t kOldPositionKey[] = L"oldPosition"; |
| 19 const wchar_t kOldWindowIdKey[] = L"oldWindowId"; | 19 const wchar_t kOldWindowIdKey[] = L"oldWindowId"; |
| 20 const wchar_t kPinnedKey[] = L"pinned"; |
| 20 const wchar_t kPopulateKey[] = L"populate"; | 21 const wchar_t kPopulateKey[] = L"populate"; |
| 21 const wchar_t kSelectedKey[] = L"selected"; | 22 const wchar_t kSelectedKey[] = L"selected"; |
| 22 const wchar_t kStatusKey[] = L"status"; | 23 const wchar_t kStatusKey[] = L"status"; |
| 23 const wchar_t kTabIdKey[] = L"tabId"; | 24 const wchar_t kTabIdKey[] = L"tabId"; |
| 24 const wchar_t kTabsKey[] = L"tabs"; | 25 const wchar_t kTabsKey[] = L"tabs"; |
| 25 const wchar_t kTabUrlKey[] = L"tabUrl"; | 26 const wchar_t kTabUrlKey[] = L"tabUrl"; |
| 26 const wchar_t kTitleKey[] = L"title"; | 27 const wchar_t kTitleKey[] = L"title"; |
| 27 const wchar_t kToIndexKey[] = L"toIndex"; | 28 const wchar_t kToIndexKey[] = L"toIndex"; |
| 28 const wchar_t kTopKey[] = L"top"; | 29 const wchar_t kTopKey[] = L"top"; |
| 29 const wchar_t kUrlKey[] = L"url"; | 30 const wchar_t kUrlKey[] = L"url"; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 const char kCaptureVisibleTabFunction[] = "tabs.captureVisibleTab"; | 66 const char kCaptureVisibleTabFunction[] = "tabs.captureVisibleTab"; |
| 66 | 67 |
| 67 const char kExecuteScriptFunction[] = "tabs.executeScript"; | 68 const char kExecuteScriptFunction[] = "tabs.executeScript"; |
| 68 const char kInsertCSSFunction[] = "tabs.insertCSS"; | 69 const char kInsertCSSFunction[] = "tabs.insertCSS"; |
| 69 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; | 70 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
| 70 const char kMoreThanOneValuesError[] = "There should be only one value (either" | 71 const char kMoreThanOneValuesError[] = "There should be only one value (either" |
| 71 "code or file) in the second argument."; | 72 "code or file) in the second argument."; |
| 72 const char kLoadFileError[] = "Failed to load file: \"*\". "; | 73 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
| 73 | 74 |
| 74 } // namespace extension_tabs_module_constants | 75 } // namespace extension_tabs_module_constants |
| OLD | NEW |