#include "content/browser/device_posture/device_posture_platform_provider.h"
#include "build/build_config.h"
#include "content/browser/device_posture/device_posture_platform_provider_default.h"
#if BUILDFLAG(IS_WIN)
#include "content/browser/device_posture/device_posture_platform_provider_win.h"
#elif BUILDFLAG(IS_ANDROID)
#include "content/browser/device_posture/device_posture_platform_provider_android.h"
#endif
namespace content {
std::unique_ptr<DevicePosturePlatformProvider>
DevicePosturePlatformProvider::Create(WebContents* web_contents) { … }
DevicePosturePlatformProvider::DevicePosturePlatformProvider() = default;
DevicePosturePlatformProvider::~DevicePosturePlatformProvider() = default;
blink::mojom::DevicePostureType
DevicePosturePlatformProvider::GetDevicePosture() { … }
const gfx::Rect& DevicePosturePlatformProvider::GetDisplayFeatureBounds() { … }
void DevicePosturePlatformProvider::AddObserver(Observer* observer) { … }
void DevicePosturePlatformProvider::RemoveObserver(Observer* observer) { … }
void DevicePosturePlatformProvider::NotifyDevicePostureChanged(
const blink::mojom::DevicePostureType& posture) { … }
void DevicePosturePlatformProvider::NotifyDisplayFeatureBoundsChanged(
const gfx::Rect& display_feature_bounds) { … }
}