chromium/third_party/blink/renderer/core/exported/web_node.cc

/*
 * Copyright (C) 2009 Google Inc. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 *     * Redistributions of source code must retain the above copyright
 * notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above
 * copyright notice, this list of conditions and the following disclaimer
 * in the documentation and/or other materials provided with the
 * distribution.
 *     * Neither the name of Google Inc. nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#include "third_party/blink/public/web/web_node.h"

#include <ostream>

#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/public/web/web_dom_event.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/public/web/web_element_collection.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/core/accessibility/ax_object_cache.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/dom_node_ids.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/dom/events/native_event_listener.h"
#include "third_party/blink/renderer/core/dom/node.h"
#include "third_party/blink/renderer/core/dom/node_list.h"
#include "third_party/blink/renderer/core/dom/static_node_list.h"
#include "third_party/blink/renderer/core/dom/tag_collection.h"
#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/editing/serializers/serialization.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/exported/web_plugin_container_impl.h"
#include "third_party/blink/renderer/core/html/html_collection.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/wtf/wtf.h"

namespace blink {

WebNode::WebNode() = default;

WebNode::WebNode(const WebNode& n) {}

WebNode& WebNode::operator=(const WebNode& n) {}

WebNode::~WebNode() {}

void WebNode::Reset() {}

void WebNode::Assign(const WebNode& other) {}

bool WebNode::Equals(const WebNode& n) const {}

bool WebNode::LessThan(const WebNode& n) const {}

WebNode WebNode::ParentNode() const {}

WebNode WebNode::ParentOrShadowHostNode() const {}

WebString WebNode::NodeValue() const {}

WebDocument WebNode::GetDocument() const {}

WebNode WebNode::FirstChild() const {}

WebNode WebNode::LastChild() const {}

WebNode WebNode::PreviousSibling() const {}

WebNode WebNode::NextSibling() const {}

bool WebNode::IsNull() const {}

bool WebNode::IsConnected() const {}

bool WebNode::IsLink() const {}

bool WebNode::IsTextNode() const {}

bool WebNode::IsCommentNode() const {}

bool WebNode::IsFocusable() const {}

bool WebNode::IsContentEditable() const {}

WebElement WebNode::RootEditableElement() const {}

bool WebNode::IsInsideFocusableElementOrARIAWidget() const {}

v8::Local<v8::Value> WebNode::ToV8Value(v8::Isolate* isolate) {}

bool WebNode::IsElementNode() const {}

bool WebNode::IsDocumentNode() const {}

bool WebNode::IsDocumentTypeNode() const {}

void WebNode::SimulateClick() {}

WebElementCollection WebNode::GetElementsByHTMLTagName(
    const WebString& tag) const {}

WebElement WebNode::QuerySelector(const WebString& selector) const {}

WebVector<WebElement> WebNode::QuerySelectorAll(
    const WebString& selector) const {}

WebString WebNode::FindTextInElementWith(
    const WebString& substring,
    base::FunctionRef<bool(const WebString&)> validity_checker) const {}

bool WebNode::Focused() const {}

cc::ElementId WebNode::ScrollingElementIdForTesting() const {}

WebPluginContainer* WebNode::PluginContainer() const {}

WebNode::WebNode(Node* node) :{}

WebNode& WebNode::operator=(Node* node) {}

operator blink::Node *()

int WebNode::GetDomNodeId() const {}

// static
WebNode WebNode::FromDomNodeId(int dom_node_id) {}

base::ScopedClosureRunner WebNode::AddEventListener(
    EventType event_type,
    base::RepeatingCallback<void(WebDOMEvent)> handler) {}

std::ostream& operator<<(std::ostream& ostream, const WebNode& node) {}

}  // namespace blink