Index: content/browser/frame_host/interstitial_page_impl.cc |
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc |
index e8403064f65c5d202c7910f2dc7c36cbcf8465b2..9287e64259eea2d1cf88555a19257c5b67e5d6f9 100644 |
--- a/content/browser/frame_host/interstitial_page_impl.cc |
+++ b/content/browser/frame_host/interstitial_page_impl.cc |
@@ -42,6 +42,7 @@ |
#include "content/public/browser/content_browser_client.h" |
#include "content/public/browser/interstitial_page_delegate.h" |
#include "content/public/browser/invalidate_type.h" |
+#include "content/public/browser/keyboard_event_processing_result.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/notification_types.h" |
@@ -548,13 +549,11 @@ void InterstitialPageImpl::RenderWidgetDeleted( |
CHECK(!web_contents_); |
} |
-bool InterstitialPageImpl::PreHandleKeyboardEvent( |
- const NativeWebKeyboardEvent& event, |
- bool* is_keyboard_shortcut) { |
+KeyboardEventProcessingResult InterstitialPageImpl::PreHandleKeyboardEvent( |
+ const NativeWebKeyboardEvent& event) { |
if (!enabled()) |
- return false; |
- return render_widget_host_delegate_->PreHandleKeyboardEvent( |
- event, is_keyboard_shortcut); |
+ return KeyboardEventProcessingResult::NOT_HANDLED; |
+ return render_widget_host_delegate_->PreHandleKeyboardEvent(event); |
} |
void InterstitialPageImpl::HandleKeyboardEvent( |