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
ash / public / cpp / back_gesture_contextual_nudge_delegate.h [blame]
// Copyright 2020 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_BACK_GESTURE_CONTEXTUAL_NUDGE_DELEGATE_H_
#define ASH_PUBLIC_CPP_BACK_GESTURE_CONTEXTUAL_NUDGE_DELEGATE_H_
#include "ash/public/cpp/ash_public_export.h"
namespace aura {
class Window;
}
namespace ash {
// Used by BackGestureContextualNudgeController to communicate with chrome
// side BackGestureContextualNudgeDelegate.
class ASH_PUBLIC_EXPORT BackGestureContextualNudgeDelegate {
public:
BackGestureContextualNudgeDelegate() = default;
virtual ~BackGestureContextualNudgeDelegate() = default;
// Starts tracking navigation status for |window| if applicable.
virtual void MaybeStartTrackingNavigation(aura::Window* window) = 0;
};
} // namespace ash
#endif // ASH_PUBLIC_CPP_BACK_GESTURE_CONTEXTUAL_NUDGE_DELEGATE_H_