chromium/third_party/blink/renderer/core/navigation_api/navigate_event.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/navigation_api/navigate_event.h"

#include "third_party/blink/public/mojom/devtools/console_message.mojom-shared.h"
#include "third_party/blink/public/mojom/frame/frame.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/script_function.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_navigate_event_init.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_navigation_intercept_handler.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_navigation_intercept_options.h"
#include "third_party/blink/renderer/core/accessibility/ax_object_cache.h"
#include "third_party/blink/renderer/core/dom/abort_controller.h"
#include "third_party/blink/renderer/core/dom/abort_signal.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/focus_params.h"
#include "third_party/blink/renderer/core/event_interface_names.h"
#include "third_party/blink/renderer/core/event_type_names.h"
#include "third_party/blink/renderer/core/frame/deprecation/deprecation.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_client.h"
#include "third_party/blink/renderer/core/html/forms/form_data.h"
#include "third_party/blink/renderer/core/inspector/console_message.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/loader/progress_tracker.h"
#include "third_party/blink/renderer/core/navigation_api/navigation_destination.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/scheduler/public/post_cancellable_task.h"

namespace blink {

enum class ResolveType {};
class NavigateEvent::Reaction final : public ScriptFunction::Callable {};

NavigateEvent::NavigateEvent(ExecutionContext* context,
                             const AtomicString& type,
                             NavigateEventInit* init,
                             AbortController* controller)
    :{}

bool NavigateEvent::PerformSharedChecks(const String& function_name,
                                        ExceptionState& exception_state) {}

void NavigateEvent::intercept(NavigationInterceptOptions* options,
                              ExceptionState& exception_state) {}

void NavigateEvent::commit(ExceptionState& exception_state) {}

void NavigateEvent::MaybeCommitImmediately(ScriptState* script_state) {}

bool NavigateEvent::ShouldCommitImmediately() {}

void NavigateEvent::CommitNow() {}

void NavigateEvent::React(ScriptState* script_state) {}

void NavigateEvent::ReactDone(ScriptValue value, bool did_fulfill) {}

void NavigateEvent::Abort(ScriptState* script_state, ScriptValue error) {}

void NavigateEvent::DelayedLoadStartTimerFired() {}

void NavigateEvent::FinalizeNavigationActionPromisesList() {}

void NavigateEvent::PotentiallyResetTheFocus() {}

void NavigateEvent::DidChangeFocus() {}

void NavigateEvent::scroll(ExceptionState& exception_state) {}

void NavigateEvent::PotentiallyProcessScrollBehavior() {}

WebFrameLoadType LoadTypeFromNavigation(const String& navigation_type) {}

void NavigateEvent::ProcessScrollBehavior() {}

const AtomicString& NavigateEvent::InterfaceName() const {}

void NavigateEvent::Trace(Visitor* visitor) const {}

}  // namespace blink