1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/ui/fullscreen/fullscreen_within_tab_helper.h"
6
7DEFINE_WEB_CONTENTS_USER_DATA_KEY(FullscreenWithinTabHelper);
8
9FullscreenWithinTabHelper::FullscreenWithinTabHelper(
10    content::WebContents* ignored)
11    : is_fullscreen_for_captured_tab_(false) {}
12
13FullscreenWithinTabHelper::~FullscreenWithinTabHelper() {}
14
15// static
16void FullscreenWithinTabHelper::RemoveForWebContents(
17    content::WebContents* web_contents) {
18  DCHECK(web_contents);
19  web_contents->RemoveUserData(UserDataKey());
20}
21