#include "components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "components/dom_distiller/core/url_utils.h"
#include "content/public/renderer/render_frame.h"
#include "v8/include/v8.h"
namespace dom_distiller {
DistillerJsRenderFrameObserver::DistillerJsRenderFrameObserver(
content::RenderFrame* render_frame,
const int32_t distiller_isolated_world_id)
: … { … }
DistillerJsRenderFrameObserver::~DistillerJsRenderFrameObserver() { … }
void DistillerJsRenderFrameObserver::DidStartNavigation(
const GURL& url,
std::optional<blink::WebNavigationType> navigation_type) { … }
void DistillerJsRenderFrameObserver::DidCreateScriptContext(
v8::Local<v8::Context> context,
int32_t world_id) { … }
void DistillerJsRenderFrameObserver::OnDestruct() { … }
}