2021-08-27 21:55:15 -04:00
|
|
|
// Copyright 2021 The Chromium Embedded Framework Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be found
|
|
|
|
// in the LICENSE file.
|
|
|
|
|
2024-04-30 11:45:07 -04:00
|
|
|
#include "cef/libcef/browser/chrome/views/chrome_views_util.h"
|
2021-08-27 21:55:15 -04:00
|
|
|
|
2024-04-30 11:45:07 -04:00
|
|
|
#include "cef/libcef/browser/views/view_util.h"
|
2021-08-27 21:55:15 -04:00
|
|
|
|
|
|
|
namespace cef {
|
|
|
|
|
|
|
|
bool IsCefView(views::View* view) {
|
|
|
|
return view_util::GetFor(view, /*find_known_parent=*/false) != nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace cef
|