OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 const LoadCommittedDetails& load_details) OVERRIDE; | 112 const LoadCommittedDetails& load_details) OVERRIDE; |
113 | 113 |
114 // RenderFrameHostDelegate implementation: | 114 // RenderFrameHostDelegate implementation: |
115 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 115 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
116 const IPC::Message& message) OVERRIDE; | 116 const IPC::Message& message) OVERRIDE; |
117 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 117 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
118 virtual void UpdateTitle(RenderFrameHost* render_frame_host, | 118 virtual void UpdateTitle(RenderFrameHost* render_frame_host, |
119 int32 page_id, | 119 int32 page_id, |
120 const base::string16& title, | 120 const base::string16& title, |
121 base::i18n::TextDirection title_direction) OVERRIDE; | 121 base::i18n::TextDirection title_direction) OVERRIDE; |
122 virtual AccessibilityMode GetAccessibilityMode() const OVERRIDE; | |
123 | 122 |
124 // RenderViewHostDelegate implementation: | 123 // RenderViewHostDelegate implementation: |
125 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 124 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
126 virtual bool OnMessageReceived(RenderViewHost* render_view_host, | 125 virtual bool OnMessageReceived(RenderViewHost* render_view_host, |
127 const IPC::Message& message) OVERRIDE; | 126 const IPC::Message& message) OVERRIDE; |
128 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; | 127 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; |
129 virtual void RenderViewTerminated(RenderViewHost* render_view_host, | 128 virtual void RenderViewTerminated(RenderViewHost* render_view_host, |
130 base::TerminationStatus status, | 129 base::TerminationStatus status, |
131 int error_code) OVERRIDE; | 130 int error_code) OVERRIDE; |
132 virtual RendererPreferences GetRendererPrefs( | 131 virtual RendererPreferences GetRendererPrefs( |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 284 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
286 | 285 |
287 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 286 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
288 | 287 |
289 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 288 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
290 }; | 289 }; |
291 | 290 |
292 } // namespace content | 291 } // namespace content |
293 | 292 |
294 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 293 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |