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_WIN_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_WIN_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
|
|
|
|
|
|
|
// Windows platform implementation. Methods are safe to call on any browser
|
|
|
|
// process thread.
|
|
|
|
class WindowTestRunnerWin : public WindowTestRunner {
|
|
|
|
public:
|
|
|
|
WindowTestRunnerWin();
|
|
|
|
|
|
|
|
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;
|
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_WIN_H_
|