root/chrome/browser/ui/fullscreen/fullscreen_within_tab_helper.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. RemoveForWebContents

// 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());
}

/* [<][>][^][v][top][bottom][index][help] */