Add a browser-side model for top-level history entries and history step coordinates. This gives the UI process a structure to mirror WebContent history across process swaps. Add debug dumping support alongside the model so traversal state can be inspected while working on back and forward behavior.
52 lines
889 B
C++
52 lines
889 B
C++
/*
|
|
* Copyright (c) 2022, The SerenityOS developers
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Platform.h>
|
|
#include <AK/Traits.h>
|
|
#include <LibWebView/Export.h>
|
|
|
|
namespace WebView {
|
|
|
|
class Action;
|
|
class Application;
|
|
class Autocomplete;
|
|
class BookmarkStore;
|
|
class CompositorClient;
|
|
class CookieJar;
|
|
class HistoryStore;
|
|
class HSTSStore;
|
|
class Menu;
|
|
class OutOfProcessWebView;
|
|
class ProcessManager;
|
|
class Settings;
|
|
class TraversableSessionHistory;
|
|
class ViewImplementation;
|
|
class WebContentClient;
|
|
class WebWorkerClient;
|
|
class WebUI;
|
|
|
|
struct Attribute;
|
|
struct AutocompleteEngine;
|
|
struct BookmarkItem;
|
|
struct BrowserOptions;
|
|
struct ConsoleOutput;
|
|
struct CookieStorageKey;
|
|
struct DOMNodeProperties;
|
|
struct Mutation;
|
|
struct ProcessHandle;
|
|
struct SearchEngine;
|
|
struct WebContentOptions;
|
|
|
|
}
|
|
|
|
namespace AK {
|
|
|
|
template<>
|
|
struct Traits<WebView::CookieStorageKey>;
|
|
|
|
}
|