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

Side by Side Diff: remoting/host/client_session.h

Issue 8601011: Add OVERRIDE to remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/capturer_fake_ascii.h ('k') | remoting/host/in_memory_host_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_CLIENT_SESSION_H_ 5 #ifndef REMOTING_HOST_CLIENT_SESSION_H_
6 #define REMOTING_HOST_CLIENT_SESSION_H_ 6 #define REMOTING_HOST_CLIENT_SESSION_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
(...skipping 28 matching lines...) Expand all
39 39
40 // Takes ownership of |connection|. Does not take ownership of 40 // Takes ownership of |connection|. Does not take ownership of
41 // |event_handler|, |input_stub| or |capturer|. 41 // |event_handler|, |input_stub| or |capturer|.
42 ClientSession(EventHandler* event_handler, 42 ClientSession(EventHandler* event_handler,
43 protocol::ConnectionToClient* connection, 43 protocol::ConnectionToClient* connection,
44 protocol::InputStub* input_stub, 44 protocol::InputStub* input_stub,
45 Capturer* capturer); 45 Capturer* capturer);
46 virtual ~ClientSession(); 46 virtual ~ClientSession();
47 47
48 // protocol::InputStub interface. 48 // protocol::InputStub interface.
49 virtual void InjectKeyEvent(const protocol::KeyEvent& event); 49 virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE;
50 virtual void InjectMouseEvent(const protocol::MouseEvent& event); 50 virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
51 51
52 // protocol::ConnectionToClient::EventHandler interface. 52 // protocol::ConnectionToClient::EventHandler interface.
53 virtual void OnConnectionOpened( 53 virtual void OnConnectionOpened(
54 protocol::ConnectionToClient* connection) OVERRIDE; 54 protocol::ConnectionToClient* connection) OVERRIDE;
55 virtual void OnConnectionClosed( 55 virtual void OnConnectionClosed(
56 protocol::ConnectionToClient* connection) OVERRIDE; 56 protocol::ConnectionToClient* connection) OVERRIDE;
57 virtual void OnConnectionFailed( 57 virtual void OnConnectionFailed(
58 protocol::ConnectionToClient* connection) OVERRIDE; 58 protocol::ConnectionToClient* connection) OVERRIDE;
59 virtual void OnSequenceNumberUpdated( 59 virtual void OnSequenceNumberUpdated(
60 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE; 60 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // Set of keys that are currently pressed down by the user. This is used so 139 // Set of keys that are currently pressed down by the user. This is used so
140 // we can release them if the user disconnects. 140 // we can release them if the user disconnects.
141 std::set<int> pressed_keys_; 141 std::set<int> pressed_keys_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(ClientSession); 143 DISALLOW_COPY_AND_ASSIGN(ClientSession);
144 }; 144 };
145 145
146 } // namespace remoting 146 } // namespace remoting
147 147
148 #endif // REMOTING_HOST_CLIENT_SESSION_H_ 148 #endif // REMOTING_HOST_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « remoting/host/capturer_fake_ascii.h ('k') | remoting/host/in_memory_host_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698