mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
35 lines
913 B
C++
35 lines
913 B
C++
// Copyright (c) 2011 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_CEFCLIENT_H_
|
|
#define CEF_TESTS_CEFCLIENT_CEFCLIENT_H_
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "include/cef_base.h"
|
|
|
|
class CefApp;
|
|
class CefBrowser;
|
|
class CefCommandLine;
|
|
|
|
// Returns the main browser window instance.
|
|
CefRefPtr<CefBrowser> AppGetBrowser();
|
|
|
|
// Returns the main application window handle.
|
|
CefWindowHandle AppGetMainHwnd();
|
|
|
|
// Returns the application working directory.
|
|
std::string AppGetWorkingDirectory();
|
|
|
|
// Returns the application's path.
|
|
std::string AppPath();
|
|
|
|
// Returns the initial path to open.
|
|
std::string PathToOpen();
|
|
|
|
// Returns the application settings
|
|
void AppGetSettings(CefSettings& settings, CefRefPtr<CefApp>& app);
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_CEFCLIENT_H_
|