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; |
122 | 123 |
123 // RenderViewHostDelegate implementation: | 124 // RenderViewHostDelegate implementation: |
124 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 125 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
125 virtual bool OnMessageReceived(RenderViewHost* render_view_host, | 126 virtual bool OnMessageReceived(RenderViewHost* render_view_host, |
126 const IPC::Message& message) OVERRIDE; | 127 const IPC::Message& message) OVERRIDE; |
127 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; | 128 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; |
128 virtual void RenderViewTerminated(RenderViewHost* render_view_host, | 129 virtual void RenderViewTerminated(RenderViewHost* render_view_host, |
129 base::TerminationStatus status, | 130 base::TerminationStatus status, |
130 int error_code) OVERRIDE; | 131 int error_code) OVERRIDE; |
131 virtual RendererPreferences GetRendererPrefs( | 132 virtual RendererPreferences GetRendererPrefs( |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 285 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
285 | 286 |
286 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 287 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
287 | 288 |
288 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 289 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
289 }; | 290 }; |
290 | 291 |
291 } // namespace content | 292 } // namespace content |
292 | 293 |
293 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 294 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |