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

Unified Diff: remoting/host/continue_window_chromeos.cc

Issue 639233002: Remote assistance on Chrome OS Part IV - It2MeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedbacks Created 6 years, 2 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
Index: remoting/host/continue_window_chromeos.cc
diff --git a/remoting/host/continue_window_chromeos.cc b/remoting/host/continue_window_chromeos.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b8b23caefc837b43c7ee1e9986638043eb843887
--- /dev/null
+++ b/remoting/host/continue_window_chromeos.cc
@@ -0,0 +1,45 @@
+// Copyright 2014 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.
+
+#include "remoting/host/continue_window.h"
+
+namespace remoting {
+
+// A place holder implementation for the ContinueWindow on
+// ChromeOS. Remote assistance on Chrome OS is currently under a flag so it is
+// secure to leave it unimplemented for now.
+class ContinueWindowAura : public ContinueWindow {
Wez 2014/10/17 17:58:00 This should be inside an anonymous namespace.
kelvinp 2014/10/20 00:21:17 Done.
+ public:
+ ContinueWindowAura();
+ virtual ~ContinueWindowAura();
+
+ protected:
+ // ContinueWindow overrides.
Wez 2014/10/17 17:58:00 nit: s/overrides/interface
kelvinp 2014/10/20 00:21:17 Done.
+ virtual void ShowUi() OVERRIDE;
+ virtual void HideUi() OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ContinueWindowAura);
+};
+
+ContinueWindowAura::ContinueWindowAura() {
+}
+
+ContinueWindowAura::~ContinueWindowAura() {
+}
+
+void ContinueWindowAura::ShowUi() {
+ // TODO(kelvinp): Implement this on Chrome OS.
Wez 2014/10/17 17:58:00 Is there a bug # for that work?
kelvinp 2014/10/20 00:21:17 Done.
+}
+
+void ContinueWindowAura::HideUi() {
+ // TODO(kelvinp): Implement this on Chrome OS.
+}
+
+// static
+scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() {
+ return scoped_ptr<HostWindow>(new ContinueWindowAura());
Wez 2014/10/17 17:58:00 make_scoped_ptr(new ...)
kelvinp 2014/10/20 00:21:17 Done.
+}
+
+} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698