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
ash / public / cpp / debug_delegate.h [blame]
// Copyright 2024 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_PUBLIC_CPP_DEBUG_DELEGATE_H_
#define ASH_PUBLIC_CPP_DEBUG_DELEGATE_H_
#include "ash/public/cpp/ash_public_export.h"
namespace ash {
// An interface used to listen to debug related events in Ash.
class ASH_PUBLIC_EXPORT DebugDelegate {
public:
// Prints ui::Layer hierarchy for all browser windows.
virtual void PrintLayerHierarchy() = 0;
// Prints aura::Window hierarchy for all browser windows.
virtual void PrintWindowHierarchy() = 0;
// Prints view::View hierarchy for all browser windows.
virtual void PrintViewHierarchy() = 0;
};
} // namespace ash
#endif // ASH_PUBLIC_CPP_DEBUG_DELEGATE_H_