#include "third_party/WebKit/public/web/WebPluginParams.h"
#include "third_party/WebKit/public/web/WebPrintParams.h"
#include "third_party/WebKit/public/web/WebRange.h"
-#include "third_party/WebKit/public/web/WebScriptController.h"
#include "third_party/WebKit/public/web/WebUserGestureIndicator.h"
#include "third_party/WebKit/public/web/WebView.h"
string WebTestProxyBase::captureTree(bool debugRenderTree)
{
- WebScriptController::flushConsoleMessages();
-
bool shouldDumpAsText = m_testInterfaces->testRunner()->shouldDumpAsText();
bool shouldDumpAsMarkup = m_testInterfaces->testRunner()->shouldDumpAsMarkup();
bool shouldDumpAsPrinted = m_testInterfaces->testRunner()->isPrinting();
}
}
+bool WebTestProxyBase::isCompositorFramePending() const
+{
+ return m_animateScheduled || !m_paintRect.isEmpty();
+}
+
void WebTestProxyBase::show(WebNavigationPolicy)
{
invalidateAll();
WebPlugin* WebTestProxyBase::createPlugin(WebFrame* frame, const WebPluginParams& params)
{
- if (params.mimeType == TestPlugin::mimeType())
+ if (TestPlugin::isSupportedMimeType(params.mimeType))
return TestPlugin::create(frame, params, m_delegate);
return 0;
}