Changeset 103866 in webkit
- Timestamp:
- Dec 31, 2011, 4:58:20 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r103834 r103866 1 2011-12-31 Dan Bernstein <mitz@apple.com> 2 3 MiniBrowser sets the WKView’s frame incorrectly 4 https://bugs.webkit.org/show_bug.cgi?id=75393 5 6 Reviewed by Anders Carlsson. 7 8 * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Removed Make Launchable build phase, 9 which is not needed since the binray is linked with the frameworks search path set to the 10 built products directory. 11 * MiniBrowser/mac/BrowserWindowController.m: 12 (-[BrowserWindowController awakeFromNib]): Changed to set the WKView’s frame to its 13 container’s bounds rather than its frame. 14 * MiniBrowser/mac/make-launchable.sh: Removed. 15 1 16 2011-12-29 Dan Bernstein <mitz@apple.com> 2 17 -
trunk/Tools/MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj
r82141 r103866 62 62 51E244F911EFCE07008228D1 /* MBToolbarItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MBToolbarItem.m; sourceTree = "<group>"; }; 63 63 8D1107320486CEB800E47090 /* MiniBrowser.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MiniBrowser.app; sourceTree = BUILT_PRODUCTS_DIR; }; 64 BC1770121188DF19007D9E9A /* make-launchable.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = "make-launchable.sh"; path = "mac/make-launchable.sh"; sourceTree = "<group>"; };65 64 BC329486116A92E2008635D0 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = mac/main.m; sourceTree = "<group>"; }; 66 65 BC329496116A941B008635D0 /* BrowserWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BrowserWindowController.h; path = mac/BrowserWindowController.h; sourceTree = "<group>"; }; … … 158 157 29B97317FDCFA39411CA2CEA /* Resources */, 159 158 BCA8CBDA11E5787800812FB7 /* Configurations */, 160 BC1770481188EB05007D9E9A /* Scripts */,161 159 29B97323FDCFA39411CA2CEA /* Frameworks */, 162 160 19C28FACFE9D520D11CA2CBB /* Products */, … … 182 180 ); 183 181 name = Frameworks; 184 sourceTree = "<group>";185 };186 BC1770481188EB05007D9E9A /* Scripts */ = {187 isa = PBXGroup;188 children = (189 BC1770121188DF19007D9E9A /* make-launchable.sh */,190 );191 name = Scripts;192 182 sourceTree = "<group>"; 193 183 }; … … 224 214 8D11072C0486CEB800E47090 /* Sources */, 225 215 8D11072E0486CEB800E47090 /* Frameworks */, 226 BC17701E1188DFB4007D9E9A /* Make Launchable */,227 216 ); 228 217 buildRules = ( … … 299 288 /* End PBXResourcesBuildPhase section */ 300 289 301 /* Begin PBXShellScriptBuildPhase section */302 BC17701E1188DFB4007D9E9A /* Make Launchable */ = {303 isa = PBXShellScriptBuildPhase;304 buildActionMask = 2147483647;305 files = (306 );307 inputPaths = (308 );309 name = "Make Launchable";310 outputPaths = (311 );312 runOnlyForDeploymentPostprocessing = 0;313 shellPath = /bin/sh;314 shellScript = "mac/make-launchable.sh\n";315 };316 /* End PBXShellScriptBuildPhase section */317 318 290 /* Begin PBXSourcesBuildPhase section */ 319 291 8D11072C0486CEB800E47090 /* Sources */ = { -
trunk/Tools/MiniBrowser/mac/BrowserWindowController.m
r102352 r103866 575 575 - (void)awakeFromNib 576 576 { 577 _webView = [[WKView alloc] initWithFrame:[containerView frame] contextRef:_context pageGroupRef:_pageGroup]; 578 577 _webView = [[WKView alloc] initWithFrame:[containerView bounds] contextRef:_context pageGroupRef:_pageGroup]; 578 579 [_webView setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)]; 579 580 [containerView addSubview:_webView]; 580 [_webView setFrame:[containerView frame]];581 582 [_webView setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];583 581 584 582 WKPageLoaderClient loadClient = {
Note:
See TracChangeset
for help on using the changeset viewer.