-
Notifications
You must be signed in to change notification settings - Fork 6.6k
/
bubble_view.h
38 lines (27 loc) · 1.07 KB
/
bubble_view.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SYSTEM_VIDEO_CONFERENCE_BUBBLE_BUBBLE_VIEW_H_
#define ASH_SYSTEM_VIDEO_CONFERENCE_BUBBLE_BUBBLE_VIEW_H_
#include "ash/system/tray/tray_bubble_view.h"
namespace ash {
class VideoConferenceTrayController;
namespace video_conference {
// The bubble that contains controls for camera and microphone effects,
// and for easy navigation to apps performing video/audio capture.
class BubbleView : public TrayBubbleView {
public:
explicit BubbleView(const InitParams& init_params,
VideoConferenceTrayController* controller);
BubbleView(const BubbleView&) = delete;
BubbleView& operator=(const BubbleView&) = delete;
~BubbleView() override = default;
// views::View:
void AddedToWidget() override;
private:
// Unowned by `BubbleView`.
VideoConferenceTrayController* controller_;
};
} // namespace video_conference
} // namespace ash
#endif // ASH_SYSTEM_VIDEO_CONFERENCE_BUBBLE_BUBBLE_VIEW_H_