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

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

Issue 12220092: Rename ClientDimensions to ClientResolution and add pixel-size and DPI fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typos in ChromotingInstance. Created 7 years, 10 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
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 MOCK_METHOD1(OnSessionAuthenticated, void(ClientSession* client)); 87 MOCK_METHOD1(OnSessionAuthenticated, void(ClientSession* client));
88 MOCK_METHOD1(OnSessionChannelsConnected, void(ClientSession* client)); 88 MOCK_METHOD1(OnSessionChannelsConnected, void(ClientSession* client));
89 MOCK_METHOD1(OnSessionAuthenticationFailed, void(ClientSession* client)); 89 MOCK_METHOD1(OnSessionAuthenticationFailed, void(ClientSession* client));
90 MOCK_METHOD1(OnSessionClosed, void(ClientSession* client)); 90 MOCK_METHOD1(OnSessionClosed, void(ClientSession* client));
91 MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client, 91 MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client,
92 int64 sequence_number)); 92 int64 sequence_number));
93 MOCK_METHOD3(OnSessionRouteChange, void( 93 MOCK_METHOD3(OnSessionRouteChange, void(
94 ClientSession* client, 94 ClientSession* client,
95 const std::string& channel_name, 95 const std::string& channel_name,
96 const protocol::TransportRoute& route)); 96 const protocol::TransportRoute& route));
97 MOCK_METHOD2(OnClientDimensionsChanged, void(ClientSession* client, 97 MOCK_METHOD3(OnClientResolutionChanged, void(ClientSession* client,
98 const SkISize& size)); 98 const SkISize& size,
99 const SkIPoint& dpi));
99 100
100 private: 101 private:
101 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler); 102 DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler);
102 }; 103 };
103 104
104 class MockDesktopEnvironmentFactory : public DesktopEnvironmentFactory { 105 class MockDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
105 public: 106 public:
106 MockDesktopEnvironmentFactory(); 107 MockDesktopEnvironmentFactory();
107 virtual ~MockDesktopEnvironmentFactory(); 108 virtual ~MockDesktopEnvironmentFactory();
108 109
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 void(const std::string& jid, 149 void(const std::string& jid,
149 const std::string& channel_name, 150 const std::string& channel_name,
150 const protocol::TransportRoute& route)); 151 const protocol::TransportRoute& route));
151 MOCK_METHOD1(OnStart, void(const std::string& xmpp_login)); 152 MOCK_METHOD1(OnStart, void(const std::string& xmpp_login));
152 MOCK_METHOD0(OnShutdown, void()); 153 MOCK_METHOD0(OnShutdown, void());
153 }; 154 };
154 155
155 } // namespace remoting 156 } // namespace remoting
156 157
157 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 158 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698