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

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

Issue 3141036: Revert 57112 - Rename (Host|Client)Message to Chromoting(Host|Client)Message.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/chromoting_view.h ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 using Pepper devices 5 // This class is an implementation of the ChromotingView using Pepper devices
6 // as the backing stores. The public APIs to this class are thread-safe. 6 // as the backing stores. The public APIs to this class are thread-safe.
7 // Calls will dispatch any interaction with the pepper API onto the pepper 7 // Calls will dispatch any interaction with the pepper API onto the pepper
8 // main thread. 8 // main thread.
9 // 9 //
10 // TODO(ajwong): We need to better understand the threading semantics of this 10 // TODO(ajwong): We need to better understand the threading semantics of this
(...skipping 26 matching lines...) Expand all
37 virtual ~PepperView(); 37 virtual ~PepperView();
38 38
39 // ChromotingView implementation. 39 // ChromotingView implementation.
40 virtual bool Initialize(); 40 virtual bool Initialize();
41 virtual void TearDown(); 41 virtual void TearDown();
42 virtual void Paint(); 42 virtual void Paint();
43 virtual void SetSolidFill(uint32 color); 43 virtual void SetSolidFill(uint32 color);
44 virtual void UnsetSolidFill(); 44 virtual void UnsetSolidFill();
45 virtual void SetViewport(int x, int y, int width, int height); 45 virtual void SetViewport(int x, int y, int width, int height);
46 virtual void SetHostScreenSize(int width, int height); 46 virtual void SetHostScreenSize(int width, int height);
47 virtual void HandleBeginUpdateStream(ChromotingHostMessage* msg); 47 virtual void HandleBeginUpdateStream(HostMessage* msg);
48 virtual void HandleUpdateStreamPacket(ChromotingHostMessage* msg); 48 virtual void HandleUpdateStreamPacket(HostMessage* msg);
49 virtual void HandleEndUpdateStream(ChromotingHostMessage* msg); 49 virtual void HandleEndUpdateStream(HostMessage* msg);
50 50
51 private: 51 private:
52 void OnPaintDone(); 52 void OnPaintDone();
53 void OnPartialDecodeDone(); 53 void OnPartialDecodeDone();
54 void OnDecodeDone(); 54 void OnDecodeDone();
55 55
56 // Reference to the creating plugin instance. Needed for interacting with 56 // Reference to the creating plugin instance. Needed for interacting with
57 // pepper. Marking explciitly as const since it must be initialized at 57 // pepper. Marking explciitly as const since it must be initialized at
58 // object creation, and never change. 58 // object creation, and never change.
59 ChromotingInstance* const instance_; 59 ChromotingInstance* const instance_;
(...skipping 18 matching lines...) Expand all
78 scoped_ptr<Decoder> decoder_; 78 scoped_ptr<Decoder> decoder_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(PepperView); 80 DISALLOW_COPY_AND_ASSIGN(PepperView);
81 }; 81 };
82 82
83 } // namespace remoting 83 } // namespace remoting
84 84
85 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::PepperView); 85 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::PepperView);
86 86
87 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_ 87 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIEW_H_
OLDNEW
« no previous file with comments | « remoting/client/chromoting_view.h ('k') | remoting/client/plugin/pepper_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698