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

Side by Side Diff: content/browser/renderer_host/media/video_capture_controller_event_handler.h

Issue 2735083002: [Mojo Video Capture] Add test coverage for accelerated jpeg decoding (Closed)
Patch Set: Rebase to March 15th, Remove #include jpeg_parser Created 3 years, 9 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
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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_EVENT_HANDL ER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_EVENT_HANDL ER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_EVENT_HANDL ER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_EVENT_HANDL ER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 VideoCaptureControllerID id, 50 VideoCaptureControllerID id,
51 int buffer_id, 51 int buffer_id,
52 const media::mojom::VideoFrameInfoPtr& frame_info) = 0; 52 const media::mojom::VideoFrameInfoPtr& frame_info) = 0;
53 53
54 // The capture session has ended and no more frames will be sent. 54 // The capture session has ended and no more frames will be sent.
55 virtual void OnEnded(VideoCaptureControllerID id) = 0; 55 virtual void OnEnded(VideoCaptureControllerID id) = 0;
56 56
57 // VideoCaptureDevice has successfully started the device. 57 // VideoCaptureDevice has successfully started the device.
58 virtual void OnStarted(VideoCaptureControllerID id) = 0; 58 virtual void OnStarted(VideoCaptureControllerID id) = 0;
59 59
60 virtual void OnStartedUsingGpuDecode(VideoCaptureControllerID id) = 0;
61
60 protected: 62 protected:
61 virtual ~VideoCaptureControllerEventHandler() {} 63 virtual ~VideoCaptureControllerEventHandler() {}
62 }; 64 };
63 65
64 } // namespace content 66 } // namespace content
65 67
66 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_EVENT_HA NDLER_H_ 68 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_CONTROLLER_EVENT_HA NDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698