to WebCore::Settings. This will enable the Inspect Element menu item
* CodingStyle fixes in QWebSettings
* Enable the Developer Extras in the QtLauncher
Signed-off-by: Simon
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28347
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
global->attributes.value(QWebSettings::JavascriptCanAccessClipboard));
settings->setDOMPasteAllowed(value);
+ value = attributes.value(QWebSettings::DeveloperExtrasEnabled,
+ global->attributes.value(QWebSettings::DeveloperExtrasEnabled));
+ settings->setDeveloperExtrasEnabled(value);
+
QString location = (!userStyleSheetLocation.isEmpty()) ? userStyleSheetLocation : global->userStyleSheetLocation;
settings->setUserStyleSheetLocation(WebCore::KURL(location));
} else {
PluginsEnabled,
PrivateBrowsingEnabled,
JavascriptCanOpenWindows,
- JavascriptCanAccessClipboard
+ JavascriptCanAccessClipboard,
+ DeveloperExtrasEnabled
};
enum WebGraphic {
MissingImageGraphic,
+2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Add the Developer Extras to the WebAttribute and propagate it
+ to WebCore::Settings. This will enable the Inspect Element menu item
+ * CodingStyle fixes in QWebSettings
+ * Enable the Developer Extras in the QtLauncher
+
+
+ * Api/qwebsettings.cpp:
+ (QWebSettingsPrivate::apply):
+ * Api/qwebsettings.h:
+ * QtLauncher/main.cpp:
+ (main):
+
2007-12-03 Geoffrey Garen <ggaren@apple.com>
Removed unnecessary and possibly incorrect #include from my last
QApplication app(argc, argv);
QWebSettings::defaultSettings()->setAttribute(QWebSettings::PluginsEnabled);
+ QWebSettings::defaultSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled);
const QStringList args = app.arguments();
if (args.count() > 1)