blob: eda239e9a7a6366d7e2a2a62c1132cc53f01e20f [file] [log] [blame]
// Copyright 2019 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGPU_GPU_DEVICE_LOST_INFO_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGPU_GPU_DEVICE_LOST_INFO_H_
#include "third_party/blink/renderer/platform/bindings/script_wrappable.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
class GPUDeviceLostInfo : public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
explicit GPUDeviceLostInfo(const String& message);
// gpu_device_lost_info.idl
const String& message() const;
private:
String message_;
DISALLOW_COPY_AND_ASSIGN(GPUDeviceLostInfo);
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGPU_GPU_DEVICE_LOST_INFO_H_