Infobar material design refresh: layout
[chromium-blink-merge.git] / chrome / browser / ui / exclusive_access / fullscreen_within_tab_helper.cc
blob374318ad219e20b7981579eaca902f046cf72147
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() {}
15 // static
16 void FullscreenWithinTabHelper::RemoveForWebContents(
17 content::WebContents* web_contents) {
18 DCHECK(web_contents);
19 web_contents->RemoveUserData(UserDataKey());