wutao | 5f87dd9 | 2019-11-06 01:17:22 | [diff] [blame^] | 1 | // Copyright 2019 The Chromium Authors. All rights reserved. |
| 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" |
| 9 | #include "base/macros.h" |
| 10 | |
| 11 | namespace ash { |
| 12 | |
| 13 | class AssistantWebViewDelegateImpl : public AssistantWebViewDelegate { |
| 14 | public: |
| 15 | AssistantWebViewDelegateImpl(); |
| 16 | ~AssistantWebViewDelegateImpl() override; |
| 17 | |
| 18 | // AssistantWebViewDelegate: |
| 19 | void UpdateBackButtonVisibility(views::Widget* widget, |
| 20 | bool visibility) override; |
| 21 | |
| 22 | private: |
| 23 | DISALLOW_COPY_AND_ASSIGN(AssistantWebViewDelegateImpl); |
| 24 | }; |
| 25 | |
| 26 | } // namespace ash |
| 27 | |
| 28 | #endif // ASH_ASSISTANT_ASSISTANT_WEB_VIEW_DELEGATE_IMPL_H_ |