WebPreferencesGtk.cpp [plain text]
#include "config.h"
#include "WebPreferences.h"
#include "HardwareAccelerationManager.h"
#include <WebCore/NotImplemented.h>
namespace WebKit {
void WebPreferences::platformInitializeStore()
{
if (!HardwareAccelerationManager::singleton().canUseHardwareAcceleration())
setAcceleratedCompositingEnabled(false);
else if (HardwareAccelerationManager::singleton().forceHardwareAcceleration())
setForceCompositingMode(true);
}
void WebPreferences::platformUpdateStringValueForKey(const String&, const String&)
{
notImplemented();
}
void WebPreferences::platformUpdateBoolValueForKey(const String&, bool)
{
notImplemented();
}
void WebPreferences::platformUpdateUInt32ValueForKey(const String&, uint32_t)
{
notImplemented();
}
void WebPreferences::platformUpdateDoubleValueForKey(const String&, double)
{
notImplemented();
}
void WebPreferences::platformUpdateFloatValueForKey(const String&, float)
{
notImplemented();
}
bool WebPreferences::platformGetStringUserValueForKey(const String&, String&)
{
notImplemented();
return false;
}
bool WebPreferences::platformGetBoolUserValueForKey(const String&, bool&)
{
notImplemented();
return false;
}
bool WebPreferences::platformGetUInt32UserValueForKey(const String&, uint32_t&)
{
notImplemented();
return false;
}
bool WebPreferences::platformGetDoubleUserValueForKey(const String&, double&)
{
notImplemented();
return false;
}
}