1 // Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that 3 // can be found in the LICENSE file. 4 5 #ifndef CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_MAC_H_ 6 #define CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_MAC_H_ 7 #pragma once 8 9 #include "tests/cefclient/browser/window_test_runner.h" 10 11 namespace client { 12 namespace window_test { 13 14 // Mac OS X platform implementation. 15 class WindowTestRunnerMac : public WindowTestRunner { 16 public: 17 WindowTestRunnerMac(); 18 19 void SetPos(CefRefPtr<CefBrowser> browser, 20 int x, 21 int y, 22 int width, 23 int height) override; 24 void Minimize(CefRefPtr<CefBrowser> browser) override; 25 void Maximize(CefRefPtr<CefBrowser> browser) override; 26 void Restore(CefRefPtr<CefBrowser> browser) override; 27 }; 28 29 } // namespace window_test 30 } // namespace client 31 32 #endif // CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_MAC_H_ 33