test_event_rewriter_continuation.h 943 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2020 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 UI_EVENTS_TEST_TEST_EVENT_REWRITER_CONTINUATION_H_
  5. #define UI_EVENTS_TEST_TEST_EVENT_REWRITER_CONTINUATION_H_
  6. #include "ui/events/event_rewriter_continuation.h"
  7. namespace ui {
  8. namespace test {
  9. // This interface exposes EventRewriterContinuation interface to
  10. // test code outside of ui/events.
  11. class TestEventRewriterContinuation : public ui::EventRewriterContinuation {
  12. public:
  13. TestEventRewriterContinuation() = default;
  14. TestEventRewriterContinuation(const TestEventRewriterContinuation&) = delete;
  15. TestEventRewriterContinuation& operator=(
  16. const TestEventRewriterContinuation&) = delete;
  17. ~TestEventRewriterContinuation() override = default;
  18. };
  19. } // namespace test
  20. } // namespace ui
  21. #endif // UI_EVENTS_TEST_TEST_EVENT_REWRITER_CONTINUATION_H_