summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.cc
blob: 33fd605b2e8098e1067bfef9aac2211f3f678ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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"

ChromeWebModalDialogManagerDelegate::ChromeWebModalDialogManagerDelegate() {
}

ChromeWebModalDialogManagerDelegate::~ChromeWebModalDialogManagerDelegate() {
}

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