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

Unified Diff: blimp/client/core/blimp_client_context_impl.h

Issue 2255533002: Add TabControlFeature to BlimpClientContextImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync to head Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/client/core/BUILD.gn ('k') | blimp/client/core/blimp_client_context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/blimp_client_context_impl.h
diff --git a/blimp/client/core/blimp_client_context_impl.h b/blimp/client/core/blimp_client_context_impl.h
index 8243b4016fca073f9ff0701af5cf5406260b32ec..0748e23d3d9f43e276c35cf1dbefa58e5781586b 100644
--- a/blimp/client/core/blimp_client_context_impl.h
+++ b/blimp/client/core/blimp_client_context_impl.h
@@ -25,6 +25,7 @@ namespace blimp {
namespace client {
class BlimpContentsManager;
+class TabControlFeature;
// BlimpClientContextImpl is the implementation of the main context-class for
// the blimp client.
@@ -49,6 +50,8 @@ class BlimpClientContextImpl : public BlimpClientContext,
void OnConnected() override;
void OnDisconnected(int result) override;
+ TabControlFeature* GetTabControlFeature() const;
+
protected:
// Returns the URL to use for connections to the assigner. Used to construct
// the AssignmentSource.
@@ -63,6 +66,8 @@ class BlimpClientContextImpl : public BlimpClientContext,
virtual void ConnectWithAssignment(AssignmentRequestResult result,
const Assignment& assignment);
+ void RegisterFeatures();
+
// Provides functionality from the embedder.
BlimpClientContextDelegate* delegate_ = nullptr;
@@ -76,6 +81,8 @@ class BlimpClientContextImpl : public BlimpClientContext,
// Connect() to get a valid assignment and later connect to the engine.
std::unique_ptr<AssignmentSource> assignment_source_;
+ std::unique_ptr<TabControlFeature> tab_control_feature_;
+
std::unique_ptr<BlimpContentsManager> blimp_contents_manager_;
// Container struct for network components.
« no previous file with comments | « blimp/client/core/BUILD.gn ('k') | blimp/client/core/blimp_client_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698