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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 const IPC::Message& message) override; | 116 const IPC::Message& message) override; |
117 const GURL& GetMainFrameLastCommittedURL() const override; | 117 const GURL& GetMainFrameLastCommittedURL() const override; |
118 void RenderViewTerminated(RenderViewHost* render_view_host, | 118 void RenderViewTerminated(RenderViewHost* render_view_host, |
119 base::TerminationStatus status, | 119 base::TerminationStatus status, |
120 int error_code) override; | 120 int error_code) override; |
121 RendererPreferences GetRendererPrefs( | 121 RendererPreferences GetRendererPrefs( |
122 BrowserContext* browser_context) const override; | 122 BrowserContext* browser_context) const override; |
123 gfx::Rect GetRootWindowResizerRect() const override; | 123 gfx::Rect GetRootWindowResizerRect() const override; |
124 void CreateNewWindow( | 124 void CreateNewWindow( |
125 SiteInstance* source_site_instance, | 125 SiteInstance* source_site_instance, |
126 int route_id, | 126 int32 route_id, |
127 int main_frame_route_id, | 127 int32 main_frame_route_id, |
| 128 int32 main_frame_widget_route_id, |
| 129 int32 surface_id, |
128 const ViewHostMsg_CreateWindow_Params& params, | 130 const ViewHostMsg_CreateWindow_Params& params, |
129 SessionStorageNamespace* session_storage_namespace) override; | 131 SessionStorageNamespace* session_storage_namespace) override; |
130 void CreateNewWidget(int32 render_process_id, | 132 void CreateNewWidget(int32 render_process_id, |
131 int32 route_id, | 133 int32 route_id, |
132 int32 surface_id, | 134 int32 surface_id, |
133 blink::WebPopupType popup_type) override; | 135 blink::WebPopupType popup_type) override; |
134 void CreateNewFullscreenWidget(int32 render_process_id, | 136 void CreateNewFullscreenWidget(int32 render_process_id, |
135 int32 route_id, | 137 int32 route_id, |
136 int32 surface_id) override; | 138 int32 surface_id) override; |
137 void ShowCreatedWindow(int route_id, | 139 void ShowCreatedWindow(int route_id, |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 296 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
295 | 297 |
296 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 298 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
297 | 299 |
298 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 300 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
299 }; | 301 }; |
300 | 302 |
301 } // namespace content | 303 } // namespace content |
302 | 304 |
303 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 305 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |