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

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

Issue 1827043004: Remove shaped desktop support from remoting host and client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.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 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 5 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override; 125 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override;
126 126
127 // protocol::CursorShapeStub interface. 127 // protocol::CursorShapeStub interface.
128 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override; 128 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override;
129 129
130 // PepperVideoRenderer::EventHandler interface. 130 // PepperVideoRenderer::EventHandler interface.
131 void OnVideoDecodeError() override; 131 void OnVideoDecodeError() override;
132 void OnVideoFirstFrameReceived() override; 132 void OnVideoFirstFrameReceived() override;
133 void OnVideoSize(const webrtc::DesktopSize& size, 133 void OnVideoSize(const webrtc::DesktopSize& size,
134 const webrtc::DesktopVector& dpi) override; 134 const webrtc::DesktopVector& dpi) override;
135 void OnVideoShape(const webrtc::DesktopRegion* shape) override;
136 void OnVideoFrameDirtyRegion( 135 void OnVideoFrameDirtyRegion(
137 const webrtc::DesktopRegion& dirty_region) override; 136 const webrtc::DesktopRegion& dirty_region) override;
138 137
139 // Registers a global log message handler that redirects the log output to 138 // Registers a global log message handler that redirects the log output to
140 // our plugin instance. 139 // our plugin instance.
141 // This is called by the plugin's PPP_InitializeModule. 140 // This is called by the plugin's PPP_InitializeModule.
142 // Note that no logging will be processed unless a ChromotingInstance has been 141 // Note that no logging will be processed unless a ChromotingInstance has been
143 // registered for logging (see RegisterLoggingInstance). 142 // registered for logging (see RegisterLoggingInstance).
144 static void RegisterLogMessageHandler(); 143 static void RegisterLogMessageHandler();
145 144
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 290
292 // Weak reference to this instance, used for global logging and task posting. 291 // Weak reference to this instance, used for global logging and task posting.
293 base::WeakPtrFactory<ChromotingInstance> weak_factory_; 292 base::WeakPtrFactory<ChromotingInstance> weak_factory_;
294 293
295 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); 294 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance);
296 }; 295 };
297 296
298 } // namespace remoting 297 } // namespace remoting
299 298
300 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 299 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698