[webcrypto] Implement RSA-PSS using BoringSSL.
[chromium-blink-merge.git] / ash / test / test_overlay_delegate.h
blob150374a2956e649720ccc338e31e18ac4519784d
1 // Copyright 2014 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.
5 #ifndef ASH_TEST_TEST_OVERLAY_DELEGATE_H_
6 #define ASH_TEST_TEST_OVERLAY_DELEGATE_H_
8 #include "ash/wm/overlay_event_filter.h"
10 namespace ash {
11 namespace test {
13 class TestOverlayDelegate : public OverlayEventFilter::Delegate {
14 public:
15 TestOverlayDelegate();
16 virtual ~TestOverlayDelegate();
18 int GetCancelCountAndReset();
20 private:
21 // Overridden from OverlayEventFilter::Delegate:
22 virtual void Cancel() override;
23 virtual bool IsCancelingKeyEvent(ui::KeyEvent* event) override;
24 virtual aura::Window* GetWindow() override;
26 int cancel_count_;
28 DISALLOW_COPY_AND_ASSIGN(TestOverlayDelegate);
31 } // namespace test
32 } // namespace ash
34 #endif // ASH_TEST_TEST_OVERLAY_DELEGATE_H_