2016-01-19 21:09:01 +01:00
|
|
|
// Copyright (c) 2016 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.
|
|
|
|
|
|
|
|
#ifndef CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_VIEWS_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_VIEWS_H_
|
|
|
|
#pragma once
|
|
|
|
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/cefclient/browser/window_test_runner.h"
|
2016-01-19 21:09:01 +01:00
|
|
|
|
2024-01-20 03:22:56 +01:00
|
|
|
namespace client::window_test {
|
2016-01-19 21:09:01 +01:00
|
|
|
|
|
|
|
// Views platform implementation.
|
|
|
|
class WindowTestRunnerViews : public WindowTestRunner {
|
|
|
|
public:
|
|
|
|
WindowTestRunnerViews();
|
|
|
|
|
|
|
|
void SetPos(CefRefPtr<CefBrowser> browser,
|
2017-05-17 11:29:28 +02:00
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
int width,
|
2021-06-17 21:43:06 +02:00
|
|
|
int height) override;
|
|
|
|
void Minimize(CefRefPtr<CefBrowser> browser) override;
|
|
|
|
void Maximize(CefRefPtr<CefBrowser> browser) override;
|
|
|
|
void Restore(CefRefPtr<CefBrowser> browser) override;
|
2023-09-25 21:40:17 +02:00
|
|
|
void Fullscreen(CefRefPtr<CefBrowser> browser) override;
|
2023-03-16 18:19:50 +01:00
|
|
|
void SetTitleBarHeight(CefRefPtr<CefBrowser> browser,
|
|
|
|
const std::optional<float>& height) override;
|
2016-01-19 21:09:01 +01:00
|
|
|
};
|
|
|
|
|
2024-01-20 03:22:56 +01:00
|
|
|
} // namespace client::window_test
|
2016-01-19 21:09:01 +01:00
|
|
|
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_VIEWS_H_
|