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

Unified Diff: remoting/host/chromeos/clipboard_aura.h

Issue 718313002: Revert "Remote assistance on Chrome OS Part VIII - Compile on Ozone" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « remoting/host/basic_desktop_environment.cc ('k') | remoting/host/chromeos/clipboard_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromeos/clipboard_aura.h
diff --git a/remoting/host/chromeos/clipboard_aura.h b/remoting/host/chromeos/clipboard_aura.h
deleted file mode 100644
index 9907fb6dfd8bbf8bf24d4d9602d1c98c1bf1f23d..0000000000000000000000000000000000000000
--- a/remoting/host/chromeos/clipboard_aura.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// 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.
-
-#ifndef REMOTING_HOST_CLIPBOARD_AURA_H_
-#define REMOTING_HOST_CLIPBOARD_AURA_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "base/single_thread_task_runner.h"
-#include "remoting/host/clipboard.h"
-
-namespace remoting {
-
-namespace protocol {
-class ClipboardStub;
-} // namespace protocol
-
-// On Chrome OS, the clipboard is managed by aura instead of the underlying
-// native platform (e.g. x11, ozone, etc).
-//
-// This class (1) monitors the aura clipboard for changes and notifies the
-// |client_clipboard|, and (2) provides an interface to inject clipboard event
-// into aura.
-//
-// The public API of this class can be called in any thread as internally it
-// always posts the call to the |ui_task_runner|. On ChromeOS, that should
-// be the UI thread of the browser process.
-//
-class ClipboardAura : public Clipboard {
- public:
- explicit ClipboardAura(
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
- ~ClipboardAura() override;
-
- // Clipboard interface.
- void Start(scoped_ptr<protocol::ClipboardStub> client_clipboard) override;
- void InjectClipboardEvent(const protocol::ClipboardEvent& event) override;
- void Stop() override;
-
- // Overrides the clipboard polling interval for unit test.
- void SetPollingIntervalForTesting(base::TimeDelta polling_interval);
-
- private:
- class Core;
-
- scoped_ptr<Core> core_;
- scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(ClipboardAura);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_HOST_CLIPBOARD_AURA_H_
« no previous file with comments | « remoting/host/basic_desktop_environment.cc ('k') | remoting/host/chromeos/clipboard_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698