Path: blob/trunk/cpp/iedriver/CommandHandlers/ExecuteScriptCommandHandler.h
2868 views
// Licensed to the Software Freedom Conservancy (SFC) under one1// or more contributor license agreements. See the NOTICE file2// distributed with this work for additional information3// regarding copyright ownership. The SFC licenses this file4// to you under the Apache License, Version 2.0 (the "License");5// you may not use this file except in compliance with the License.6// You may obtain a copy of the License at7//8// http://www.apache.org/licenses/LICENSE-2.09//10// Unless required by applicable law or agreed to in writing, software11// distributed under the License is distributed on an "AS IS" BASIS,12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13// See the License for the specific language governing permissions and14// limitations under the License.1516#ifndef WEBDRIVER_IE_EXECUTESCRIPTCOMMANDHANDLER_H_17#define WEBDRIVER_IE_EXECUTESCRIPTCOMMANDHANDLER_H_1819#include "../IECommandHandler.h"2021namespace Json {22class Value;23}2425namespace webdriver {2627class Script;2829class ExecuteScriptCommandHandler : public IECommandHandler {30public:31ExecuteScriptCommandHandler(void);32virtual ~ExecuteScriptCommandHandler(void);3334protected:35virtual void ExecuteInternal(const IECommandExecutor& executor,36const ParametersMap& command_parameters,37Response* response);38};3940} // namespace webdriver4142#endif // WEBDRIVER_IE_EXECUTESCRIPTCOMMANDHANDLER_H_434445