| Index: chrome/browser/tab_contents/interstitial_page.h
|
| ===================================================================
|
| --- chrome/browser/tab_contents/interstitial_page.h (revision 9548)
|
| +++ chrome/browser/tab_contents/interstitial_page.h (working copy)
|
| @@ -92,6 +92,7 @@
|
| virtual void UpdateTitle(RenderViewHost* render_view_host,
|
| int32 page_id,
|
| const std::wstring& title);
|
| + virtual View* GetViewDelegate() const;
|
|
|
| // Invoked when the page sent a command through DOMAutomation.
|
| virtual void CommandReceived(const std::string& command) { }
|
| @@ -116,6 +117,8 @@
|
| // user actions.
|
| friend class AutomationProvider;
|
|
|
| + class InterstitialPageRVHViewDelegate;
|
| +
|
| // Initializes tab_to_interstitial_page_ in a thread-safe manner.
|
| // Should be called before accessing tab_to_interstitial_page_.
|
| static void InitInterstitialPageMap();
|
| @@ -168,6 +171,9 @@
|
| // interstitial is hidden.
|
| std::wstring original_tab_title_;
|
|
|
| + // Our RenderViewHostViewDelegate, necessary for accelerators to work.
|
| + scoped_ptr<InterstitialPageRVHViewDelegate> rvh_view_delegate_;
|
| +
|
| MessageLoop* ui_loop_;
|
|
|
| // We keep a map of the various blocking pages shown as the UI tests need to
|
|
|