blob: 300a3bf8bb8433bf816fbf847cae6ac20640bd77 [file] [log] [blame]
// Copyright 2018 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 "build/build_config.h"
#include "ui/gfx/native_widget_types.h"
namespace test {
#if defined(OS_MACOSX)
// Returns [window alphaValue]. Widget doesn't offer a GetOpacity(), only
// SetOpacity(). Currently this is only defined for Mac. Obtaining this for
// other platforms is convoluted.
float GetNativeWindowAlphaValue(gfx::NativeWindow window);
} // namespace test