Title: [103438] trunk/Source
- Revision
- 103438
- Author
- timo...@apple.com
- Date
- 2011-12-21 13:21:41 -0800 (Wed, 21 Dec 2011)
Log Message
Web Inspector: suppress incremental rendering and use application chrome mode
https://webkit.org/b/75026
Reviewed by Joseph Pecoraro.
Source/WebKit/mac:
* WebCoreSupport/WebInspectorClient.mm:
(-[WebInspectorWindowController init]): Sort the preferences, remove the Leopard font family setting,
set suppress incremental rendering and use application chrome mode.
Source/WebKit2:
* UIProcess/WebInspectorProxy.cpp:
(WebKit::createInspectorPageGroup): Set suppress incremental rendering and use application chrome mode.
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (103437 => 103438)
--- trunk/Source/WebKit/mac/ChangeLog 2011-12-21 21:08:02 UTC (rev 103437)
+++ trunk/Source/WebKit/mac/ChangeLog 2011-12-21 21:21:41 UTC (rev 103438)
@@ -1,3 +1,15 @@
+2011-12-21 Timothy Hatcher <timo...@apple.com>
+
+ Web Inspector: suppress incremental rendering and use application chrome mode
+
+ https://webkit.org/b/75026
+
+ Reviewed by Joseph Pecoraro.
+
+ * WebCoreSupport/WebInspectorClient.mm:
+ (-[WebInspectorWindowController init]): Sort the preferences, remove the Leopard font family setting,
+ set suppress incremental rendering and use application chrome mode.
+
2011-12-20 Pavel Feldman <pavel.feld...@gmail.com>
Web Inspector: reproducible crash after closing web inspector and browser window (iCab)
Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm (103437 => 103438)
--- trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm 2011-12-21 21:08:02 UTC (rev 103437)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm 2011-12-21 21:21:41 UTC (rev 103438)
@@ -228,24 +228,21 @@
// Keep preferences separate from the rest of the client, making sure we are using expected preference values.
WebPreferences *preferences = [[WebPreferences alloc] init];
- [preferences setAutosaves:NO];
- [preferences setLoadsImagesAutomatically:YES];
- [preferences setAuthorAndUserStylesEnabled:YES];
- [preferences setJavaScriptEnabled:YES];
[preferences setAllowsAnimatedImages:YES];
- [preferences setPlugInsEnabled:NO];
+ [preferences setApplicationChromeModeEnabled:YES];
+ [preferences setAuthorAndUserStylesEnabled:YES];
+ [preferences setAutosaves:NO];
+ [preferences setDefaultFixedFontSize:11];
+ [preferences setFixedFontFamily:@"Menlo"];
[preferences setJavaEnabled:NO];
- [preferences setUserStyleSheetEnabled:NO];
- [preferences setTabsToLinks:NO];
+ [preferences setJavaScriptEnabled:YES];
+ [preferences setLoadsImagesAutomatically:YES];
[preferences setMinimumFontSize:0];
[preferences setMinimumLogicalFontSize:9];
-#ifndef BUILDING_ON_LEOPARD
- [preferences setFixedFontFamily:@"Menlo"];
- [preferences setDefaultFixedFontSize:11];
-#else
- [preferences setFixedFontFamily:@"Monaco"];
- [preferences setDefaultFixedFontSize:10];
-#endif
+ [preferences setPlugInsEnabled:NO];
+ [preferences setSuppressIncrementalRendering:YES];
+ [preferences setTabsToLinks:NO];
+ [preferences setUserStyleSheetEnabled:NO];
_webView = [[WebView alloc] init];
[_webView setPreferences:preferences];
Modified: trunk/Source/WebKit2/ChangeLog (103437 => 103438)
--- trunk/Source/WebKit2/ChangeLog 2011-12-21 21:08:02 UTC (rev 103437)
+++ trunk/Source/WebKit2/ChangeLog 2011-12-21 21:21:41 UTC (rev 103438)
@@ -1,3 +1,14 @@
+2011-12-21 Timothy Hatcher <timo...@apple.com>
+
+ Web Inspector: suppress incremental rendering and use application chrome mode
+
+ https://webkit.org/b/75026
+
+ Reviewed by Joseph Pecoraro.
+
+ * UIProcess/WebInspectorProxy.cpp:
+ (WebKit::createInspectorPageGroup): Set suppress incremental rendering and use application chrome mode.
+
2011-12-21 Sam Weinig <s...@webkit.org>
Cleanup up clients when deallocating WebKit2 API objects
Modified: trunk/Source/WebKit2/UIProcess/WebInspectorProxy.cpp (103437 => 103438)
--- trunk/Source/WebKit2/UIProcess/WebInspectorProxy.cpp 2011-12-21 21:08:02 UTC (rev 103437)
+++ trunk/Source/WebKit2/UIProcess/WebInspectorProxy.cpp 2011-12-21 21:21:41 UTC (rev 103438)
@@ -53,6 +53,9 @@
pageGroup->preferences()->setDeveloperExtrasEnabled(true);
#endif
+ pageGroup->preferences()->setApplicationChromeModeEnabled(true);
+ pageGroup->preferences()->setSuppressIncrementalRendering(true);
+
return pageGroup.release();
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes