// 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_IELEMENTMANAGER_H_17#define WEBDRIVER_IE_IELEMENTMANAGER_H_1819#include <string>20#include "CustomTypes.h"2122namespace webdriver {2324class IElementManager {25public:26virtual ~IElementManager() {}27virtual int GetManagedElement(const std::string& element_id,28ElementHandle* element_wrapper) const = 0;29virtual bool AddManagedElement(IHTMLElement* element,30ElementHandle* element_wrapper) = 0;31virtual void RemoveManagedElement(const std::string& element_id) = 0;32};3334} // namespace webdriver3536#endif // WEBDRIVER_IE_IELEMENTMANAGER_H_37383940