2013-04-04 01:31:49 +02:00
|
|
|
// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
|
2010-10-03 23:04:50 +02:00
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
#ifndef CEF_TESTS_CEFCLIENT_PLUGIN_TEST_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_PLUGIN_TEST_H_
|
|
|
|
#pragma once
|
2010-10-28 22:38:27 +02:00
|
|
|
|
2013-04-04 01:31:49 +02:00
|
|
|
#include "include/cef_browser.h"
|
|
|
|
#include "cefclient/client_handler.h"
|
2011-12-23 18:36:30 +01:00
|
|
|
|
2013-04-04 01:31:49 +02:00
|
|
|
namespace plugin_test {
|
2010-10-03 23:04:50 +02:00
|
|
|
|
|
|
|
// Register the internal client plugin.
|
2013-04-04 01:31:49 +02:00
|
|
|
void InitTest();
|
|
|
|
|
|
|
|
// Delegate creation. Called from ClientHandler.
|
|
|
|
void CreateRequestDelegates(ClientHandler::RequestDelegateSet& delegates);
|
2010-10-03 23:04:50 +02:00
|
|
|
|
|
|
|
// Run the test.
|
2013-04-04 01:31:49 +02:00
|
|
|
void RunTest(CefRefPtr<CefBrowser> browser);
|
|
|
|
|
|
|
|
} // namespace plugin_test
|
2010-10-28 22:38:27 +02:00
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
#endif // CEF_TESTS_CEFCLIENT_PLUGIN_TEST_H_
|