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_GTK_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_GTK_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
|
|
|
|
|
|
|
namespace client {
|
|
|
|
namespace window_test {
|
|
|
|
|
|
|
|
// GTK platform implementation.
|
|
|
|
class WindowTestRunnerGtk : public WindowTestRunner {
|
|
|
|
public:
|
|
|
|
WindowTestRunnerGtk();
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace window_test
|
|
|
|
} // namespace client
|
|
|
|
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_GTK_H_
|