Title: [134347] trunk/Source/WebKit
- Revision
- 134347
- Author
- [email protected]
- Date
- 2012-11-12 20:05:18 -0800 (Mon, 12 Nov 2012)
Log Message
Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
https://bugs.webkit.org/show_bug.cgi?id=102025
Reviewed by Joseph Pecoraro.
Source/WebKit:
* WebKit.xcodeproj/project.pbxproj: Added Dock.pdf.
Source/WebKit/mac:
* Resources/Dock.pdf: Added.
* WebCoreSupport/WebInspectorClient.h:
* WebCoreSupport/WebInspectorClient.mm:
(-[WebInspectorWindow _cursorForResizeDirection:]): Added.
(WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
(WebInspectorFrontendClient::attachAvailabilityChanged): Added.
(-[WebInspectorWindowController window]): Create the dock button and add it.
(-[WebInspectorWindowController attachWindow:]): Added.
(-[WebInspectorWindowController attach]): Call setAttachedWindow.
(-[WebInspectorWindowController detach]): Ditto.
(-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
Modified Paths
Added Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (134346 => 134347)
--- trunk/Source/WebKit/ChangeLog 2012-11-13 04:05:09 UTC (rev 134346)
+++ trunk/Source/WebKit/ChangeLog 2012-11-13 04:05:18 UTC (rev 134347)
@@ -1,3 +1,13 @@
+2012-11-12 Timothy Hatcher <[email protected]>
+
+ Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
+
+ https://bugs.webkit.org/show_bug.cgi?id=102025
+
+ Reviewed by Joseph Pecoraro.
+
+ * WebKit.xcodeproj/project.pbxproj: Added Dock.pdf.
+
2012-11-08 Laszlo Gombos <[email protected]>
[EFL] Remove non-variable options from the build system
Modified: trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj (134346 => 134347)
--- trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj 2012-11-13 04:05:09 UTC (rev 134346)
+++ trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj 2012-11-13 04:05:18 UTC (rev 134347)
@@ -64,6 +64,7 @@
1C68F672095B5FC100C2984E /* WebNodeHighlightView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C68F666095B5FC100C2984E /* WebNodeHighlightView.mm */; };
1C7B0C660EB2464D00A28502 /* WebInspectorClientCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C7B0C650EB2464D00A28502 /* WebInspectorClientCF.cpp */; };
1C8CB07A0AE9830C00B1F6E9 /* WebEditingDelegatePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C8CB0790AE9830C00B1F6E9 /* WebEditingDelegatePrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 1C9F5EFC1651CDF700C480F8 /* Dock.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 1C9F5EFB1651CDF700C480F8 /* Dock.pdf */; };
1CCFFD130B1F81F2002EE926 /* OldWebAssertions.c in Sources */ = {isa = PBXBuildFile; fileRef = 1CCFFD120B1F81F2002EE926 /* OldWebAssertions.c */; };
224100F3091818D900D2D266 /* WebPluginsPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 224100F2091818D900D2D266 /* WebPluginsPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
224100F90918190100D2D266 /* WebPluginsPrivate.m in Sources */ = {isa = PBXBuildFile; fileRef = 224100F80918190100D2D266 /* WebPluginsPrivate.m */; };
@@ -438,6 +439,7 @@
1C904FD30BA9DD0F0081E9D0 /* Version.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Version.xcconfig; sourceTree = "<group>"; };
1C904FD40BA9DD0F0081E9D0 /* DebugRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DebugRelease.xcconfig; sourceTree = "<group>"; };
1C904FD50BA9DD0F0081E9D0 /* Base.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Base.xcconfig; sourceTree = "<group>"; };
+ 1C9F5EFB1651CDF700C480F8 /* Dock.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = Dock.pdf; sourceTree = "<group>"; };
1CCFFD120B1F81F2002EE926 /* OldWebAssertions.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = OldWebAssertions.c; sourceTree = "<group>"; };
224100F2091818D900D2D266 /* WebPluginsPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = WebPluginsPrivate.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
224100F80918190100D2D266 /* WebPluginsPrivate.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; path = WebPluginsPrivate.m; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
@@ -831,6 +833,7 @@
089C1665FE841158C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
+ 1C9F5EFB1651CDF700C480F8 /* Dock.pdf */,
9325FBDC07D829AE00159862 /* IDNScriptWhiteList.txt */,
939811320824BF01008DF038 /* Info.plist */,
F5B67130023EDF8901C1A525 /* url_icon.tiff */,
@@ -1701,6 +1704,7 @@
939810B70824BF01008DF038 /* url_icon.tiff in Resources */,
939810B50824BF01008DF038 /* WebAuthenticationPanel.nib in Resources */,
5DE83A7A0D0F7F9400CAD12A /* WebJavaScriptTextInputPanel.nib in Resources */,
+ 1C9F5EFC1651CDF700C480F8 /* Dock.pdf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Modified: trunk/Source/WebKit/mac/ChangeLog (134346 => 134347)
--- trunk/Source/WebKit/mac/ChangeLog 2012-11-13 04:05:09 UTC (rev 134346)
+++ trunk/Source/WebKit/mac/ChangeLog 2012-11-13 04:05:18 UTC (rev 134347)
@@ -1,3 +1,23 @@
+2012-11-12 Timothy Hatcher <[email protected]>
+
+ Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
+
+ https://bugs.webkit.org/show_bug.cgi?id=102025
+
+ Reviewed by Joseph Pecoraro.
+
+ * Resources/Dock.pdf: Added.
+ * WebCoreSupport/WebInspectorClient.h:
+ * WebCoreSupport/WebInspectorClient.mm:
+ (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
+ (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
+ (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
+ (-[WebInspectorWindowController window]): Create the dock button and add it.
+ (-[WebInspectorWindowController attachWindow:]): Added.
+ (-[WebInspectorWindowController attach]): Call setAttachedWindow.
+ (-[WebInspectorWindowController detach]): Ditto.
+ (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
+
2012-11-08 Timothy Hatcher <[email protected]>
Always use a textured window for the Web Inspector.
Added: trunk/Source/WebKit/mac/Resources/Dock.pdf (0 => 134347)
--- trunk/Source/WebKit/mac/Resources/Dock.pdf (rev 0)
+++ trunk/Source/WebKit/mac/Resources/Dock.pdf 2012-11-13 04:05:18 UTC (rev 134347)
@@ -0,0 +1,88 @@
+%PDF-1.3
+%\xC4\xE5\xF2\xE5\xEB\xA7\xF3\xA0\xD0\xC4\xC6
+4 0 obj
+<< /Length 5 0 R /Filter /FlateDecode >>
+stream
+xU\x901n\xC40{\xBD\x82u
+\x85\x94II\xAC\xEF\xF7A\\x8A\x83\xFFdI\xE4\xE4v\xC1\xB5w\xB8+=\xE9NO\xE2\xDA\xE9\x8B\xDEo\xA7\xD0:\x89\xF39\xB5\xCAlӜD\xE9\x9BD\xAA\xBBb\xC4\xFB 9\xAAp\xF3T\xF1-\xA4\xB8\x95\x98_\xC6ֽ\x8C"i\xFA\xE0β \x84m\x80\xE9
+-\x8C\x94˞\xA5 O\xB6\xC3\xC0\xEC\xB5\xEB\xEFW\xB3\x80\xD3\xA5\xB6\xF3\xA2Ohw;|\xD2\xC4\xD1ZU\xB5n\xD1hTS\xE7f92{k-j%\xC1c\xCC\xF2H\xA1z\xD8쁚\xF5\x8E\x80ke\xF8q&f\xC5\xFF\xB8+\xA9f\xB0CH\xD8\xD4؇a.\xD1"vɿq@\xB2\x87\xF5\xBCo\xE0HS\xB4{m
+\xE0\xFF\xCA\xC7\xDD ӵZ\xCB
+endstream
+endobj
+5 0 obj
+227
+endobj
+2 0 obj
+<< /Type /Page /Parent 3 0 R /Resources 6 0 R /Contents 4 0 R /MediaBox [0 0 14 14]
+>>
+endobj
+6 0 obj
+<< /ProcSet [ /PDF ] /ColorSpace << /Cs1 7 0 R >> >>
+endobj
+8 0 obj
+<< /Length 9 0 R /N 3 /Alternate /DeviceRGB /Filter /FlateDecode >>
+stream
+x\xAD\x96gTT\xD7\xC7Ͻ\xD3m`\xE80\xF4\xDE;H\xEFMz\x95a\xE8e\x84\xA1#*"\xC1DP U\xC1\xA8\xD4XQD
+X\xD0\x94,\x80\x8Aʻk\x99\xAC\xB7^\xBE\xBD\xBD\xD6>\xE7w\xCE\xDE\xF7\xB4\xFD\xE1\xFE 91\xE3a>