| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_CLIENT_CORE_BLIMP_CLIENT_CONTEXT_IMPL_H_ | 5 #ifndef BLIMP_CLIENT_CORE_BLIMP_CLIENT_CONTEXT_IMPL_H_ |
| 6 #define BLIMP_CLIENT_CORE_BLIMP_CLIENT_CONTEXT_IMPL_H_ | 6 #define BLIMP_CLIENT_CORE_BLIMP_CLIENT_CONTEXT_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 BlimpClientContextImpl( | 45 BlimpClientContextImpl( |
| 46 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner, | 46 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner, |
| 47 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner, | 47 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner, |
| 48 std::unique_ptr<CompositorDependencies> compositor_dependencies); | 48 std::unique_ptr<CompositorDependencies> compositor_dependencies); |
| 49 ~BlimpClientContextImpl() override; | 49 ~BlimpClientContextImpl() override; |
| 50 | 50 |
| 51 IdentitySource* GetIdentitySource(); | 51 IdentitySource* GetIdentitySource(); |
| 52 | 52 |
| 53 // BlimpClientContext implementation. | 53 // BlimpClientContext implementation. |
| 54 void SetDelegate(BlimpClientContextDelegate* delegate) override; | 54 void SetDelegate(BlimpClientContextDelegate* delegate) override; |
| 55 std::unique_ptr<BlimpContents> CreateBlimpContents() override; | 55 std::unique_ptr<BlimpContents> CreateBlimpContents( |
| 56 gfx::NativeWindow window) override; |
| 56 void Connect() override; | 57 void Connect() override; |
| 57 | 58 |
| 58 // NetworkEventObserver implementation. | 59 // NetworkEventObserver implementation. |
| 59 void OnConnected() override; | 60 void OnConnected() override; |
| 60 void OnDisconnected(int result) override; | 61 void OnDisconnected(int result) override; |
| 61 | 62 |
| 62 TabControlFeature* GetTabControlFeature() const; | 63 TabControlFeature* GetTabControlFeature() const; |
| 63 | 64 |
| 64 protected: | 65 protected: |
| 65 // Returns the URL to use for connections to the assigner. Used to construct | 66 // Returns the URL to use for connections to the assigner. Used to construct |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 119 |
| 119 base::WeakPtrFactory<BlimpClientContextImpl> weak_factory_; | 120 base::WeakPtrFactory<BlimpClientContextImpl> weak_factory_; |
| 120 | 121 |
| 121 DISALLOW_COPY_AND_ASSIGN(BlimpClientContextImpl); | 122 DISALLOW_COPY_AND_ASSIGN(BlimpClientContextImpl); |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace client | 125 } // namespace client |
| 125 } // namespace blimp | 126 } // namespace blimp |
| 126 | 127 |
| 127 #endif // BLIMP_CLIENT_CORE_BLIMP_CLIENT_CONTEXT_IMPL_H_ | 128 #endif // BLIMP_CLIENT_CORE_BLIMP_CLIENT_CONTEXT_IMPL_H_ |
| OLD | NEW |