assistant_web_view_delegate_impl.h 928 B

1234567891011121314151617181920212223242526272829
  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. #ifndef ASH_ASSISTANT_ASSISTANT_WEB_VIEW_DELEGATE_IMPL_H_
  5. #define ASH_ASSISTANT_ASSISTANT_WEB_VIEW_DELEGATE_IMPL_H_
  6. #include "ash/assistant/ui/assistant_web_view_delegate.h"
  7. namespace ash {
  8. class AssistantWebViewDelegateImpl : public AssistantWebViewDelegate {
  9. public:
  10. AssistantWebViewDelegateImpl();
  11. AssistantWebViewDelegateImpl(const AssistantWebViewDelegateImpl&) = delete;
  12. AssistantWebViewDelegateImpl& operator=(const AssistantWebViewDelegateImpl&) =
  13. delete;
  14. ~AssistantWebViewDelegateImpl() override;
  15. // AssistantWebViewDelegate:
  16. void UpdateBackButtonVisibility(views::Widget* widget,
  17. bool visibility) override;
  18. };
  19. } // namespace ash
  20. #endif // ASH_ASSISTANT_ASSISTANT_WEB_VIEW_DELEGATE_IMPL_H_