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"; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const char kGetTabFunction[] = "tabs.get"; | 56 const char kGetTabFunction[] = "tabs.get"; |
57 const char kGetSelectedTabFunction[] = "tabs.getSelected"; | 57 const char kGetSelectedTabFunction[] = "tabs.getSelected"; |
58 const char kGetAllTabsInWindowFunction[] = "tabs.getAllInWindow"; | 58 const char kGetAllTabsInWindowFunction[] = "tabs.getAllInWindow"; |
59 const char kCreateTabFunction[] = "tabs.create"; | 59 const char kCreateTabFunction[] = "tabs.create"; |
60 const char kUpdateTabFunction[] = "tabs.update"; | 60 const char kUpdateTabFunction[] = "tabs.update"; |
61 const char kMoveTabFunction[] = "tabs.move"; | 61 const char kMoveTabFunction[] = "tabs.move"; |
62 const char kRemoveTabFunction[] = "tabs.remove"; | 62 const char kRemoveTabFunction[] = "tabs.remove"; |
63 const char kDetectTabLanguageFunction[] = "tabs.detectLanguage"; | 63 const char kDetectTabLanguageFunction[] = "tabs.detectLanguage"; |
64 const char kCaptureVisibleTabFunction[] = "tabs.captureVisibleTab"; | 64 const char kCaptureVisibleTabFunction[] = "tabs.captureVisibleTab"; |
65 | 65 |
| 66 const char kExecuteScriptFunction[] = "tabs.executeScript"; |
| 67 const char kInsertCSSFunction[] = "tabs.insertCSS"; |
| 68 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; |
| 69 const char kMoreThanOneValuesError[] = "There should be only one value (either" |
| 70 "code or file) in the second argument."; |
| 71 const char kLoadFileError[] = "Failed to load file: \"*\". "; |
| 72 |
66 } // namespace extension_tabs_module_constants | 73 } // namespace extension_tabs_module_constants |
OLD | NEW |