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_page_actions_module_constants.h" | 5 #include "chrome/browser/extensions/extension_page_actions_module_constants.h" |
6 | 6 |
7 namespace extension_page_actions_module_constants { | 7 namespace extension_page_actions_module_constants { |
8 | 8 |
9 const wchar_t kTabIdKey[] = L"tabId"; | 9 const wchar_t kTabIdKey[] = L"tabId"; |
10 const wchar_t kUrlKey[] = L"url"; | 10 const wchar_t kUrlKey[] = L"url"; |
11 const wchar_t kTitleKey[] = L"title"; | 11 const wchar_t kTitleKey[] = L"title"; |
12 const wchar_t kIconIdKey[] = L"iconId"; | 12 const wchar_t kIconIdKey[] = L"iconId"; |
13 const wchar_t kButtonKey[] = L"button"; | 13 const wchar_t kButtonKey[] = L"button"; |
14 | 14 |
15 const char kNoExtensionError[] = "No extension with id: *."; | 15 const char kNoExtensionError[] = "No extension with id: *."; |
16 const char kNoTabError[] = "No tab with id: *."; | 16 const char kNoTabError[] = "No tab with id: *."; |
17 const char kNoPageActionError[] = "No PageAction with id: *."; | 17 const char kNoPageActionError[] = "No PageAction with id: *."; |
18 const char kUrlNotActiveError[] = "This url is no longer active: *."; | 18 const char kUrlNotActiveError[] = "This url is no longer active: *."; |
19 | 19 |
20 const char kEnablePageActionFunction[] = "pageActions.enableForTab"; | |
21 const char kDisablePageActionFunction[] = "pageActions.disableForTab"; | |
22 | |
23 } // namespace extension_page_actions_module_constants | 20 } // namespace extension_page_actions_module_constants |
OLD | NEW |