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

Unified Diff: blimp/client/session/blimp_client_session_linux.h

Issue 1528243002: Add a basic linux client for Blimp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: X11, how does it work? Created 5 years 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
Index: blimp/client/session/blimp_client_session_linux.h
diff --git a/blimp/client/session/blimp_client_session_linux.h b/blimp/client/session/blimp_client_session_linux.h
new file mode 100644
index 0000000000000000000000000000000000000000..2cd86246af21c0e88e313558003df170a25aa00e
--- /dev/null
+++ b/blimp/client/session/blimp_client_session_linux.h
@@ -0,0 +1,36 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_
+#define BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_
+
+#include "base/macros.h"
+#include "blimp/client/linux/blimp_display_manager.h"
+#include "blimp/client/session/blimp_client_session.h"
+
+namespace ui {
+class PlatformEventSource;
+}
+
+namespace blimp {
+
+class BlimpClientSessionLinux : public BlimpClientSession,
+ public BlimpDisplayManagerDelegate {
+ public:
+ BlimpClientSessionLinux();
+ ~BlimpClientSessionLinux() override;
+
+ // BlimpDisplayManagerDelegate implementation.
+ void OnClosed() override;
+
+ private:
+ scoped_ptr<ui::PlatformEventSource> event_source_;
nyquist 2015/12/17 03:00:21 For the uninitiated, could you add a comment about
+ scoped_ptr<BlimpDisplayManager> blimp_display_manager_;
+
+ DISALLOW_COPY_AND_ASSIGN(BlimpClientSessionLinux);
+};
+
+} // namespace blimp
+
+#endif // BLIMP_CLIENT_SESSION_BLIMP_CLIENT_SESSION_LINUX_H_

Powered by Google App Engine
This is Rietveld 408576698