2010-10-03 23:04:50 +02:00
|
|
|
// Copyright (c) 2009 The Chromium Embedded Framework Authors.
|
|
|
|
// Portions copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
// Portions of this implementation are borrowed from webkit\default_plugin\
|
|
|
|
// plugin_impl.h
|
|
|
|
|
2010-10-28 22:38:27 +02:00
|
|
|
#ifndef _CEFCLIENT_UIPLUGIN_H
|
|
|
|
#define _CEFCLIENT_UIPLUGIN_H
|
2010-10-03 23:04:50 +02:00
|
|
|
|
|
|
|
#include "include/cef_nplugin.h"
|
|
|
|
|
2011-05-20 16:42:25 +02:00
|
|
|
#if defined(OS_WIN)
|
2010-10-28 22:38:27 +02:00
|
|
|
|
2010-10-03 23:04:50 +02:00
|
|
|
extern NPNetscapeFuncs* g_uibrowser;
|
|
|
|
|
|
|
|
NPError API_CALL NP_UIGetEntryPoints(NPPluginFuncs* pFuncs);
|
|
|
|
NPError API_CALL NP_UIInitialize(NPNetscapeFuncs* pFuncs);
|
|
|
|
NPError API_CALL NP_UIShutdown(void);
|
|
|
|
|
|
|
|
// Function called to modify the rotation value.
|
|
|
|
void ModifyRotation(float value);
|
|
|
|
// Function called to reset the rotation value.
|
2010-10-28 22:38:27 +02:00
|
|
|
void ResetRotation();
|
|
|
|
|
2011-05-20 16:42:25 +02:00
|
|
|
#endif // OS_WIN
|
2010-10-28 22:38:27 +02:00
|
|
|
|
|
|
|
#endif // _CEFCLIENT_UIPLUGIN_H
|