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

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

Issue 3229007: Chromoting: Get screen size locally if it wasn't given in the mouse message.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/event_executor_win.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_MOCK_OBJECTS_H_ 5 #ifndef REMOTING_HOST_MOCK_OBJECTS_H_
6 #define REMOTING_HOST_MOCK_OBJECTS_H_ 6 #define REMOTING_HOST_MOCK_OBJECTS_H_
7 7
8 #include "media/base/data_buffer.h" 8 #include "media/base/data_buffer.h"
9 #include "remoting/base/protocol_decoder.h" 9 #include "remoting/base/protocol_decoder.h"
10 #include "remoting/host/capturer.h" 10 #include "remoting/host/capturer.h"
(...skipping 16 matching lines...) Expand all
27 CaptureCompletedCallback* callback)); 27 CaptureCompletedCallback* callback));
28 MOCK_CONST_METHOD0(width, int()); 28 MOCK_CONST_METHOD0(width, int());
29 MOCK_CONST_METHOD0(height, int()); 29 MOCK_CONST_METHOD0(height, int());
30 30
31 private: 31 private:
32 DISALLOW_COPY_AND_ASSIGN(MockCapturer); 32 DISALLOW_COPY_AND_ASSIGN(MockCapturer);
33 }; 33 };
34 34
35 class MockEventExecutor : public EventExecutor { 35 class MockEventExecutor : public EventExecutor {
36 public: 36 public:
37 MockEventExecutor() {} 37 MockEventExecutor(Capturer* capturer) : EventExecutor(capturer) {}
38 38
39 MOCK_METHOD1(HandleInputEvents, void(ClientMessageList* messages)); 39 MOCK_METHOD1(HandleInputEvents, void(ClientMessageList* messages));
40 40
41 private: 41 private:
42 DISALLOW_COPY_AND_ASSIGN(MockEventExecutor); 42 DISALLOW_COPY_AND_ASSIGN(MockEventExecutor);
43 }; 43 };
44 44
45 class MockClientConnection : public ClientConnection { 45 class MockClientConnection : public ClientConnection {
46 public: 46 public:
47 MockClientConnection(){} 47 MockClientConnection(){}
(...skipping 24 matching lines...) Expand all
72 MOCK_METHOD1(OnConnectionClosed, void(ClientConnection* viewer)); 72 MOCK_METHOD1(OnConnectionClosed, void(ClientConnection* viewer));
73 MOCK_METHOD1(OnConnectionFailed, void(ClientConnection* viewer)); 73 MOCK_METHOD1(OnConnectionFailed, void(ClientConnection* viewer));
74 74
75 private: 75 private:
76 DISALLOW_COPY_AND_ASSIGN(MockClientConnectionEventHandler); 76 DISALLOW_COPY_AND_ASSIGN(MockClientConnectionEventHandler);
77 }; 77 };
78 78
79 } // namespace remoting 79 } // namespace remoting
80 80
81 #endif // REMOTING_HOST_MOCK_OBJECTS_H_ 81 #endif // REMOTING_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/event_executor_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698