Index: chrome/browser/tab_contents/interstitial_page.cc |
=================================================================== |
--- chrome/browser/tab_contents/interstitial_page.cc (revision 29767) |
+++ chrome/browser/tab_contents/interstitial_page.cc (working copy) |
@@ -97,7 +97,7 @@ |
virtual void GotFocus(); |
virtual void TakeFocus(bool reverse); |
virtual bool IsReservedAccelerator(const NativeWebKeyboardEvent& event); |
- virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
+ virtual bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
virtual void HandleMouseEvent(); |
virtual void HandleMouseLeave(); |
virtual void OnFindReply(int request_id, |
@@ -584,10 +584,12 @@ |
return false; |
} |
-void InterstitialPage::InterstitialPageRVHViewDelegate::HandleKeyboardEvent( |
+bool InterstitialPage::InterstitialPageRVHViewDelegate::HandleKeyboardEvent( |
const NativeWebKeyboardEvent& event) { |
if (interstitial_page_->tab() && interstitial_page_->tab()->GetViewDelegate()) |
- interstitial_page_->tab()->GetViewDelegate()->HandleKeyboardEvent(event); |
+ return interstitial_page_->tab()->GetViewDelegate()-> |
+ HandleKeyboardEvent(event); |
+ return false; |
} |
void InterstitialPage::InterstitialPageRVHViewDelegate::HandleMouseEvent() { |