#ifndef CEF_TESTS_CEFCLIENT_BROWSER_BROWSER_WINDOW_STD_MAC_H_
#define CEF_TESTS_CEFCLIENT_BROWSER_BROWSER_WINDOW_STD_MAC_H_
#pragma once
#include "tests/cefclient/browser/browser_window.h"
namespace client {
class BrowserWindowStdMac : public BrowserWindow {
public:
BrowserWindowStdMac(Delegate* delegate, const std::string& startup_url);
void CreateBrowser(ClientWindowHandle parent_handle,
const CefRect& rect,
const CefBrowserSettings& settings,
CefRefPtr<CefDictionaryValue> extra_info,
CefRefPtr<CefRequestContext> request_context) override;
void GetPopupConfig(CefWindowHandle temp_handle,
CefWindowInfo& windowInfo,
CefRefPtr<CefClient>& client,
CefBrowserSettings& settings) override;
void ShowPopup(ClientWindowHandle parent_handle,
int x,
int y,
size_t width,
size_t height) override;
void Show() override;
void Hide() override;
void SetBounds(int x, int y, size_t width, size_t height) override;
void SetFocus(bool focus) override;
ClientWindowHandle GetWindowHandle() const override;
private:
DISALLOW_COPY_AND_ASSIGN(BrowserWindowStdMac);
};
}
#endif