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

Side by Side Diff: blimp/client/core/blimp_client_context_impl.h

Issue 2270323004: Add BlimpView to a Chrome tab when Blimp is enabled. (Closed)
Patch Set: Now owned by BlimpContentsViewAndroid and also implemented touch and sizing Created 4 years, 3 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 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 27 matching lines...) Expand all
38 // operations. 38 // operations.
39 // The |file_thread_task_runner| must be the task runner to use for file 39 // The |file_thread_task_runner| must be the task runner to use for file
40 // operations. 40 // operations.
41 BlimpClientContextImpl( 41 BlimpClientContextImpl(
42 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner, 42 scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner,
43 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner); 43 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner);
44 ~BlimpClientContextImpl() override; 44 ~BlimpClientContextImpl() override;
45 45
46 // BlimpClientContext implementation. 46 // BlimpClientContext implementation.
47 void SetDelegate(BlimpClientContextDelegate* delegate) override; 47 void SetDelegate(BlimpClientContextDelegate* delegate) override;
48 std::unique_ptr<BlimpContents> CreateBlimpContents() override; 48 std::unique_ptr<BlimpContents> CreateBlimpContents(
49 gfx::NativeWindow window) override;
49 void Connect() override; 50 void Connect() override;
50 51
51 // NetworkEventObserver implementation. 52 // NetworkEventObserver implementation.
52 void OnConnected() override; 53 void OnConnected() override;
53 void OnDisconnected(int result) override; 54 void OnDisconnected(int result) override;
54 55
55 TabControlFeature* GetTabControlFeature() const; 56 TabControlFeature* GetTabControlFeature() const;
56 57
57 protected: 58 protected:
58 // Returns the URL to use for connections to the assigner. Used to construct 59 // Returns the URL to use for connections to the assigner. Used to construct
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 102
102 base::WeakPtrFactory<BlimpClientContextImpl> weak_factory_; 103 base::WeakPtrFactory<BlimpClientContextImpl> weak_factory_;
103 104
104 DISALLOW_COPY_AND_ASSIGN(BlimpClientContextImpl); 105 DISALLOW_COPY_AND_ASSIGN(BlimpClientContextImpl);
105 }; 106 };
106 107
107 } // namespace client 108 } // namespace client
108 } // namespace blimp 109 } // namespace blimp
109 110
110 #endif // BLIMP_CLIENT_CORE_BLIMP_CLIENT_CONTEXT_IMPL_H_ 111 #endif // BLIMP_CLIENT_CORE_BLIMP_CLIENT_CONTEXT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698