Lines Matching refs:m_shell
73 : m_shell(shell)
231 if (m_controller->m_shell->webViewHost()->topLoadingFrame())
238 m_controller->m_shell->testFinished();
243 TestShell* shell = m_controller->m_shell;
361 postDelayedTask(new NotifyDoneTimedOutTask(this), m_shell->layoutTestTimeout());
377 if (m_waitUntilDone && !m_shell->webViewHost()->topLoadingFrame() && m_workQueue.isEmpty()) {
379 m_shell->testTimedOut();
381 m_shell->testFinished();
484 GURL currentURL = m_shell->webView()->mainFrame()->url();
544 if (m_shell) {
545 m_shell->webView()->setZoomLevel(false, 0);
546 m_shell->webView()->setTabKeyCyclesThroughElements(true);
550 m_shell->webView()->setSelectionColors(0xff1e90ff, 0xff000000, 0xffc8c8c8, 0xff323232);
552 m_shell->webView()->removeAllUserContent();
589 m_shell->closeRemainingWindows();
598 m_webHistoryItemCount.set(m_shell->navigationEntryCount());
610 m_shell->testFinished();
623 m_shell->webView()->setTabKeyCyclesThroughElements(arguments[0].toBoolean());
629 result->set(static_cast<int>(m_shell->windowCount()));
649 m_shell->webView()->settings()->setAsynchronousSpellCheckingEnabled(cppVariantToBool(arguments[0]));
677 m_shell->showDevTools();
683 m_shell->closeDevTools();
690 m_shell->setFocus(m_shell->webView(), arguments[0].value.boolValue);
697 m_shell->preferences()->userStyleSheetLocation = arguments[0].value.boolValue ? m_userStyleSheetLocation : WebURL();
698 m_shell->applyPreferences();
708 m_shell->preferences()->userStyleSheetLocation = m_userStyleSheetLocation;
709 m_shell->applyPreferences();
717 m_shell->preferences()->authorAndUserStylesEnabled = arguments[0].value.boolValue;
718 m_shell->applyPreferences();
737 m_shell->webView()->focusedFrame()->executeCommand(WebString::fromUTF8(command), WebString::fromUTF8(value));
748 bool rv = m_shell->webView()->focusedFrame()->isCommandEnabled(WebString::fromUTF8(command));
756 m_shell->preferences()->javaScriptCanOpenWindowsAutomatically = !blockPopups;
757 m_shell->applyPreferences();
806 m_shell->webViewHost()->setCustomPolicyDelegate(enable, permissive);
813 m_shell->webViewHost()->waitForPolicyDelegate();
823 m_shell->webViewHost()->addClearHeader(String::fromUTF8(header.c_str()));
831 m_shell->webViewHost()->setBlockRedirects(arguments[0].value.boolValue);
838 m_shell->webViewHost()->setRequestReturnNull(arguments[0].value.boolValue);
895 m_shell->webViewHost()->setSmartInsertDeleteEnabled(arguments[0].value.boolValue);
902 m_shell->webViewHost()->setSelectTrailingWhitespaceEnabled(arguments[0].value.boolValue);
908 WebFrame* webFrame = m_shell->webView()->mainFrame();
924 WebFrame* webFrame = m_shell->webView()->mainFrame();
940 WebFrame* webFrame = m_shell->webView()->mainFrame();
954 WebFrame* webFrame = m_shell->webView()->mainFrame();
967 WebFrame* webFrame = m_shell->webView()->mainFrame();
980 WebFrame* webFrame = m_shell->webView()->mainFrame();
1049 bool success = m_shell->webView()->mainFrame()->pauseSVGAnimation(animationId, time, elementId);
1055 m_shell->preferences()->loadsImagesAutomatically = false;
1056 m_shell->applyPreferences();
1068 result->set(m_shell->webView()->dispatchBeforeUnloadEvent());
1077 m_shell->notificationPresenter()->grantPermission(cppVariantToWebString(arguments[0]));
1087 if (m_shell->notificationPresenter()->simulateClick(cppVariantToWebString(arguments[0])))
1097 m_shell->webView()->setDomainRelaxationForbidden(cppVariantToBool(arguments[0]), cppVariantToWebString(arguments[1]));
1128 WebViewHost* host = m_shell->webViewHost();
1129 const WebKit::WebSize& size = m_shell->webView()->size();
1139 WebViewHost* host = m_shell->webViewHost();
1200 m_shell->preferences()->javaScriptCanAccessClipboard = arguments[0].value.boolValue;
1201 m_shell->applyPreferences();
1209 m_shell->preferences()->XSSAuditorEnabled = arguments[0].value.boolValue;
1210 m_shell->applyPreferences();
1221 m_shell->webView()->focusedFrame()->executeScriptInIsolatedWorld(arguments[0].toInt32(), &source, 1, 1);
1229 m_shell->preferences()->allowUniversalAccessFromFileURLs = arguments[0].value.boolValue;
1230 m_shell->applyPreferences();
1238 m_shell->preferences()->allowFileAccessFromFileURLs = arguments[0].value.boolValue;
1239 m_shell->applyPreferences();
1296 WebPreferences* prefs = m_shell->preferences();
1362 m_shell->applyPreferences();
1434 WebFrame* frame = m_shell->webView()->mainFrame();
1478 WebFrame* frame = m_shell->webView()->mainFrame();
1494 WebFrame* frame = m_shell->webView()->mainFrame();
1506 Vector<WebViewHost*> windowList = m_shell->windowList();
1515 m_shell->webViewHost()->didAddMessageToConsole(
1525 m_shell->drtDevToolsAgent()->setTimelineProfilingEnabled(arguments[0].toBoolean());
1533 m_shell->drtDevToolsAgent()->evaluateInWebInspector(arguments[0].toInt32(), arguments[1].toString());
1564 m_shell->preferences()->editingBehavior = WebSettings::EditingBehaviorMac;
1565 m_shell->applyPreferences();
1567 m_shell->preferences()->editingBehavior = WebSettings::EditingBehaviorWin;
1568 m_shell->applyPreferences();
1570 m_shell->preferences()->editingBehavior = WebSettings::EditingBehaviorUnix;
1571 m_shell->applyPreferences();
1586 m_shell->webViewHost()->deviceOrientationClientMock()->setOrientation(orientation);
1596 Vector<WebViewHost*> windowList = m_shell->windowList();
1606 Vector<WebViewHost*> windowList = m_shell->windowList();
1616 Vector<WebViewHost*> windowList = m_shell->windowList();
1632 m_shell->webViewHost()->speechInputControllerMock()->addMockRecognitionResult(cppVariantToWebString(arguments[0]), arguments[1].toDouble(), cppVariantToWebString(arguments[2]));
1637 result->set(m_shell->webView()->mainFrame()->layerTreeAsText(m_showDebugLayerTree).utf8());
1653 result->set(m_shell->webView()->mainFrame()->selectionStartHasSpellingMarkerFor(arguments[0].toInt32(), arguments[1].toInt32()));
1661 m_shell->webView()->settings()->setMinimumTimerInterval(arguments[0].toDouble());
1726 m_shell->preferences()->pluginsEnabled = arguments[0].toBoolean();
1727 m_shell->applyPreferences();