root/chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.cc

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

DEFINITIONS

This source file includes following definitions.
  1. IsWebContentsVisible

// Copyright 2013 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/chrome_web_modal_dialog_manager_delegate.h"

#include "chrome/browser/platform_util.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_view.h"

ChromeWebModalDialogManagerDelegate::ChromeWebModalDialogManagerDelegate() {
}

ChromeWebModalDialogManagerDelegate::~ChromeWebModalDialogManagerDelegate() {
}

bool ChromeWebModalDialogManagerDelegate::IsWebContentsVisible(
    content::WebContents* web_contents) {
  return platform_util::IsVisible(web_contents->GetView()->GetNativeView());
}

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