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

Unified Diff: ash/common/system/status_area_widget.h

Issue 2557593009: Fix Chrome crashes on calling OnTrayVisibilityChange (Closed)
Patch Set: address comments Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/system/status_area_widget.cc » ('j') | ash/common/system/status_area_widget.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/status_area_widget.h
diff --git a/ash/common/system/status_area_widget.h b/ash/common/system/status_area_widget.h
index bc74b20277ab332350f89629e2edea323cc69e36..f49d7b63bb0a5929e33e250ab64f7594028f3d69 100644
--- a/ash/common/system/status_area_widget.h
+++ b/ash/common/system/status_area_widget.h
@@ -27,6 +27,10 @@ class PaletteTray;
class VirtualKeyboardTray;
#endif
+namespace test {
+class SystemTrayTest;
+}
+
class ASH_EXPORT StatusAreaWidget : public views::Widget,
public ShelfBackgroundAnimatorObserver {
public:
@@ -93,6 +97,8 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget,
void UpdateShelfItemBackground(int alpha) override;
private:
+ friend class test::SystemTrayTest;
+
void AddSystemTray();
void AddWebNotificationTray();
#if defined(OS_CHROMEOS)
« no previous file with comments | « no previous file | ash/common/system/status_area_widget.cc » ('j') | ash/common/system/status_area_widget.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698