#include "chrome/browser/supervised_user/chrome_supervised_user_web_content_handler_base.h"
#include "chrome/browser/supervised_user/supervised_user_interstitial_tab_closer.h"
#include "chrome/browser/supervised_user/supervised_user_navigation_observer.h"
#include "components/infobars/content/content_infobar_manager.h"
#include "components/infobars/core/infobar.h"
#include "content/public/browser/navigation_details.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
ChromeSupervisedUserWebContentHandlerBase::
ChromeSupervisedUserWebContentHandlerBase(
content::WebContents* web_contents,
int frame_id,
int64_t interstitial_navigation_id)
: … { … }
ChromeSupervisedUserWebContentHandlerBase::
~ChromeSupervisedUserWebContentHandlerBase() = default;
bool ChromeSupervisedUserWebContentHandlerBase::IsMainFrame() const { … }
void ChromeSupervisedUserWebContentHandlerBase::CleanUpInfoBarOnMainFrame() { … }
int64_t ChromeSupervisedUserWebContentHandlerBase::GetInterstitialNavigationId()
const { … }
void ChromeSupervisedUserWebContentHandlerBase::GoBack() { … }
bool ChromeSupervisedUserWebContentHandlerBase::
AttemptMoveAwayFromCurrentFrameURL() { … }
void ChromeSupervisedUserWebContentHandlerBase::OnInterstitialDone() { … }