2012-04-03 03:34:16 +02:00
|
|
|
// Copyright (c) 2009 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_SCHEME_TEST_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_SCHEME_TEST_H_
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "include/cef_base.h"
|
|
|
|
|
|
|
|
class CefBrowser;
|
2012-04-24 20:01:48 +02:00
|
|
|
class CefSchemeRegistrar;
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2012-04-24 20:01:48 +02:00
|
|
|
namespace scheme_test {
|
|
|
|
|
|
|
|
// Register the scheme.
|
|
|
|
void RegisterCustomSchemes(CefRefPtr<CefSchemeRegistrar> registrar);
|
|
|
|
|
|
|
|
// Create the scheme handler.
|
|
|
|
void InitTest();
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
// Run the test.
|
2012-04-24 20:01:48 +02:00
|
|
|
void RunTest(CefRefPtr<CefBrowser> browser);
|
|
|
|
|
|
|
|
} // namespace scheme_test
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_SCHEME_TEST_H_
|