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

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

Issue 10447041: Fix Ctrl+Alt+Esc keyboard shortcut in Me2Me host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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/chromoting_host.cc ('k') | remoting/host/host_user_interface.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HOST_MOCK_OBJECTS_H_ 5 #ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_
6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 6 #define REMOTING_HOST_HOST_MOCK_OBJECTS_H_
7 7
8 #include "net/base/ip_endpoint.h" 8 #include "net/base/ip_endpoint.h"
9 #include "remoting/host/capturer.h" 9 #include "remoting/host/capturer.h"
10 #include "remoting/host/curtain.h" 10 #include "remoting/host/curtain.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const DisconnectCallback& disconnect_callback, 57 const DisconnectCallback& disconnect_callback,
58 const std::string& username)); 58 const std::string& username));
59 MOCK_METHOD0(Hide, void()); 59 MOCK_METHOD0(Hide, void());
60 }; 60 };
61 61
62 class MockLocalInputMonitor : public LocalInputMonitor { 62 class MockLocalInputMonitor : public LocalInputMonitor {
63 public: 63 public:
64 MockLocalInputMonitor(); 64 MockLocalInputMonitor();
65 virtual ~MockLocalInputMonitor(); 65 virtual ~MockLocalInputMonitor();
66 66
67 MOCK_METHOD1(Start, void(remoting::ChromotingHost* host)); 67 MOCK_METHOD2(Start, void(MouseMoveObserver* mouse_move_observer,
68 const base::Closure& disconnect_callback));
68 MOCK_METHOD0(Stop, void()); 69 MOCK_METHOD0(Stop, void());
69 }; 70 };
70 71
71 class MockContinueWindow : public ContinueWindow { 72 class MockContinueWindow : public ContinueWindow {
72 public: 73 public:
73 MockContinueWindow(); 74 MockContinueWindow();
74 virtual ~MockContinueWindow(); 75 virtual ~MockContinueWindow();
75 76
76 MOCK_METHOD2(Show, void( 77 MOCK_METHOD2(Show, void(
77 remoting::ChromotingHost* host, 78 remoting::ChromotingHost* host,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 MOCK_METHOD2(Authenticate, bool(const std::string& username, 142 MOCK_METHOD2(Authenticate, bool(const std::string& username,
142 const std::string& password)); 143 const std::string& password));
143 144
144 private: 145 private:
145 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator); 146 DISALLOW_COPY_AND_ASSIGN(MockUserAuthenticator);
146 }; 147 };
147 148
148 } // namespace remoting 149 } // namespace remoting
149 150
150 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 151 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/host_user_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698