#include "chrome/browser/ui/views/media_preview/camera_preview/video_stream_view.h"
#include <algorithm>
#include <utility>
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/media_preview/camera_preview/video_format_comparison.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/context_factory.h"
#include "media/base/video_transformation.h"
#include "media/base/video_util.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/color/color_provider.h"
#include "ui/compositor/compositor.h"
#include "ui/gfx/canvas.h"
#include "ui/views/accessibility/view_accessibility.h"
VideoStreamView::VideoStreamView()
: … { … }
VideoStreamView::~VideoStreamView() { … }
void VideoStreamView::OnContextLost() { … }
void VideoStreamView::ScheduleFramePaint(
scoped_refptr<media::VideoFrame> frame) { … }
void VideoStreamView::ClearFrame() { … }
size_t VideoStreamView::GetRenderedFrameCount() { … }
void VideoStreamView::OnPaint(gfx::Canvas* canvas) { … }
gfx::Size VideoStreamView::CalculatePreferredSize(
const views::SizeBounds& ) const { … }
void VideoStreamView::OnThemeChanged() { … }
BEGIN_METADATA(…)