Chromium change: https://source.chromium.org/chromium/chromium/src/+/f27f7ff938a4858ad57289f11c39c34bbf1f4ee1 commit f27f7ff938a4858ad57289f11c39c34bbf1f4ee1 Author: evliu <evliu@google.com> Date: Tue Jan 25 21:15:24 2022 +0000 Enable tab muting behind a flag This CL reimplements the tab muting feature that was previously removed in 2018. This implementation follows the original UX proposal of making the existing tab alert indicator into a clickable button but removes the hover and double click behavior. Bug: 1250848
13 lines
614 B
Diff
13 lines
614 B
Diff
diff --git a/chrome/browser/ui/views/tabs/alert_indicator_button.h b/chrome/browser/ui/views/tabs/alert_indicator_button.h
|
|
index b22209ca9a16afbae492cd08df6b49b214de06e2..63de769d9273b4705fe62ecc34690f38c5c478db 100644
|
|
--- a/chrome/browser/ui/views/tabs/alert_indicator_button.h
|
|
+++ b/chrome/browser/ui/views/tabs/alert_indicator_button.h
|
|
@@ -78,6 +78,7 @@ class AlertIndicatorButton : public views::ImageButton,
|
|
gfx::ImageSkia GetImageToPaint() override;
|
|
|
|
private:
|
|
+ friend class BraveAlertIndicatorButton;
|
|
friend class AlertIndicatorButtonTest;
|
|
friend class TabTest;
|
|
class FadeAnimationDelegate;
|