Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / ash / test / test_overlay_delegate.cc
blob404e90988b54acb1c078ba0e7e8c1dc980c19265
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 #include "ash/test/test_overlay_delegate.h"
7 namespace ash {
8 namespace test {
10 TestOverlayDelegate::TestOverlayDelegate()
11 : cancel_count_(0) {}
12 TestOverlayDelegate::~TestOverlayDelegate() {}
14 int TestOverlayDelegate::GetCancelCountAndReset() {
15 int count = cancel_count_;
16 cancel_count_ = 0;
17 return count;
20 void TestOverlayDelegate::Cancel() {
21 ++cancel_count_;
24 bool TestOverlayDelegate::IsCancelingKeyEvent(ui::KeyEvent* event) {
25 return false;
28 aura::Window* TestOverlayDelegate::GetWindow() {
29 return NULL;
32 } // namespace test
33 } // namespace ash