| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 protected: | 86 protected: |
| 87 // NotificationObserver method: | 87 // NotificationObserver method: |
| 88 virtual void Observe(int type, | 88 virtual void Observe(int type, |
| 89 const NotificationSource& source, | 89 const NotificationSource& source, |
| 90 const NotificationDetails& details) OVERRIDE; | 90 const NotificationDetails& details) OVERRIDE; |
| 91 | 91 |
| 92 // RenderViewHostDelegate implementation: | 92 // RenderViewHostDelegate implementation: |
| 93 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 93 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
| 94 virtual const GURL& GetURL() const OVERRIDE; | 94 virtual const GURL& GetURL() const OVERRIDE; |
| 95 virtual void RenderViewGone(RenderViewHost* render_view_host, | 95 virtual void RenderViewTerminated(RenderViewHost* render_view_host, |
| 96 base::TerminationStatus status, | 96 base::TerminationStatus status, |
| 97 int error_code) OVERRIDE; | 97 int error_code) OVERRIDE; |
| 98 virtual void DidNavigate( | 98 virtual void DidNavigate( |
| 99 RenderViewHost* render_view_host, | 99 RenderViewHost* render_view_host, |
| 100 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; | 100 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; |
| 101 virtual void UpdateTitle(RenderViewHost* render_view_host, | 101 virtual void UpdateTitle(RenderViewHost* render_view_host, |
| 102 int32 page_id, | 102 int32 page_id, |
| 103 const string16& title, | 103 const string16& title, |
| 104 base::i18n::TextDirection title_direction) OVERRIDE; | 104 base::i18n::TextDirection title_direction) OVERRIDE; |
| 105 virtual RendererPreferences GetRendererPrefs( | 105 virtual RendererPreferences GetRendererPrefs( |
| 106 BrowserContext* browser_context) const OVERRIDE; | 106 BrowserContext* browser_context) const OVERRIDE; |
| 107 virtual webkit_glue::WebPreferences GetWebkitPrefs() OVERRIDE; | 107 virtual webkit_glue::WebPreferences GetWebkitPrefs() OVERRIDE; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 scoped_ptr<InterstitialPageDelegate> delegate_; | 230 scoped_ptr<InterstitialPageDelegate> delegate_; |
| 231 | 231 |
| 232 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 232 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
| 233 | 233 |
| 234 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 234 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 235 }; | 235 }; |
| 236 | 236 |
| 237 } // namespace content | 237 } // namespace content |
| 238 | 238 |
| 239 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ | 239 #endif // CONTENT_BROWSER_WEB_CONTENTS_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |