| Index: chrome/browser/tab_contents/interstitial_page.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/interstitial_page.cc (revision 55530)
|
| +++ chrome/browser/tab_contents/interstitial_page.cc (working copy)
|
| @@ -107,6 +107,8 @@
|
| virtual void UpdateDragCursor(WebDragOperation operation);
|
| virtual void GotFocus();
|
| virtual void TakeFocus(bool reverse);
|
| + virtual void Activate();
|
| + virtual void Deactivate();
|
| virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
|
| bool* is_keyboard_shortcut);
|
| virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
|
| @@ -609,6 +611,16 @@
|
| interstitial_page_->tab()->GetViewDelegate()->TakeFocus(reverse);
|
| }
|
|
|
| +void InterstitialPage::InterstitialPageRVHViewDelegate::Activate() {
|
| + if (interstitial_page_->tab() && interstitial_page_->tab()->GetViewDelegate())
|
| + interstitial_page_->tab()->GetViewDelegate()->Activate();
|
| +}
|
| +
|
| +void InterstitialPage::InterstitialPageRVHViewDelegate::Deactivate() {
|
| + if (interstitial_page_->tab() && interstitial_page_->tab()->GetViewDelegate())
|
| + interstitial_page_->tab()->GetViewDelegate()->Deactivate();
|
| +}
|
| +
|
| bool InterstitialPage::InterstitialPageRVHViewDelegate::PreHandleKeyboardEvent(
|
| const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
|
| if (interstitial_page_->tab() && interstitial_page_->tab()->GetViewDelegate())
|
|
|