• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_WIN_H_
6 #define CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_WIN_H_
7 #pragma once
8 
9 #include "tests/cefclient/browser/window_test_runner.h"
10 
11 namespace client {
12 namespace window_test {
13 
14 // Windows platform implementation. Methods are safe to call on any browser
15 // process thread.
16 class WindowTestRunnerWin : public WindowTestRunner {
17  public:
18   WindowTestRunnerWin();
19 
20   void SetPos(CefRefPtr<CefBrowser> browser,
21               int x,
22               int y,
23               int width,
24               int height) override;
25   void Minimize(CefRefPtr<CefBrowser> browser) override;
26   void Maximize(CefRefPtr<CefBrowser> browser) override;
27   void Restore(CefRefPtr<CefBrowser> browser) override;
28 };
29 
30 }  // namespace window_test
31 }  // namespace client
32 
33 #endif  // CEF_TESTS_CEFCLIENT_BROWSER_WINDOW_TEST_RUNNER_WIN_H_
34