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

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

Issue 7992011: Move us fully from gfx:: over to skia types for consistency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for bad DEPS Created 9 years, 2 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') | remoting/host/local_input_monitor_thread_linux.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "remoting/host/access_verifier.h" 8 #include "remoting/host/access_verifier.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 10 matching lines...) Expand all
21 21
22 class MockCapturer : public Capturer { 22 class MockCapturer : public Capturer {
23 public: 23 public:
24 MockCapturer(); 24 MockCapturer();
25 virtual ~MockCapturer(); 25 virtual ~MockCapturer();
26 26
27 MOCK_METHOD0(ScreenConfigurationChanged, void()); 27 MOCK_METHOD0(ScreenConfigurationChanged, void());
28 MOCK_CONST_METHOD0(pixel_format, media::VideoFrame::Format()); 28 MOCK_CONST_METHOD0(pixel_format, media::VideoFrame::Format());
29 MOCK_METHOD0(ClearInvalidRegion, void()); 29 MOCK_METHOD0(ClearInvalidRegion, void());
30 MOCK_METHOD1(InvalidateRegion, void(const SkRegion& invalid_region)); 30 MOCK_METHOD1(InvalidateRegion, void(const SkRegion& invalid_region));
31 MOCK_METHOD1(InvalidateScreen, void(const gfx::Size&)); 31 MOCK_METHOD1(InvalidateScreen, void(const SkISize&));
32 MOCK_METHOD0(InvalidateFullScreen, void()); 32 MOCK_METHOD0(InvalidateFullScreen, void());
33 MOCK_METHOD1(CaptureInvalidRegion, void(CaptureCompletedCallback* callback)); 33 MOCK_METHOD1(CaptureInvalidRegion, void(CaptureCompletedCallback* callback));
34 MOCK_CONST_METHOD0(size_most_recent, const gfx::Size&()); 34 MOCK_CONST_METHOD0(size_most_recent, const SkISize&());
35 35
36 private: 36 private:
37 DISALLOW_COPY_AND_ASSIGN(MockCapturer); 37 DISALLOW_COPY_AND_ASSIGN(MockCapturer);
38 }; 38 };
39 39
40 class MockCurtain : public Curtain { 40 class MockCurtain : public Curtain {
41 public: 41 public:
42 MockCurtain(); 42 MockCurtain();
43 virtual ~MockCurtain(); 43 virtual ~MockCurtain();
44 44
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 MOCK_METHOD2(VerifyPermissions, bool(const std::string& client_jid, 136 MOCK_METHOD2(VerifyPermissions, bool(const std::string& client_jid,
137 const std::string& token)); 137 const std::string& token));
138 138
139 private: 139 private:
140 DISALLOW_COPY_AND_ASSIGN(MockAccessVerifier); 140 DISALLOW_COPY_AND_ASSIGN(MockAccessVerifier);
141 }; 141 };
142 142
143 } // namespace remoting 143 } // namespace remoting
144 144
145 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_ 145 #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
OLDNEW
« no previous file with comments | « remoting/host/event_executor_win.cc ('k') | remoting/host/local_input_monitor_thread_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698