OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_WM_OVERLAY_EVENT_FILTER_H_ | 5 #ifndef ASH_WM_OVERLAY_EVENT_FILTER_H_ |
6 #define ASH_WM_OVERLAY_EVENT_FILTER_H_ | 6 #define ASH_WM_OVERLAY_EVENT_FILTER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/shell_observer.h" | 9 #include "ash/shell_observer.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 // ui::EventHandler overrides: | 57 // ui::EventHandler overrides: |
58 void OnKeyEvent(ui::KeyEvent* event) override; | 58 void OnKeyEvent(ui::KeyEvent* event) override; |
59 | 59 |
60 // ShellObserver overrides: | 60 // ShellObserver overrides: |
61 void OnLoginStateChanged(user::LoginStatus status) override; | 61 void OnLoginStateChanged(user::LoginStatus status) override; |
62 void OnAppTerminating() override; | 62 void OnAppTerminating() override; |
63 void OnLockStateChanged(bool locked) override; | 63 void OnLockStateChanged(bool locked) override; |
64 | 64 |
65 private: | 65 private: |
66 FRIEND_TEST_ALL_PREFIXES(PartialScreenshotViewTest, DontStartOverOverlay); | |
67 | |
68 Delegate* delegate_; | 66 Delegate* delegate_; |
69 | 67 |
70 DISALLOW_COPY_AND_ASSIGN(OverlayEventFilter); | 68 DISALLOW_COPY_AND_ASSIGN(OverlayEventFilter); |
71 }; | 69 }; |
72 | 70 |
73 } // namespace ash | 71 } // namespace ash |
74 | 72 |
75 #endif // ASH_WM_OVERLAY_EVENT_FILTER_H_ | 73 #endif // ASH_WM_OVERLAY_EVENT_FILTER_H_ |
OLD | NEW |