blob: 3b44421b46be56d8a1015578c072887c7f0184a9 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/exclusive_access/fullscreen_within_tab_helper.h"
FullscreenWithinTabHelper::FullscreenWithinTabHelper(
content::WebContents* ignored)
: is_fullscreen_within_tab_(false) {}
FullscreenWithinTabHelper::~FullscreenWithinTabHelper() {}
// static
void FullscreenWithinTabHelper::RemoveForWebContents(
content::WebContents* web_contents) {
DCHECK(web_contents);
web_contents->RemoveUserData(UserDataKey());
}
WEB_CONTENTS_USER_DATA_KEY_IMPL(FullscreenWithinTabHelper)