diff options
author | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 19:06:15 +0000 |
---|---|---|
committer | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 19:06:15 +0000 |
commit | 35213ce9dc9de27866e6b81b39078ace964ecdc6 (patch) | |
tree | cd0399fcd59493002546f9dee9c0e37b83104ebe /chrome/browser/extensions/extension_function.h | |
parent | fde3a3cadf7ad4a206eb9382b919f73114d4877c (diff) | |
download | chromium_src-35213ce9dc9de27866e6b81b39078ace964ecdc6.zip chromium_src-35213ce9dc9de27866e6b81b39078ace964ecdc6.tar.gz chromium_src-35213ce9dc9de27866e6b81b39078ace964ecdc6.tar.bz2 |
Support PNG and quality control in chrome.tabs.captureVisibleTab().
BUG=21072
TEST=ExtensionAPIClientTest.CaptureVisibleTab
Review URL: http://codereview.chromium.org/1527015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43985 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_function.h')
-rw-r--r-- | chrome/browser/extensions/extension_function.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_function.h b/chrome/browser/extensions/extension_function.h index 272d6c1..1727ae0 100644 --- a/chrome/browser/extensions/extension_function.h +++ b/chrome/browser/extensions/extension_function.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -176,6 +176,8 @@ class AsyncExtensionFunction : public ExtensionFunction { return static_cast<DictionaryValue*>(args_.get()); } + bool HasOptionalArgument(size_t index); + // Note: After Run() returns, dispatcher() can be NULL. Since these getters // rely on dispatcher(), make sure it is valid before using them. std::string extension_id(); |