Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: content/browser/frame_host/interstitial_page_impl.h

Issue 2353003004: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "content/browser/frame_host/frame_tree.h" 16 #include "content/browser/frame_host/frame_tree.h"
17 #include "content/browser/frame_host/navigator_delegate.h" 17 #include "content/browser/frame_host/navigator_delegate.h"
18 #include "content/browser/frame_host/render_frame_host_delegate.h" 18 #include "content/browser/frame_host/render_frame_host_delegate.h"
19 #include "content/browser/renderer_host/render_view_host_delegate.h" 19 #include "content/browser/renderer_host/render_view_host_delegate.h"
20 #include "content/browser/renderer_host/render_widget_host_delegate.h" 20 #include "content/browser/renderer_host/render_widget_host_delegate.h"
21 #include "content/common/render_message_filter.mojom.h"
21 #include "content/public/browser/interstitial_page.h" 22 #include "content/public/browser/interstitial_page.h"
22 #include "content/public/browser/notification_observer.h" 23 #include "content/public/browser/notification_observer.h"
23 #include "content/public/browser/notification_registrar.h" 24 #include "content/public/browser/notification_registrar.h"
24 #include "content/public/browser/web_contents_observer.h" 25 #include "content/public/browser/web_contents_observer.h"
25 #include "content/public/common/renderer_preferences.h" 26 #include "content/public/common/renderer_preferences.h"
26 #include "url/gurl.h" 27 #include "url/gurl.h"
27 28
28 namespace content { 29 namespace content {
29 class NavigationEntry; 30 class NavigationEntry;
30 class NavigationControllerImpl; 31 class NavigationControllerImpl;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 void RenderViewTerminated(RenderViewHost* render_view_host, 128 void RenderViewTerminated(RenderViewHost* render_view_host,
128 base::TerminationStatus status, 129 base::TerminationStatus status,
129 int error_code) override; 130 int error_code) override;
130 RendererPreferences GetRendererPrefs( 131 RendererPreferences GetRendererPrefs(
131 BrowserContext* browser_context) const override; 132 BrowserContext* browser_context) const override;
132 void CreateNewWindow( 133 void CreateNewWindow(
133 SiteInstance* source_site_instance, 134 SiteInstance* source_site_instance,
134 int32_t route_id, 135 int32_t route_id,
135 int32_t main_frame_route_id, 136 int32_t main_frame_route_id,
136 int32_t main_frame_widget_route_id, 137 int32_t main_frame_widget_route_id,
137 const ViewHostMsg_CreateWindow_Params& params, 138 const mojom::CreateWindowParams& params,
138 SessionStorageNamespace* session_storage_namespace) override; 139 SessionStorageNamespace* session_storage_namespace) override;
139 void CreateNewWidget(int32_t render_process_id, 140 void CreateNewWidget(int32_t render_process_id,
140 int32_t route_id, 141 int32_t route_id,
141 blink::WebPopupType popup_type) override; 142 blink::WebPopupType popup_type) override;
142 void CreateNewFullscreenWidget(int32_t render_process_id, 143 void CreateNewFullscreenWidget(int32_t render_process_id,
143 int32_t route_id) override; 144 int32_t route_id) override;
144 void ShowCreatedWindow(int process_id, 145 void ShowCreatedWindow(int process_id,
145 int route_id, 146 int route_id,
146 WindowOpenDisposition disposition, 147 WindowOpenDisposition disposition,
147 const gfx::Rect& initial_rect, 148 const gfx::Rect& initial_rect,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 305 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
305 306
306 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 307 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
307 308
308 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 309 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
309 }; 310 };
310 311
311 } // namespace content 312 } // namespace content
312 313
313 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 314 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698