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

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

Issue 1810213009: blimp: Add settings to allow the client to download the whole page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@record_full_document
Patch Set: Created 4 years, 9 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>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "blimp/common/proto/blimp_message.pb.h" 14 #include "blimp/common/proto/blimp_message.pb.h"
15 #include "blimp/engine/feature/engine_render_widget_feature.h" 15 #include "blimp/engine/feature/engine_render_widget_feature.h"
16 #include "blimp/engine/feature/engine_settings_feature.h"
16 #include "blimp/net/blimp_message_processor.h" 17 #include "blimp/net/blimp_message_processor.h"
17 #include "blimp/net/connection_error_observer.h" 18 #include "blimp/net/connection_error_observer.h"
18 #include "content/public/browser/invalidate_type.h" 19 #include "content/public/browser/invalidate_type.h"
19 #include "content/public/browser/web_contents_delegate.h" 20 #include "content/public/browser/web_contents_delegate.h"
20 #include "content/public/browser/web_contents_observer.h" 21 #include "content/public/browser/web_contents_observer.h"
21 #include "net/base/completion_callback.h" 22 #include "net/base/completion_callback.h"
22 #include "ui/gfx/geometry/size.h" 23 #include "ui/gfx/geometry/size.h"
23 24
24 namespace aura { 25 namespace aura {
25 class WindowTreeHost; 26 class WindowTreeHost;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Used to apply standard focus conventions to the windows in the 166 // Used to apply standard focus conventions to the windows in the
166 // WindowTreeHost hierarchy. 167 // WindowTreeHost hierarchy.
167 scoped_ptr<wm::FocusController> focus_client_; 168 scoped_ptr<wm::FocusController> focus_client_;
168 169
169 // Used to manage input capture. 170 // Used to manage input capture.
170 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; 171 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_;
171 172
172 // Only one web_contents is supported for blimp 0.5 173 // Only one web_contents is supported for blimp 0.5
173 scoped_ptr<content::WebContents> web_contents_; 174 scoped_ptr<content::WebContents> web_contents_;
174 175
176 // Handles all incoming and outgoing messages for type SETTINGS.
haibinlu 2016/03/21 18:25:23 not outgoing.
Khushal 2016/03/22 04:11:43 Done.
177 EngineSettingsFeature settings_feature_;
178
175 // Handles all incoming and outgoing messages related to RenderWidget, 179 // Handles all incoming and outgoing messages related to RenderWidget,
176 // including INPUT, COMPOSITOR and RENDER_WIDGET messages. 180 // including INPUT, COMPOSITOR and RENDER_WIDGET messages.
177 EngineRenderWidgetFeature render_widget_feature_; 181 EngineRenderWidgetFeature render_widget_feature_;
178 182
179 // Container for connection manager, authentication handler, and 183 // Container for connection manager, authentication handler, and
180 // browser connection handler. The components run on the I/O thread, and 184 // browser connection handler. The components run on the I/O thread, and
181 // this object is destroyed there. 185 // this object is destroyed there.
182 scoped_ptr<EngineNetworkComponents> net_components_; 186 scoped_ptr<EngineNetworkComponents> net_components_;
183 187
184 scoped_ptr<ThreadPipeManager> thread_pipe_manager_; 188 scoped_ptr<ThreadPipeManager> thread_pipe_manager_;
185 189
186 // Used to send TAB_CONTROL or NAVIGATION messages to client. 190 // Used to send TAB_CONTROL or NAVIGATION messages to client.
187 scoped_ptr<BlimpMessageProcessor> tab_control_message_sender_; 191 scoped_ptr<BlimpMessageProcessor> tab_control_message_sender_;
188 scoped_ptr<BlimpMessageProcessor> navigation_message_sender_; 192 scoped_ptr<BlimpMessageProcessor> navigation_message_sender_;
189 193
190 DISALLOW_COPY_AND_ASSIGN(BlimpEngineSession); 194 DISALLOW_COPY_AND_ASSIGN(BlimpEngineSession);
191 }; 195 };
192 196
193 } // namespace engine 197 } // namespace engine
194 } // namespace blimp 198 } // namespace blimp
195 199
196 #endif // BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ 200 #endif // BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698