| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 13 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 14 #include "chrome/common/notification_observer.h" |
| 14 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
| 15 #include "chrome/common/renderer_preferences.h" | 16 #include "chrome/common/renderer_preferences.h" |
| 16 #include "gfx/size.h" | 17 #include "gfx/size.h" |
| 17 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
| 18 | 19 |
| 19 class NavigationEntry; | 20 class NavigationEntry; |
| 20 class TabContents; | 21 class TabContents; |
| 21 class TabContentsView; | 22 class TabContentsView; |
| 22 | 23 |
| 23 // This class is a base class for interstitial pages, pages that show some | 24 // This class is a base class for interstitial pages, pages that show some |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 typedef std::map<TabContents*, InterstitialPage*> InterstitialPageMap; | 221 typedef std::map<TabContents*, InterstitialPage*> InterstitialPageMap; |
| 221 static InterstitialPageMap* tab_to_interstitial_page_; | 222 static InterstitialPageMap* tab_to_interstitial_page_; |
| 222 | 223 |
| 223 // Settings passed to the renderer. | 224 // Settings passed to the renderer. |
| 224 RendererPreferences renderer_preferences_; | 225 RendererPreferences renderer_preferences_; |
| 225 | 226 |
| 226 DISALLOW_COPY_AND_ASSIGN(InterstitialPage); | 227 DISALLOW_COPY_AND_ASSIGN(InterstitialPage); |
| 227 }; | 228 }; |
| 228 | 229 |
| 229 #endif // CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ | 230 #endif // CHROME_BROWSER_TAB_CONTENTS_INTERSTITIAL_PAGE_H_ |
| OLD | NEW |