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

Side by Side Diff: ui/views/controls/webview/web_dialog_view.h

Issue 2882513005: Propagate opener to BackgroundsContents. (Closed)
Patch Set: Tweaked the comment in DriveWebContentsManager::ShouldCreateWebContents Created 3 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ 5 #ifndef UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_
6 #define UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ 6 #define UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const gfx::Rect& initial_rect, 109 const gfx::Rect& initial_rect,
110 bool user_gesture, 110 bool user_gesture,
111 bool* was_blocked) override; 111 bool* was_blocked) override;
112 void LoadingStateChanged(content::WebContents* source, 112 void LoadingStateChanged(content::WebContents* source,
113 bool to_different_document) override; 113 bool to_different_document) override;
114 void BeforeUnloadFired(content::WebContents* tab, 114 void BeforeUnloadFired(content::WebContents* tab,
115 bool proceed, 115 bool proceed,
116 bool* proceed_to_fire_unload) override; 116 bool* proceed_to_fire_unload) override;
117 bool ShouldCreateWebContents( 117 bool ShouldCreateWebContents(
118 content::WebContents* web_contents, 118 content::WebContents* web_contents,
119 content::RenderFrameHost* opener,
119 content::SiteInstance* source_site_instance, 120 content::SiteInstance* source_site_instance,
120 int32_t route_id, 121 int32_t route_id,
121 int32_t main_frame_route_id, 122 int32_t main_frame_route_id,
122 int32_t main_frame_widget_route_id, 123 int32_t main_frame_widget_route_id,
123 content::mojom::WindowContainerType window_container_type, 124 content::mojom::WindowContainerType window_container_type,
124 const GURL& opener_url, 125 const GURL& opener_url,
125 const std::string& frame_name, 126 const std::string& frame_name,
126 const GURL& target_url, 127 const GURL& target_url,
127 const std::string& partition_id, 128 const std::string& partition_id,
128 content::SessionStorageNamespace* session_storage_namespace) override; 129 content::SessionStorageNamespace* session_storage_namespace) override;
(...skipping 29 matching lines...) Expand all
158 159
159 // Whether CloseContents() has been called. 160 // Whether CloseContents() has been called.
160 bool close_contents_called_; 161 bool close_contents_called_;
161 162
162 DISALLOW_COPY_AND_ASSIGN(WebDialogView); 163 DISALLOW_COPY_AND_ASSIGN(WebDialogView);
163 }; 164 };
164 165
165 } // namespace views 166 } // namespace views
166 167
167 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_ 168 #endif // UI_VIEWS_CONTROLS_WEBVIEW_WEB_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « ui/keyboard/content/keyboard_ui_content.cc ('k') | ui/views/controls/webview/web_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698