| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 // RenderFrameHostDelegate implementation: | 99 // RenderFrameHostDelegate implementation: |
| 100 bool OnMessageReceived(RenderFrameHost* render_frame_host, | 100 bool OnMessageReceived(RenderFrameHost* render_frame_host, |
| 101 const IPC::Message& message) override; | 101 const IPC::Message& message) override; |
| 102 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; | 102 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; |
| 103 void UpdateTitle(RenderFrameHost* render_frame_host, | 103 void UpdateTitle(RenderFrameHost* render_frame_host, |
| 104 int32 page_id, | 104 int32 page_id, |
| 105 const base::string16& title, | 105 const base::string16& title, |
| 106 base::i18n::TextDirection title_direction) override; | 106 base::i18n::TextDirection title_direction) override; |
| 107 AccessibilityMode GetAccessibilityMode() const override; | 107 AccessibilityMode GetAccessibilityMode() const override; |
| 108 void Cut() override; |
| 109 void Copy() override; |
| 110 void Paste() override; |
| 108 | 111 |
| 109 // RenderViewHostDelegate implementation: | 112 // RenderViewHostDelegate implementation: |
| 110 RenderViewHostDelegateView* GetDelegateView() override; | 113 RenderViewHostDelegateView* GetDelegateView() override; |
| 111 bool OnMessageReceived(RenderViewHost* render_view_host, | 114 bool OnMessageReceived(RenderViewHost* render_view_host, |
| 112 const IPC::Message& message) override; | 115 const IPC::Message& message) override; |
| 113 const GURL& GetMainFrameLastCommittedURL() const override; | 116 const GURL& GetMainFrameLastCommittedURL() const override; |
| 114 void RenderViewTerminated(RenderViewHost* render_view_host, | 117 void RenderViewTerminated(RenderViewHost* render_view_host, |
| 115 base::TerminationStatus status, | 118 base::TerminationStatus status, |
| 116 int error_code) override; | 119 int error_code) override; |
| 117 RendererPreferences GetRendererPrefs( | 120 RendererPreferences GetRendererPrefs( |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 290 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
| 288 | 291 |
| 289 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 292 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
| 290 | 293 |
| 291 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 294 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 292 }; | 295 }; |
| 293 | 296 |
| 294 } // namespace content | 297 } // namespace content |
| 295 | 298 |
| 296 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 299 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |