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_MAC_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_MAC_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 {
|
|
|
|
|
|
|
|
// Mac OS X platform implementation.
|
|
|
|
class WindowTestRunnerMac : public WindowTestRunner {
|
|
|
|
public:
|
|
|
|
WindowTestRunnerMac();
|
|
|
|
|
|
|
|
void SetPos(CefRefPtr<CefBrowser> browser,
|
2017-05-17 11:29:28 +02:00
|
|
|
int x,
|
|
|
|
int y,
|
|
|
|
int width,
|
|
|
|
int height) OVERRIDE;
|
2016-01-19 21:09:01 +01:00
|
|
|
void Minimize(CefRefPtr<CefBrowser> browser) OVERRIDE;
|
|
|
|
void Maximize(CefRefPtr<CefBrowser> browser) OVERRIDE;
|
|
|
|
void Restore(CefRefPtr<CefBrowser> browser) OVERRIDE;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace window_test
|
|
|
|
} // namespace client
|
|
|
|
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_MAC_H_
|