| OLD | NEW |
| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 class BlimpMessage; | 54 class BlimpMessage; |
| 55 class BlimpMessageThreadPipe; | 55 class BlimpMessageThreadPipe; |
| 56 class ThreadPipeManager; | 56 class ThreadPipeManager; |
| 57 | 57 |
| 58 namespace engine { | 58 namespace engine { |
| 59 | 59 |
| 60 class BlimpBrowserContext; | 60 class BlimpBrowserContext; |
| 61 class BlimpEngineConfig; | 61 class BlimpEngineConfig; |
| 62 class BlimpFocusClient; | 62 class BlimpFocusClient; |
| 63 class BlimpScreen; | 63 class BlimpScreen; |
| 64 class BlimpUiContextFactory; | |
| 65 class BlimpWindowTreeHost; | 64 class BlimpWindowTreeHost; |
| 66 class EngineNetworkComponents; | 65 class EngineNetworkComponents; |
| 67 | 66 |
| 68 class BlimpEngineSession | 67 class BlimpEngineSession |
| 69 : public BlimpMessageProcessor, | 68 : public BlimpMessageProcessor, |
| 70 public content::WebContentsDelegate, | 69 public content::WebContentsDelegate, |
| 71 public content::WebContentsObserver, | 70 public content::WebContentsObserver, |
| 72 public EngineRenderWidgetFeature::RenderWidgetMessageDelegate { | 71 public EngineRenderWidgetFeature::RenderWidgetMessageDelegate { |
| 73 public: | 72 public: |
| 74 BlimpEngineSession(scoped_ptr<BlimpBrowserContext> browser_context, | 73 BlimpEngineSession(scoped_ptr<BlimpBrowserContext> browser_context, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 153 |
| 155 // Content BrowserContext for this session. | 154 // Content BrowserContext for this session. |
| 156 scoped_ptr<BlimpBrowserContext> browser_context_; | 155 scoped_ptr<BlimpBrowserContext> browser_context_; |
| 157 | 156 |
| 158 // Engine configuration including assigned client token. | 157 // Engine configuration including assigned client token. |
| 159 BlimpEngineConfig* engine_config_; | 158 BlimpEngineConfig* engine_config_; |
| 160 | 159 |
| 161 // Presents the client's single screen. | 160 // Presents the client's single screen. |
| 162 scoped_ptr<BlimpScreen> screen_; | 161 scoped_ptr<BlimpScreen> screen_; |
| 163 | 162 |
| 164 // Context factory for compositor. | |
| 165 scoped_ptr<BlimpUiContextFactory> context_factory_; | |
| 166 | |
| 167 // Represents the (currently single) browser window into which tab(s) will | 163 // Represents the (currently single) browser window into which tab(s) will |
| 168 // be rendered. | 164 // be rendered. |
| 169 scoped_ptr<BlimpWindowTreeHost> window_tree_host_; | 165 scoped_ptr<BlimpWindowTreeHost> window_tree_host_; |
| 170 | 166 |
| 171 // Used to apply standard focus conventions to the windows in the | 167 // Used to apply standard focus conventions to the windows in the |
| 172 // WindowTreeHost hierarchy. | 168 // WindowTreeHost hierarchy. |
| 173 scoped_ptr<wm::FocusController> focus_client_; | 169 scoped_ptr<wm::FocusController> focus_client_; |
| 174 | 170 |
| 175 // Used to manage input capture. | 171 // Used to manage input capture. |
| 176 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; | 172 scoped_ptr<aura::client::DefaultCaptureClient> capture_client_; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 193 scoped_ptr<BlimpMessageProcessor> tab_control_message_sender_; | 189 scoped_ptr<BlimpMessageProcessor> tab_control_message_sender_; |
| 194 scoped_ptr<BlimpMessageProcessor> navigation_message_sender_; | 190 scoped_ptr<BlimpMessageProcessor> navigation_message_sender_; |
| 195 | 191 |
| 196 DISALLOW_COPY_AND_ASSIGN(BlimpEngineSession); | 192 DISALLOW_COPY_AND_ASSIGN(BlimpEngineSession); |
| 197 }; | 193 }; |
| 198 | 194 |
| 199 } // namespace engine | 195 } // namespace engine |
| 200 } // namespace blimp | 196 } // namespace blimp |
| 201 | 197 |
| 202 #endif // BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ | 198 #endif // BLIMP_ENGINE_SESSION_BLIMP_ENGINE_SESSION_H_ |
| OLD | NEW |