BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / ui / chrome_web_modal_dialog_manager_delegate.cc
blob33fd605b2e8098e1067bfef9aac2211f3f678ea9
1 // Copyright 2013 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/chrome_web_modal_dialog_manager_delegate.h"
7 #include "chrome/browser/platform_util.h"
8 #include "content/public/browser/web_contents.h"
10 ChromeWebModalDialogManagerDelegate::ChromeWebModalDialogManagerDelegate() {
13 ChromeWebModalDialogManagerDelegate::~ChromeWebModalDialogManagerDelegate() {
16 bool ChromeWebModalDialogManagerDelegate::IsWebContentsVisible(
17 content::WebContents* web_contents) {
18 return platform_util::IsVisible(web_contents->GetNativeView());