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

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

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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/capturer_fake.h ('k') | remoting/jingle_glue/iq_request.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_CAPTURER_FAKE_ASCII_H_ 5 #ifndef REMOTING_HOST_CAPTURER_FAKE_ASCII_H_
6 #define REMOTING_HOST_CAPTURER_FAKE_ASCII_H_ 6 #define REMOTING_HOST_CAPTURER_FAKE_ASCII_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "remoting/host/capturer.h" 9 #include "remoting/host/capturer.h"
10 #include "remoting/host/capturer_helper.h" 10 #include "remoting/host/capturer_helper.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 // A CapturerFakeAscii always outputs an image of 64x48 ASCII characters. 14 // A CapturerFakeAscii always outputs an image of 64x48 ASCII characters.
15 // This image is artificially generated for testing purpose. 15 // This image is artificially generated for testing purpose.
16 // 16 //
17 // CapturerFakeAscii is doubled buffered as required by Capturer. See 17 // CapturerFakeAscii is doubled buffered as required by Capturer. See
18 // remoting/host/capturer.h. 18 // remoting/host/capturer.h.
19 class CapturerFakeAscii : public Capturer { 19 class CapturerFakeAscii : public Capturer {
20 public: 20 public:
21 CapturerFakeAscii(); 21 CapturerFakeAscii();
22 ~CapturerFakeAscii(); 22 virtual ~CapturerFakeAscii();
23 23
24 // Capturer interface. 24 // Capturer interface.
25 virtual void ScreenConfigurationChanged(); 25 virtual void ScreenConfigurationChanged();
26 virtual media::VideoFrame::Format pixel_format() const; 26 virtual media::VideoFrame::Format pixel_format() const;
27 virtual void ClearInvalidRects(); 27 virtual void ClearInvalidRects();
28 virtual void InvalidateRects(const InvalidRects& inval_rects); 28 virtual void InvalidateRects(const InvalidRects& inval_rects);
29 virtual void InvalidateScreen(const gfx::Size& size); 29 virtual void InvalidateScreen(const gfx::Size& size);
30 virtual void InvalidateFullScreen(); 30 virtual void InvalidateFullScreen();
31 virtual void CaptureInvalidRects(CaptureCompletedCallback* callback); 31 virtual void CaptureInvalidRects(CaptureCompletedCallback* callback);
32 virtual const gfx::Size& size_most_recent() const; 32 virtual const gfx::Size& size_most_recent() const;
(...skipping 18 matching lines...) Expand all
51 51
52 // Format of pixels returned in buffer. 52 // Format of pixels returned in buffer.
53 media::VideoFrame::Format pixel_format_; 53 media::VideoFrame::Format pixel_format_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(CapturerFakeAscii); 55 DISALLOW_COPY_AND_ASSIGN(CapturerFakeAscii);
56 }; 56 };
57 57
58 } // namespace remoting 58 } // namespace remoting
59 59
60 #endif // REMOTING_HOST_CAPTURER_FAKE_ASCII_H_ 60 #endif // REMOTING_HOST_CAPTURER_FAKE_ASCII_H_
OLDNEW
« no previous file with comments | « remoting/host/capturer_fake.h ('k') | remoting/jingle_glue/iq_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698