Changeset 171199 in webkit
- Timestamp:
- Jul 17, 2014 2:38:08 PM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r171193 r171199 1 2014-07-17 Sam Weinig <sam@webkit.org> 2 3 Fix failing API tests. 4 5 * TestWebKitAPI/mac/PlatformWebViewMac.mm: 6 (-[ActiveOffscreenWindow isVisible]): 7 Override isVisible to make the NSWindows pretend they are visible. 8 1 9 2014-07-17 Alexey Proskuryakov <ap@apple.com> 2 10 -
trunk/Tools/MiniBrowser/mac/BrowserWindowController.m
r170667 r171199 43 43 self.window.styleMask |= NSFullSizeContentViewWindowMask; 44 44 #endif 45 [self.window.contentView setWantsLayer:YES]; 45 46 46 47 [super windowDidLoad]; -
trunk/Tools/TestWebKitAPI/mac/PlatformWebViewMac.mm
r168961 r171199 38 38 return YES; 39 39 } 40 - (BOOL)isVisible 41 { 42 return YES; 43 } 40 44 @end 41 45 … … 46 50 NSRect rect = NSMakeRect(0, 0, 800, 600); 47 51 m_view = [[WKView alloc] initWithFrame:rect contextRef:contextRef pageGroupRef:pageGroupRef]; 52 [m_view setWindowOcclusionDetectionEnabled:NO]; 48 53 49 54 NSRect windowRect = NSOffsetRect(rect, -10000, [(NSScreen *)[[NSScreen screens] objectAtIndex:0] frame].size.height - rect.size.height + 10000); … … 67 72 [m_view setFrame:NSMakeRect(0, 0, width, height)]; 68 73 } 69 70 74 71 75 WKPageRef PlatformWebView::page() const
Note: See TracChangeset
for help on using the changeset viewer.