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.
5 #include "chrome/browser/ui/exclusive_access/fullscreen_within_tab_helper.h"
7 DEFINE_WEB_CONTENTS_USER_DATA_KEY(FullscreenWithinTabHelper
);
9 FullscreenWithinTabHelper::FullscreenWithinTabHelper(
10 content::WebContents
* ignored
)
11 : is_fullscreen_for_captured_tab_(false) {}
13 FullscreenWithinTabHelper::~FullscreenWithinTabHelper() {}
16 void FullscreenWithinTabHelper::RemoveForWebContents(
17 content::WebContents
* web_contents
) {
19 web_contents
->RemoveUserData(UserDataKey());