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

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

Issue 2363573002: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 years, 2 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
« no previous file with comments | « no previous file | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
(...skipping 15 matching lines...) Expand all
26 #include "url/gurl.h" 26 #include "url/gurl.h"
27 27
28 namespace content { 28 namespace content {
29 class NavigationEntry; 29 class NavigationEntry;
30 class NavigationControllerImpl; 30 class NavigationControllerImpl;
31 class RenderViewHostImpl; 31 class RenderViewHostImpl;
32 class RenderWidgetHostView; 32 class RenderWidgetHostView;
33 class TextInputManager; 33 class TextInputManager;
34 class WebContentsView; 34 class WebContentsView;
35 35
36 namespace mojom {
37 class CreateNewWindowParams;
38 }
39
36 enum ResourceRequestAction { 40 enum ResourceRequestAction {
37 BLOCK, 41 BLOCK,
38 RESUME, 42 RESUME,
39 CANCEL 43 CANCEL
40 }; 44 };
41 45
42 class CONTENT_EXPORT InterstitialPageImpl 46 class CONTENT_EXPORT InterstitialPageImpl
43 : public NON_EXPORTED_BASE(InterstitialPage), 47 : public NON_EXPORTED_BASE(InterstitialPage),
44 public NotificationObserver, 48 public NotificationObserver,
45 public NON_EXPORTED_BASE(RenderFrameHostDelegate), 49 public NON_EXPORTED_BASE(RenderFrameHostDelegate),
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 void RenderViewTerminated(RenderViewHost* render_view_host, 131 void RenderViewTerminated(RenderViewHost* render_view_host,
128 base::TerminationStatus status, 132 base::TerminationStatus status,
129 int error_code) override; 133 int error_code) override;
130 RendererPreferences GetRendererPrefs( 134 RendererPreferences GetRendererPrefs(
131 BrowserContext* browser_context) const override; 135 BrowserContext* browser_context) const override;
132 void CreateNewWindow( 136 void CreateNewWindow(
133 SiteInstance* source_site_instance, 137 SiteInstance* source_site_instance,
134 int32_t route_id, 138 int32_t route_id,
135 int32_t main_frame_route_id, 139 int32_t main_frame_route_id,
136 int32_t main_frame_widget_route_id, 140 int32_t main_frame_widget_route_id,
137 const ViewHostMsg_CreateWindow_Params& params, 141 const mojom::CreateNewWindowParams& params,
138 SessionStorageNamespace* session_storage_namespace) override; 142 SessionStorageNamespace* session_storage_namespace) override;
139 void CreateNewWidget(int32_t render_process_id, 143 void CreateNewWidget(int32_t render_process_id,
140 int32_t route_id, 144 int32_t route_id,
141 blink::WebPopupType popup_type) override; 145 blink::WebPopupType popup_type) override;
142 void CreateNewFullscreenWidget(int32_t render_process_id, 146 void CreateNewFullscreenWidget(int32_t render_process_id,
143 int32_t route_id) override; 147 int32_t route_id) override;
144 void ShowCreatedWindow(int process_id, 148 void ShowCreatedWindow(int process_id,
145 int route_id, 149 int route_id,
146 WindowOpenDisposition disposition, 150 WindowOpenDisposition disposition,
147 const gfx::Rect& initial_rect, 151 const gfx::Rect& initial_rect,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 308 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
305 309
306 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 310 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
307 311
308 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 312 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
309 }; 313 };
310 314
311 } // namespace content 315 } // namespace content
312 316
313 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 317 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698