Lines Matching full:webview
291 WebView *createWebViewAndOffscreenWindow()
294 WebView *webView = [[WebView alloc] initWithFrame:rect frameName:nil groupName:@"org.webkit.DumpRenderTree"];
296 [webView setUIDelegate:uiDelegate];
297 [webView setFrameLoadDelegate:frameLoadDelegate];
298 [webView setEditingDelegate:editingDelegate];
299 [webView setResourceLoadDelegate:resourceLoadDelegate];
300 [webView _setGeolocationProvider:[MockGeolocationProvider shared]];
301 [webView _setDeviceOrientationProvider:[WebDeviceOrientationProviderMock shared]];
304 [WebView registerURLSchemeAsLocal:@"feed"];
305 [WebView registerURLSchemeAsLocal:@"feeds"];
306 [WebView registerURLSchemeAsLocal:@"feedsearch"];
308 [webView setContinuousSpellCheckingEnabled:YES];
309 [webView setGrammarCheckingEnabled:YES];
310 [webView setInteractiveFormValidationEnabled:YES];
311 [webView setValidationMessageTimerMagnification:-1];
313 // To make things like certain NSViews, dragging, and plug-ins work, put the WebView a window, but put it off-screen so you don't see it.
322 [[window contentView] addSubview:webView];
328 // For reasons that are not entirely clear, the following pair of calls makes WebView handle its
330 NSBitmapImageRep *imageRep = [webView bitmapImageRepForCachingDisplayInRect:[webView bounds]];
331 [webView cacheDisplayInRect:[webView bounds] toBitmapImageRep:imageRep];
333 return webView;
360 WebView *webView = [[WebView alloc] initWithFrame:NSZeroRect frameName:@"" groupName:@""];
366 NSString *result = [webView stringByEvaluatingJavaScriptFromString:expression];
370 [webView close];
371 [webView release];
657 [WebView _setAlwaysUsesComplexTextCodePath:YES];
659 WebView *webView = createWebViewAndOffscreenWindow();
660 mainFrame = [webView mainFrame];
695 NSWindow *window = [webView window];
696 [webView close];
706 [webView release];
858 static void dumpBackForwardListForWebView(WebView *view)
896 [[mainFrame webView] setFrameSize:NSMakeSize(480, 360)];
898 [[mainFrame webView] setFrameSize:NSMakeSize(LayoutTestController::maxViewWidth, LayoutTestController::maxViewHeight)];
922 WebView *webView = [[[window contentView] subviews] objectAtIndex:0];
923 dumpBackForwardListForWebView(webView);
1039 WebView *webView = [mainFrame webView];
1040 [webView setEditable:NO];
1041 [(EditingDelegate *)[webView editingDelegate] setAcceptsEditing:YES];
1042 [webView makeTextStandardSize:nil];
1043 [webView resetPageZoom:nil];
1044 [webView _scaleWebView:1.0 atOrigin:NSZeroPoint];
1045 [webView setTabKeyCyclesThroughElements:YES];
1046 [webView setPolicyDelegate:nil];
1050 [webView _setDashboardBehavior:WebDashboardBehaviorUseBackwardCompatibilityMode to:NO];
1051 [webView _clearMainFrameName];
1052 [[webView undoManager] removeAllActions];
1053 [WebView _removeAllUserContentFromGroup:[webView groupName]];
1054 [[webView window] setAutodisplay:NO];
1055 [webView _setMinimumTimerInterval:[WebView _defaultMinimumTimerInterval]];
1059 [[mainFrame webView] setSmartInsertDeleteEnabled:YES];
1060 [[[mainFrame webView] inspector] setJavaScriptProfilingEnabled:NO];
1062 [WebView _setUsesTestModeFocusRingColor:YES];
1063 [WebView _resetOriginAccessWhitelists];
1121 [[mainFrame webView] setHistoryDelegate:historyDelegate];
1123 [[mainFrame webView] setHistoryDelegate:nil];
1141 prevTestBFItem = [[[[mainFrame webView] backForwardList] currentItem] retain];
1162 [[mainFrame webView] setSelectedDOMRange:nil affinity:NSSelectionAffinityDownstream];
1174 if (window == [[mainFrame webView] window])
1177 WebView *webView = [[[window contentView] subviews] objectAtIndex:0];
1179 [webView close];
1199 ASSERT(CFArrayGetValueAtIndex(openWindowsRef, 0) == [[mainFrame webView] window]);
1209 NSView *webView = [mainFrame webView];
1210 [webView display];
1211 [webView lockFocus];
1213 NSRectFillUsingOperation([webView frame], NSCompositeSourceOver);
1214 [webView unlockFocus];
1221 return [[[mainFrame webView] window] convertBaseToScreen:lastMousePosition];