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

Side by Side Diff: blimp/engine/session/blimp_engine_session.h

Issue 1842593002: [Blimp Engine] Adds a WindowTreeClient so that popup will have non-null paren… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ 5 #ifndef BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_
6 #define BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ 6 #define BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // be rendered. 175 // be rendered.
176 scoped_ptr<BlimpWindowTreeHost> window_tree_host_; 176 scoped_ptr<BlimpWindowTreeHost> window_tree_host_;
177 177
178 // Used to apply standard focus conventions to the windows in the 178 // Used to apply standard focus conventions to the windows in the
179 // WindowTreeHost hierarchy. 179 // WindowTreeHost hierarchy.
180 scoped_ptr<wm::FocusController> focus_client_; 180 scoped_ptr<wm::FocusController> focus_client_;
181 181
182 // Used to manage input capture. 182 // Used to manage input capture.
183 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; 183 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
184 184
185 // Used to locate null-parented windows, such as a popup.
Wez 2016/03/29 21:20:06 "locate" is ambiguous; I think you mean "locate in
haibinlu 2016/03/29 21:57:16 Done.
186 scoped_ptr<aura::client::WindowTreeClient> window_tree_client_;
187
185 // Only one web_contents is supported for blimp 0.5 188 // Only one web_contents is supported for blimp 0.5
186 scoped_ptr<content::WebContents> web_contents_; 189 scoped_ptr<content::WebContents> web_contents_;
187 190
188 // Handles all incoming and outgoing messages related to RenderWidget, 191 // Handles all incoming and outgoing messages related to RenderWidget,
189 // including INPUT, COMPOSITOR and RENDER_WIDGET messages. 192 // including INPUT, COMPOSITOR and RENDER_WIDGET messages.
190 EngineRenderWidgetFeature render_widget_feature_; 193 EngineRenderWidgetFeature render_widget_feature_;
191 194
192 // Container for connection manager, authentication handler, and 195 // Container for connection manager, authentication handler, and
193 // browser connection handler. The components run on the I/O thread, and 196 // browser connection handler. The components run on the I/O thread, and
194 // this object is destroyed there. 197 // this object is destroyed there.
195 scoped_ptr<EngineNetworkComponents> net_components_; 198 scoped_ptr<EngineNetworkComponents> net_components_;
196 199
197 scoped_ptr<ThreadPipeManager> thread_pipe_manager_; 200 scoped_ptr<ThreadPipeManager> thread_pipe_manager_;
198 201
199 // Used to send TAB_CONTROL or NAVIGATION messages to client. 202 // Used to send TAB_CONTROL or NAVIGATION messages to client.
200 scoped_ptr<BlimpMessageProcessor> tab_control_message_sender_; 203 scoped_ptr<BlimpMessageProcessor> tab_control_message_sender_;
201 scoped_ptr<BlimpMessageProcessor> navigation_message_sender_; 204 scoped_ptr<BlimpMessageProcessor> navigation_message_sender_;
202 205
203 DISALLOW_COPY_AND_ASSIGN(BlimpEngineSession); 206 DISALLOW_COPY_AND_ASSIGN(BlimpEngineSession);
204 }; 207 };
205 208
206 } // namespace engine 209 } // namespace engine
207 } // namespace blimp 210 } // namespace blimp
208 211
209 #endif // BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ 212 #endif // BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698