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

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: ChromotingHostContext cleanup 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..1a753d3eb31fe57d0430c08a60eafa9f99069151
--- /dev/null
+++ b/remoting/host/continue_window_chromeos.cc
@@ -0,0 +1,49 @@
+// 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 {
+
+namespace {
+
+// 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 {
+ public:
+ ContinueWindowAura();
+ virtual ~ContinueWindowAura();
Wez 2014/10/24 00:28:48 override?
kelvinp 2014/10/24 21:39:42 Done.
+
+ protected:
+ // ContinueWindow interface.
+ 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 (See crbug.com/424908).
Wez 2014/10/24 00:28:48 NOTIMPLEMENTED()?
kelvinp 2014/10/24 21:39:41 Done.
+}
+
+void ContinueWindowAura::HideUi() {
+ // TODO(kelvinp): Implement this on Chrome OS (See crbug.com/424908).
Wez 2014/10/24 00:28:48 As above?
kelvinp 2014/10/24 21:39:41 Done.
+}
+
+} // namespace
+
+// static
+scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() {
+ return make_scoped_ptr(new ContinueWindowAura());
+}
+
+} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698