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

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

Issue 13932020: Set the initial resolution of an RDP session to the client screen resolution if it is available. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Clang Created 7 years, 8 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/desktop_session_proxy.cc ('k') | remoting/host/ipc_desktop_environment.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/chromoting_host_context.h" 9 #include "remoting/host/chromoting_host_context.h"
10 #include "remoting/host/client_session.h" 10 #include "remoting/host/client_session.h"
(...skipping 16 matching lines...) Expand all
27 27
28 class MockDesktopEnvironment : public DesktopEnvironment { 28 class MockDesktopEnvironment : public DesktopEnvironment {
29 public: 29 public:
30 MockDesktopEnvironment(); 30 MockDesktopEnvironment();
31 virtual ~MockDesktopEnvironment(); 31 virtual ~MockDesktopEnvironment();
32 32
33 MOCK_METHOD0(CreateAudioCapturerPtr, AudioCapturer*()); 33 MOCK_METHOD0(CreateAudioCapturerPtr, AudioCapturer*());
34 MOCK_METHOD0(CreateInputInjectorPtr, InputInjector*()); 34 MOCK_METHOD0(CreateInputInjectorPtr, InputInjector*());
35 MOCK_METHOD0(CreateScreenControlsPtr, ScreenControls*()); 35 MOCK_METHOD0(CreateScreenControlsPtr, ScreenControls*());
36 MOCK_METHOD0(CreateVideoCapturerPtr, media::ScreenCapturer*()); 36 MOCK_METHOD0(CreateVideoCapturerPtr, media::ScreenCapturer*());
37 MOCK_CONST_METHOD0(GetCapabilities, std::string());
38 MOCK_METHOD1(SetCapabilities, void(const std::string&));
37 39
38 // DesktopEnvironment implementation. 40 // DesktopEnvironment implementation.
39 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE; 41 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE;
40 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE; 42 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE;
41 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; 43 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE;
42 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer() OVERRIDE; 44 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer() OVERRIDE;
43 }; 45 };
44 46
45 class MockContinueWindow : public ContinueWindow { 47 class MockContinueWindow : public ContinueWindow {
46 public: 48 public:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void(const std::string& jid, 134 void(const std::string& jid,
133 const std::string& channel_name, 135 const std::string& channel_name,
134 const protocol::TransportRoute& route)); 136 const protocol::TransportRoute& route));
135 MOCK_METHOD1(OnStart, void(const std::string& xmpp_login)); 137 MOCK_METHOD1(OnStart, void(const std::string& xmpp_login));
136 MOCK_METHOD0(OnShutdown, void()); 138 MOCK_METHOD0(OnShutdown, void());
137 }; 139 };
138 140
139 } // namespace remoting 141 } // namespace remoting
140 142
141 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 143 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/ipc_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698