Avi Drissman | 3a215d1e | 2022-09-07 19:43:09 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors |
wutao | 5f87dd9 | 2019-11-06 01:17:22 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef ASH_ASSISTANT_ASSISTANT_WEB_VIEW_DELEGATE_IMPL_H_ |
| 6 | #define ASH_ASSISTANT_ASSISTANT_WEB_VIEW_DELEGATE_IMPL_H_ |
| 7 | |
| 8 | #include "ash/assistant/ui/assistant_web_view_delegate.h" |
wutao | 5f87dd9 | 2019-11-06 01:17:22 | [diff] [blame] | 9 | |
| 10 | namespace ash { |
| 11 | |
| 12 | class AssistantWebViewDelegateImpl : public AssistantWebViewDelegate { |
| 13 | public: |
| 14 | AssistantWebViewDelegateImpl(); |
Peter Boström | ec31a04 | 2021-09-16 23:37:34 | [diff] [blame] | 15 | |
| 16 | AssistantWebViewDelegateImpl(const AssistantWebViewDelegateImpl&) = delete; |
| 17 | AssistantWebViewDelegateImpl& operator=(const AssistantWebViewDelegateImpl&) = |
| 18 | delete; |
| 19 | |
wutao | 5f87dd9 | 2019-11-06 01:17:22 | [diff] [blame] | 20 | ~AssistantWebViewDelegateImpl() override; |
| 21 | |
| 22 | // AssistantWebViewDelegate: |
| 23 | void UpdateBackButtonVisibility(views::Widget* widget, |
| 24 | bool visibility) override; |
wutao | 5f87dd9 | 2019-11-06 01:17:22 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | } // namespace ash |
| 28 | |
| 29 | #endif // ASH_ASSISTANT_ASSISTANT_WEB_VIEW_DELEGATE_IMPL_H_ |