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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 BrowserContext* browser_context) const override; | 121 BrowserContext* browser_context) const override; |
122 gfx::Rect GetRootWindowResizerRect() const override; | 122 gfx::Rect GetRootWindowResizerRect() const override; |
123 void CreateNewWindow( | 123 void CreateNewWindow( |
124 SiteInstance* source_site_instance, | 124 SiteInstance* source_site_instance, |
125 int route_id, | 125 int route_id, |
126 int main_frame_route_id, | 126 int main_frame_route_id, |
127 const ViewHostMsg_CreateWindow_Params& params, | 127 const ViewHostMsg_CreateWindow_Params& params, |
128 SessionStorageNamespace* session_storage_namespace) override; | 128 SessionStorageNamespace* session_storage_namespace) override; |
129 void CreateNewWidget(int32 render_process_id, | 129 void CreateNewWidget(int32 render_process_id, |
130 int32 route_id, | 130 int32 route_id, |
131 int32 surface_id, | |
132 blink::WebPopupType popup_type) override; | 131 blink::WebPopupType popup_type) override; |
133 void CreateNewFullscreenWidget(int32 render_process_id, | 132 void CreateNewFullscreenWidget(int32 render_process_id, |
134 int32 route_id, | 133 int32 route_id) override; |
135 int32 surface_id) override; | |
136 void ShowCreatedWindow(int route_id, | 134 void ShowCreatedWindow(int route_id, |
137 WindowOpenDisposition disposition, | 135 WindowOpenDisposition disposition, |
138 const gfx::Rect& initial_rect, | 136 const gfx::Rect& initial_rect, |
139 bool user_gesture) override; | 137 bool user_gesture) override; |
140 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override; | 138 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override; |
141 void ShowCreatedFullscreenWidget(int route_id) override; | 139 void ShowCreatedFullscreenWidget(int route_id) override; |
142 | 140 |
143 SessionStorageNamespace* GetSessionStorageNamespace( | 141 SessionStorageNamespace* GetSessionStorageNamespace( |
144 SiteInstance* instance) override; | 142 SiteInstance* instance) override; |
145 | 143 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 290 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
293 | 291 |
294 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 292 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
295 | 293 |
296 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 294 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
297 }; | 295 }; |
298 | 296 |
299 } // namespace content | 297 } // namespace content |
300 | 298 |
301 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 299 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |