| 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 271807746f22e34e871e1ab137be4e0e14724c52..fc5e1aeaa1c59904d74eaf6a47fcec6ee1748a8b 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)
|
|
|