Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 protocol::ClipboardStub* GetClipboardStub() override; | 119 protocol::ClipboardStub* GetClipboardStub() override; |
| 120 protocol::CursorShapeStub* GetCursorShapeStub() override; | 120 protocol::CursorShapeStub* GetCursorShapeStub() override; |
| 121 | 121 |
| 122 // protocol::ClipboardStub interface. | 122 // protocol::ClipboardStub interface. |
| 123 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override; | 123 void InjectClipboardEvent(const protocol::ClipboardEvent& event) override; |
| 124 | 124 |
| 125 // protocol::CursorShapeStub interface. | 125 // protocol::CursorShapeStub interface. |
| 126 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override; | 126 void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) override; |
| 127 | 127 |
| 128 // PepperVideoRenderer::EventHandler interface. | 128 // PepperVideoRenderer::EventHandler interface. |
| 129 void OnVideoDecoderFailed() override; | |
|
Wez
2014/12/24 17:11:14
nit: Suggest OnVideoRenderError, OnVideoDecodeErro
Sergey Ulanov
2015/01/06 01:16:31
Renamed to OnVideoDecodeError()
| |
| 129 void OnVideoFirstFrameReceived() override; | 130 void OnVideoFirstFrameReceived() override; |
| 130 void OnVideoSize(const webrtc::DesktopSize& size, | 131 void OnVideoSize(const webrtc::DesktopSize& size, |
| 131 const webrtc::DesktopVector& dpi) override; | 132 const webrtc::DesktopVector& dpi) override; |
| 132 void OnVideoShape(const webrtc::DesktopRegion& shape) override; | 133 void OnVideoShape(const webrtc::DesktopRegion& shape) override; |
| 133 | 134 |
| 134 // Registers a global log message handler that redirects the log output to | 135 // Registers a global log message handler that redirects the log output to |
| 135 // our plugin instance. | 136 // our plugin instance. |
| 136 // This is called by the plugin's PPP_InitializeModule. | 137 // This is called by the plugin's PPP_InitializeModule. |
| 137 // Note that no logging will be processed unless a ChromotingInstance has been | 138 // Note that no logging will be processed unless a ChromotingInstance has been |
| 138 // registered for logging (see RegisterLoggingInstance). | 139 // registered for logging (see RegisterLoggingInstance). |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 269 | 270 |
| 270 // Weak reference to this instance, used for global logging and task posting. | 271 // Weak reference to this instance, used for global logging and task posting. |
| 271 base::WeakPtrFactory<ChromotingInstance> weak_factory_; | 272 base::WeakPtrFactory<ChromotingInstance> weak_factory_; |
| 272 | 273 |
| 273 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 274 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
| 274 }; | 275 }; |
| 275 | 276 |
| 276 } // namespace remoting | 277 } // namespace remoting |
| 277 | 278 |
| 278 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 279 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
| OLD | NEW |