1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
content / public / renderer / window_features_converter.h [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_RENDERER_WINDOW_FEATURES_CONVERTER_H_
#define CONTENT_PUBLIC_RENDERER_WINDOW_FEATURES_CONVERTER_H_
#include "content/common/content_export.h"
#include "third_party/blink/public/mojom/window_features/window_features.mojom.h"
#include "third_party/blink/public/web/web_window_features.h"
namespace content {
CONTENT_EXPORT blink::mojom::WindowFeaturesPtr
ConvertWebWindowFeaturesToMojoWindowFeatures(
const blink::WebWindowFeatures& web_window_features);
CONTENT_EXPORT blink::WebWindowFeatures
ConvertMojoWindowFeaturesToWebWindowFeatures(
const blink::mojom::WindowFeatures& window_features);
} // namespace content
#endif // CONTENT_PUBLIC_RENDERER_WINDOW_FEATURES_CONVERTER_H_