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

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

Issue 2821473002: Service CreateNewWindow on the UI thread with a new mojo interface (Closed)
Patch Set: MakeShared goodness Created 3 years, 8 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>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void UpdateTitle(RenderFrameHost* render_frame_host, 112 void UpdateTitle(RenderFrameHost* render_frame_host,
113 const base::string16& title, 113 const base::string16& title,
114 base::i18n::TextDirection title_direction) override; 114 base::i18n::TextDirection title_direction) override;
115 InterstitialPage* GetAsInterstitialPage() override; 115 InterstitialPage* GetAsInterstitialPage() override;
116 AccessibilityMode GetAccessibilityMode() const override; 116 AccessibilityMode GetAccessibilityMode() const override;
117 void Cut() override; 117 void Cut() override;
118 void Copy() override; 118 void Copy() override;
119 void Paste() override; 119 void Paste() override;
120 void SelectAll() override; 120 void SelectAll() override;
121 void CreateNewWindow( 121 void CreateNewWindow(
122 SiteInstance* source_site_instance, 122 RenderFrameHost* opener,
123 int32_t render_view_route_id, 123 int32_t render_view_route_id,
124 int32_t main_frame_route_id, 124 int32_t main_frame_route_id,
125 int32_t main_frame_widget_route_id, 125 int32_t main_frame_widget_route_id,
126 const mojom::CreateNewWindowParams& params, 126 const mojom::CreateNewWindowParams& params,
127 SessionStorageNamespace* session_storage_namespace) override; 127 SessionStorageNamespace* session_storage_namespace) override;
128 void ShowCreatedWindow(int process_id, 128 void ShowCreatedWindow(int process_id,
129 int main_frame_widget_route_id, 129 int main_frame_widget_route_id,
130 WindowOpenDisposition disposition, 130 WindowOpenDisposition disposition,
131 const gfx::Rect& initial_rect, 131 const gfx::Rect& initial_rect,
132 bool user_gesture) override; 132 bool user_gesture) override;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 scoped_refptr<SessionStorageNamespace> session_storage_namespace_; 301 scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
302 302
303 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_; 303 base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
304 304
305 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl); 305 DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
306 }; 306 };
307 307
308 } // namespace content 308 } // namespace content
309 309
310 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_ 310 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698