30 lines
945 B
C
30 lines
945 B
C
|
// 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
|
||
|
|
||
|
#include "cefclient/browser/window_test_runner.h"
|
||
|
|
||
|
namespace client {
|
||
|
namespace window_test {
|
||
|
|
||
|
// Mac OS X platform implementation.
|
||
|
class WindowTestRunnerMac : public WindowTestRunner {
|
||
|
public:
|
||
|
WindowTestRunnerMac();
|
||
|
|
||
|
void SetPos(CefRefPtr<CefBrowser> browser,
|
||
|
int x, int y, int width, int height) OVERRIDE;
|
||
|
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_
|