diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 00:27:45 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 00:27:45 +0000 |
commit | 5de6dace1d151d7929fee89e722e2d18709027d8 (patch) | |
tree | 1da6bc3205eb869358b5650765d854f142010543 /chrome/browser/extensions/extension_page_actions_module.cc | |
parent | 6dcaa780d4ecc1c476415f57b92c3139f3600305 (diff) | |
download | chromium_src-5de6dace1d151d7929fee89e722e2d18709027d8.zip chromium_src-5de6dace1d151d7929fee89e722e2d18709027d8.tar.gz chromium_src-5de6dace1d151d7929fee89e722e2d18709027d8.tar.bz2 |
Remove pageAction setXXXBadge functions.
This only removes the binding to the functions, not their implementation, as we may want to bring back badges for pageActions if we can make them look good.
BUG=25552
Review URL: http://codereview.chromium.org/329001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_page_actions_module.cc')
-rw-r--r-- | chrome/browser/extensions/extension_page_actions_module.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_page_actions_module.cc b/chrome/browser/extensions/extension_page_actions_module.cc index 4738891..b39ca32 100644 --- a/chrome/browser/extensions/extension_page_actions_module.cc +++ b/chrome/browser/extensions/extension_page_actions_module.cc @@ -192,6 +192,8 @@ bool PageActionSetTitleFunction::RunImpl() { return true; } +// Not currently exposed to extensions. To re-enable, add mapping in +// extension_function_dispatcher. bool PageActionSetBadgeBackgroundColorFunction::RunImpl() { EXTENSION_FUNCTION_VALIDATE(args_->IsType(Value::TYPE_DICTIONARY)); const DictionaryValue* args = static_cast<const DictionaryValue*>(args_); @@ -216,6 +218,8 @@ bool PageActionSetBadgeBackgroundColorFunction::RunImpl() { return true; } +// Not currently exposed to extensions. To re-enable, add mapping in +// extension_function_dispatcher. bool PageActionSetBadgeTextColorFunction::RunImpl() { EXTENSION_FUNCTION_VALIDATE(args_->IsType(Value::TYPE_DICTIONARY)); const DictionaryValue* args = static_cast<const DictionaryValue*>(args_); @@ -240,6 +244,8 @@ bool PageActionSetBadgeTextColorFunction::RunImpl() { return true; } +// Not currently exposed to extensions. To re-enable, add mapping in +// extension_function_dispatcher. bool PageActionSetBadgeTextFunction::RunImpl() { EXTENSION_FUNCTION_VALIDATE(args_->IsType(Value::TYPE_DICTIONARY)); const DictionaryValue* args = static_cast<const DictionaryValue*>(args_); |