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

Unified Diff: remoting/host/remote_input_filter.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « remoting/host/register_support_host_request.h ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remote_input_filter.h
diff --git a/remoting/host/remote_input_filter.h b/remoting/host/remote_input_filter.h
index 35e92d0090b99422f964c18254b673ddc84b37ec..1d2301cca12410c897da5240d457d5b0c25017ae 100644
--- a/remoting/host/remote_input_filter.h
+++ b/remoting/host/remote_input_filter.h
@@ -22,7 +22,7 @@ class RemoteInputFilter : public protocol::InputStub {
// Creates a filter forwarding events to the specified InputEventTracker.
// The filter needs a tracker to release buttons & keys when blocking input.
explicit RemoteInputFilter(protocol::InputEventTracker* event_tracker);
- virtual ~RemoteInputFilter();
+ ~RemoteInputFilter() override;
// Informs the filter that local mouse activity has been detected. If the
// activity does not match events we injected then we assume that it is local,
@@ -33,9 +33,9 @@ class RemoteInputFilter : public protocol::InputStub {
void SetExpectLocalEcho(bool expect_local_echo);
// InputStub overrides.
- virtual void InjectKeyEvent(const protocol::KeyEvent& event) override;
- virtual void InjectTextEvent(const protocol::TextEvent& event) override;
- virtual void InjectMouseEvent(const protocol::MouseEvent& event) override;
+ void InjectKeyEvent(const protocol::KeyEvent& event) override;
+ void InjectTextEvent(const protocol::TextEvent& event) override;
+ void InjectMouseEvent(const protocol::MouseEvent& event) override;
private:
bool ShouldIgnoreInput() const;
« no previous file with comments | « remoting/host/register_support_host_request.h ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698