blob: 27feb3b37e20d6039c82d9ac1c6e6b3d482c8b6e [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* contents)
: content::WebContentsUserData<FullscreenWithinTabHelper>(*contents) {}
FullscreenWithinTabHelper::~FullscreenWithinTabHelper() {}
// static
void FullscreenWithinTabHelper::RemoveForWebContents(
content::WebContents* web_contents) {
DCHECK(web_contents);
web_contents->RemoveUserData(UserDataKey());
}
WEB_CONTENTS_USER_DATA_KEY_IMPL(FullscreenWithinTabHelper);