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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 int32_t route_id, | 133 int32_t route_id, |
134 int32_t main_frame_route_id, | 134 int32_t main_frame_route_id, |
135 int32_t main_frame_widget_route_id, | 135 int32_t main_frame_widget_route_id, |
136 const ViewHostMsg_CreateWindow_Params& params, | 136 const ViewHostMsg_CreateWindow_Params& params, |
137 SessionStorageNamespace* session_storage_namespace) override; | 137 SessionStorageNamespace* session_storage_namespace) override; |
138 void CreateNewWidget(int32_t render_process_id, | 138 void CreateNewWidget(int32_t render_process_id, |
139 int32_t route_id, | 139 int32_t route_id, |
140 blink::WebPopupType popup_type) override; | 140 blink::WebPopupType popup_type) override; |
141 void CreateNewFullscreenWidget(int32_t render_process_id, | 141 void CreateNewFullscreenWidget(int32_t render_process_id, |
142 int32_t route_id) override; | 142 int32_t route_id) override; |
143 void ShowCreatedWindow(int route_id, | 143 void ShowCreatedWindow(int process_id, |
| 144 int route_id, |
144 WindowOpenDisposition disposition, | 145 WindowOpenDisposition disposition, |
145 const gfx::Rect& initial_rect, | 146 const gfx::Rect& initial_rect, |
146 bool user_gesture) override; | 147 bool user_gesture) override; |
147 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override; | 148 void ShowCreatedWidget(int process_id, |
148 void ShowCreatedFullscreenWidget(int route_id) override; | 149 int route_id, |
| 150 const gfx::Rect& initial_rect) override; |
| 151 void ShowCreatedFullscreenWidget(int process_id, int route_id) override; |
149 | 152 |
150 SessionStorageNamespace* GetSessionStorageNamespace( | 153 SessionStorageNamespace* GetSessionStorageNamespace( |
151 SiteInstance* instance) override; | 154 SiteInstance* instance) override; |
152 | 155 |
153 FrameTree* GetFrameTree() override; | 156 FrameTree* GetFrameTree() override; |
154 | 157 |
155 // RenderWidgetHostDelegate implementation: | 158 // RenderWidgetHostDelegate implementation: |
156 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 159 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
157 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 160 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
158 bool* is_keyboard_shortcut) override; | 161 bool* is_keyboard_shortcut) override; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 300 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
298 | 301 |
299 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 302 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
300 | 303 |
301 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 304 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
302 }; | 305 }; |
303 | 306 |
304 } // namespace content | 307 } // namespace content |
305 | 308 |
306 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 309 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |