Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(928)

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fixed the test failure this time Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 13f3681b9a53a2d4a10ffb188d2da24ccc5f9729..c23cb1ea9dd58238c1c3447c703fdebd5d8c5275 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -137,6 +137,7 @@
#include "public/web/WebAXObject.h"
#include "public/web/WebActiveWheelFlingParameters.h"
#include "public/web/WebAutofillClient.h"
+#include "public/web/WebConsoleMessage.h"
#include "public/web/WebElement.h"
#include "public/web/WebFrame.h"
#include "public/web/WebFrameClient.h"
@@ -1053,6 +1054,14 @@ void WebViewImpl::acceptLanguagesChanged()
page()->acceptLanguagesChanged();
}
+void WebViewImpl::ReportIntervention(const WebString& message)
+{
+ if (!mainFrame())
+ return;
+ WebConsoleMessage consoleMessage(WebConsoleMessage::LevelWarning, message);
+ mainFrame()->addMessageToConsole(consoleMessage);
+}
+
WebInputEventResult WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event)
{
DCHECK((event.type == WebInputEvent::RawKeyDown)

Powered by Google App Engine
This is Rietveld 408576698