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

Unified Diff: remoting/host/host_mock_objects.h

Issue 12678008: Reworked the plumbing required to pass the client resolution to the desktop resizer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/host_mock_objects.h
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index d9d57a92d1ddc1a4d46d152e603d213ae5c48ddf..610f90e9897cccd2ed0f722952523da93987cffd 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -14,6 +14,7 @@
#include "remoting/host/event_executor.h"
#include "remoting/host/host_status_observer.h"
#include "remoting/host/local_input_monitor.h"
+#include "remoting/host/screen_resolution.h"
#include "remoting/host/session_controller.h"
#include "remoting/proto/control.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -158,8 +159,7 @@ class MockSessionController : public SessionController {
MockSessionController();
virtual ~MockSessionController();
- MOCK_METHOD2(OnClientResolutionChanged,
- void(const SkIPoint&, const SkISize&));
+ MOCK_METHOD1(SetScreenResolution, void(const ScreenResolution&));
private:
DISALLOW_COPY_AND_ASSIGN(MockSessionController);

Powered by Google App Engine
This is Rietveld 408576698