| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // interstitial is hidden. | 199 // interstitial is hidden. |
| 200 std::wstring original_tab_title_; | 200 std::wstring original_tab_title_; |
| 201 | 201 |
| 202 MessageLoop* ui_loop_; | 202 MessageLoop* ui_loop_; |
| 203 | 203 |
| 204 // Our RenderViewHostViewDelegate, necessary for accelerators to work. | 204 // Our RenderViewHostViewDelegate, necessary for accelerators to work. |
| 205 scoped_ptr<InterstitialPageRVHViewDelegate> rvh_view_delegate_; | 205 scoped_ptr<InterstitialPageRVHViewDelegate> rvh_view_delegate_; |
| 206 | 206 |
| 207 // We keep a map of the various blocking pages shown as the UI tests need to | 207 // We keep a map of the various blocking pages shown as the UI tests need to |
| 208 // be able to retrieve them. | 208 // be able to retrieve them. |
| 209 typedef std::map<TabContents*,InterstitialPage*> InterstitialPageMap; | 209 typedef std::map<TabContents*, InterstitialPage*> InterstitialPageMap; |
| 210 static InterstitialPageMap* tab_to_interstitial_page_; | 210 static InterstitialPageMap* tab_to_interstitial_page_; |
| 211 | 211 |
| 212 // Settings passed to the renderer. | 212 // Settings passed to the renderer. |
| 213 RendererPreferences renderer_preferences_; | 213 RendererPreferences renderer_preferences_; |
| 214 | 214 |
| 215 DISALLOW_COPY_AND_ASSIGN(InterstitialPage); | 215 DISALLOW_COPY_AND_ASSIGN(InterstitialPage); |
| 216 }; | 216 }; |
| 217 | 217 |
| 218 #endif // CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ | 218 #endif // CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ |
| OLD | NEW |