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

Unified Diff: remoting/host/win/session_event_executor.h

Issue 12760012: Rename EventExecutor to InputInjector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace some missed occurrences and remove unused include. Created 7 years, 9 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 | « remoting/host/win/session_desktop_environment.cc ('k') | remoting/host/win/session_event_executor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/session_event_executor.h
diff --git a/remoting/host/win/session_event_executor.h b/remoting/host/win/session_event_executor.h
deleted file mode 100644
index d9fef51067f3f550d1a6ed731f7e90c112764c35..0000000000000000000000000000000000000000
--- a/remoting/host/win/session_event_executor.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2012 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_WIN_SESSION_EVENT_EXECUTOR_H_
-#define REMOTING_HOST_WIN_SESSION_EVENT_EXECUTOR_H_
-
-#include "base/basictypes.h"
-#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/ref_counted.h"
-#include "remoting/host/event_executor.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-} // namespace base
-
-namespace remoting {
-
-// Monitors and passes key/mouse events to a nested event executor. Injects
-// Secure Attention Sequence (SAS) when Ctrl+Alt+Del key combination has been
-// detected.
-class SessionEventExecutorWin : public EventExecutor {
- public:
- // |inject_sas| is invoked on |inject_sas_task_runner| to generate SAS on
- // Vista+.
- SessionEventExecutorWin(
- scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
- scoped_ptr<EventExecutor> nested_executor,
- scoped_refptr<base::SingleThreadTaskRunner> inject_sas_task_runner,
- const base::Closure& inject_sas);
- virtual ~SessionEventExecutorWin();
-
- // EventExecutor implementation.
- virtual void Start(
- scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
-
- // protocol::ClipboardStub implementation.
- virtual void InjectClipboardEvent(
- const protocol::ClipboardEvent& event) OVERRIDE;
-
- // protocol::InputStub implementation.
- virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE;
- virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
-
- private:
- // The actual implementation resides in SessionEventExecutorWin::Core class.
- class Core;
- scoped_refptr<Core> core_;
-
- DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_HOST_WIN_SESSION_EVENT_EXECUTOR_H_
« no previous file with comments | « remoting/host/win/session_desktop_environment.cc ('k') | remoting/host/win/session_event_executor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698