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

Side by Side Diff: remoting/client/plugin/pepper_view.h

Issue 10382184: [Chromoting] Initial plumbing for cursor shape. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused vars. Fix Mac Capturer Unittest. Created 8 years, 6 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/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_view.cc » ('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 // This class is an implementation of the ChromotingView for Pepper. It is 5 // This class is an implementation of the ChromotingView for Pepper. It is
6 // callable only on the Pepper thread. 6 // callable only on the Pepper thread.
7 7
8 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ 8 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_
9 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ 9 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_
10 10
(...skipping 22 matching lines...) Expand all
33 FrameProducer* producer); 33 FrameProducer* producer);
34 virtual ~PepperView(); 34 virtual ~PepperView();
35 35
36 // ChromotingView implementation. 36 // ChromotingView implementation.
37 virtual bool Initialize() OVERRIDE; 37 virtual bool Initialize() OVERRIDE;
38 virtual void TearDown() OVERRIDE; 38 virtual void TearDown() OVERRIDE;
39 virtual void SetConnectionState( 39 virtual void SetConnectionState(
40 protocol::ConnectionToHost::State state, 40 protocol::ConnectionToHost::State state,
41 protocol::ErrorCode error) OVERRIDE; 41 protocol::ErrorCode error) OVERRIDE;
42 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE; 42 virtual protocol::ClipboardStub* GetClipboardStub() OVERRIDE;
43 virtual protocol::CursorShapeStub* GetCursorShapeStub() OVERRIDE;
43 44
44 // FrameConsumer implementation. 45 // FrameConsumer implementation.
45 virtual void ApplyBuffer(const SkISize& view_size, 46 virtual void ApplyBuffer(const SkISize& view_size,
46 const SkIRect& clip_area, 47 const SkIRect& clip_area,
47 pp::ImageData* buffer, 48 pp::ImageData* buffer,
48 const SkRegion& region) OVERRIDE; 49 const SkRegion& region) OVERRIDE;
49 virtual void ReturnBuffer(pp::ImageData* buffer) OVERRIDE; 50 virtual void ReturnBuffer(pp::ImageData* buffer) OVERRIDE;
50 virtual void SetSourceSize(const SkISize& source_size) OVERRIDE; 51 virtual void SetSourceSize(const SkISize& source_size) OVERRIDE;
51 52
52 // Sets the display size and clipping area of this view. 53 // Sets the display size and clipping area of this view.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 118
118 // True after the first call to ApplyBuffer(). 119 // True after the first call to ApplyBuffer().
119 bool frame_received_; 120 bool frame_received_;
120 121
121 DISALLOW_COPY_AND_ASSIGN(PepperView); 122 DISALLOW_COPY_AND_ASSIGN(PepperView);
122 }; 123 };
123 124
124 } // namespace remoting 125 } // namespace remoting
125 126
126 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ 127 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/pepper_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698