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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; | 107 void RenderFrameCreated(RenderFrameHost* render_frame_host) override; |
108 void UpdateTitle(RenderFrameHost* render_frame_host, | 108 void UpdateTitle(RenderFrameHost* render_frame_host, |
109 const base::string16& title, | 109 const base::string16& title, |
110 base::i18n::TextDirection title_direction) override; | 110 base::i18n::TextDirection title_direction) override; |
111 InterstitialPage* GetAsInterstitialPage() override; | 111 InterstitialPage* GetAsInterstitialPage() override; |
112 AccessibilityMode GetAccessibilityMode() const override; | 112 AccessibilityMode GetAccessibilityMode() const override; |
113 void Cut() override; | 113 void Cut() override; |
114 void Copy() override; | 114 void Copy() override; |
115 void Paste() override; | 115 void Paste() override; |
116 void SelectAll() override; | 116 void SelectAll() override; |
| 117 void CreateNewWindow( |
| 118 SiteInstance* source_site_instance, |
| 119 int32_t render_view_route_id, |
| 120 int32_t main_frame_route_id, |
| 121 int32_t main_frame_widget_route_id, |
| 122 const mojom::CreateNewWindowParams& params, |
| 123 SessionStorageNamespace* session_storage_namespace) override; |
| 124 void ShowCreatedWindow(int process_id, |
| 125 int main_frame_widget_route_id, |
| 126 WindowOpenDisposition disposition, |
| 127 const gfx::Rect& initial_rect, |
| 128 bool user_gesture) override; |
117 | 129 |
118 // RenderViewHostDelegate implementation: | 130 // RenderViewHostDelegate implementation: |
119 RenderViewHostDelegateView* GetDelegateView() override; | 131 RenderViewHostDelegateView* GetDelegateView() override; |
120 bool OnMessageReceived(RenderViewHostImpl* render_view_host, | 132 bool OnMessageReceived(RenderViewHostImpl* render_view_host, |
121 const IPC::Message& message) override; | 133 const IPC::Message& message) override; |
122 const GURL& GetMainFrameLastCommittedURL() const override; | 134 const GURL& GetMainFrameLastCommittedURL() const override; |
123 void RenderViewTerminated(RenderViewHost* render_view_host, | 135 void RenderViewTerminated(RenderViewHost* render_view_host, |
124 base::TerminationStatus status, | 136 base::TerminationStatus status, |
125 int error_code) override; | 137 int error_code) override; |
126 RendererPreferences GetRendererPrefs( | 138 RendererPreferences GetRendererPrefs( |
127 BrowserContext* browser_context) const override; | 139 BrowserContext* browser_context) const override; |
128 void CreateNewWindow( | |
129 SiteInstance* source_site_instance, | |
130 int32_t route_id, | |
131 int32_t main_frame_route_id, | |
132 int32_t main_frame_widget_route_id, | |
133 const mojom::CreateNewWindowParams& params, | |
134 SessionStorageNamespace* session_storage_namespace) override; | |
135 void CreateNewWidget(int32_t render_process_id, | 140 void CreateNewWidget(int32_t render_process_id, |
136 int32_t route_id, | 141 int32_t route_id, |
137 blink::WebPopupType popup_type) override; | 142 blink::WebPopupType popup_type) override; |
138 void CreateNewFullscreenWidget(int32_t render_process_id, | 143 void CreateNewFullscreenWidget(int32_t render_process_id, |
139 int32_t route_id) override; | 144 int32_t route_id) override; |
140 void ShowCreatedWindow(int process_id, | |
141 int route_id, | |
142 WindowOpenDisposition disposition, | |
143 const gfx::Rect& initial_rect, | |
144 bool user_gesture) override; | |
145 void ShowCreatedWidget(int process_id, | 145 void ShowCreatedWidget(int process_id, |
146 int route_id, | 146 int route_id, |
147 const gfx::Rect& initial_rect) override; | 147 const gfx::Rect& initial_rect) override; |
148 void ShowCreatedFullscreenWidget(int process_id, int route_id) override; | 148 void ShowCreatedFullscreenWidget(int process_id, int route_id) override; |
149 | 149 |
150 SessionStorageNamespace* GetSessionStorageNamespace( | 150 SessionStorageNamespace* GetSessionStorageNamespace( |
151 SiteInstance* instance) override; | 151 SiteInstance* instance) override; |
152 | 152 |
153 FrameTree* GetFrameTree() override; | 153 FrameTree* GetFrameTree() override; |
154 | 154 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; | 295 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; |
296 | 296 |
297 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; | 297 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; |
298 | 298 |
299 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); | 299 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); |
300 }; | 300 }; |
301 | 301 |
302 } // namespace content | 302 } // namespace content |
303 | 303 |
304 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ | 304 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ |
OLD | NEW |