| 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)
|
|
|