| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 int route_id, | 123 int route_id, |
| 124 int main_frame_route_id, | 124 int main_frame_route_id, |
| 125 const ViewHostMsg_CreateWindow_Params& params, | 125 const ViewHostMsg_CreateWindow_Params& params, |
| 126 SessionStorageNamespace* session_storage_namespace) override; | 126 SessionStorageNamespace* session_storage_namespace) override; |
| 127 void CreateNewWidget(int render_process_id, | 127 void CreateNewWidget(int render_process_id, |
| 128 int route_id, | 128 int route_id, |
| 129 blink::WebPopupType popup_type) override; | 129 blink::WebPopupType popup_type) override; |
| 130 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; | 130 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; |
| 131 void ShowCreatedWindow(int route_id, | 131 void ShowCreatedWindow(int route_id, |
| 132 WindowOpenDisposition disposition, | 132 WindowOpenDisposition disposition, |
| 133 const gfx::Rect& initial_pos, | 133 const gfx::Rect& initial_rect, |
| 134 bool user_gesture) override; | 134 bool user_gesture) override; |
| 135 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_pos) override; | 135 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override; |
| 136 void ShowCreatedFullscreenWidget(int route_id) override; | 136 void ShowCreatedFullscreenWidget(int route_id) override; |
| 137 | 137 |
| 138 SessionStorageNamespace* GetSessionStorageNamespace( | 138 SessionStorageNamespace* GetSessionStorageNamespace( |
| 139 SiteInstance* instance) override; | 139 SiteInstance* instance) override; |
| 140 | 140 |
| 141 FrameTree* GetFrameTree() override; | 141 FrameTree* GetFrameTree() override; |
| 142 | 142 |
| 143 // RenderWidgetHostDelegate implementation: | 143 // RenderWidgetHostDelegate implementation: |
| 144 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 144 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
| 145 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 145 bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 288 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
| 289 | 289 |
| 290 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 290 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
| 291 | 291 |
| 292 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 292 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
| 293 }; | 293 }; |
| 294 | 294 |
| 295 } // namespace content | 295 } // namespace content |
| 296 | 296 |
| 297 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 297 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
| OLD | NEW |