blob: 1e20ec589c685bade850fbf6cb799e0332f93119 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// 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/fullscreen/fullscreen_within_tab_helper.h"
DEFINE_WEB_CONTENTS_USER_DATA_KEY(FullscreenWithinTabHelper);
FullscreenWithinTabHelper::FullscreenWithinTabHelper(
content::WebContents* ignored)
: is_fullscreen_for_captured_tab_(false) {}
FullscreenWithinTabHelper::~FullscreenWithinTabHelper() {}
// static
void FullscreenWithinTabHelper::RemoveForWebContents(
content::WebContents* web_contents) {
DCHECK(web_contents);
web_contents->RemoveUserData(UserDataKey());
}
|