#include <string>
-#include "xwalk/extensions/browser/xwalk_extension_function_handler.h"
#include "xwalk/extensions/common/xwalk_extension.h"
namespace xwalk {
class Application;
using extensions::XWalkExtension;
-using extensions::XWalkExtensionFunctionHandler;
-using extensions::XWalkExtensionFunctionInfo;
using extensions::XWalkExtensionInstance;
class ApplicationWidgetExtension : public XWalkExtension {
scoped_ptr<base::Value> mgs);
scoped_ptr<base::FundamentalValue> ClearAllItems(scoped_ptr<base::Value> mgs);
scoped_ptr<base::DictionaryValue> GetAllItems(scoped_ptr<base::Value> mgs);
+ scoped_ptr<base::StringValue> GetItemValueByKey(scoped_ptr<base::Value> mgs);
scoped_ptr<base::FundamentalValue> KeyExists(
scoped_ptr<base::Value> mgs) const;
+ void PostMessageToOtherFrames(scoped_ptr<base::DictionaryValue> msg);
Application* application_;
scoped_ptr<class AppWidgetStorage> widget_storage_;
- XWalkExtensionFunctionHandler handler_;
};
} // namespace application