| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // Cancels the partial screenshot UI. Do nothing if it's not activated. | 52 // Cancels the partial screenshot UI. Do nothing if it's not activated. |
| 53 void Cancel(); | 53 void Cancel(); |
| 54 | 54 |
| 55 // Returns true if it's currently active. | 55 // Returns true if it's currently active. |
| 56 bool IsActive(); | 56 bool IsActive(); |
| 57 | 57 |
| 58 // ui::EventHandler overrides: | 58 // ui::EventHandler overrides: |
| 59 void OnKeyEvent(ui::KeyEvent* event) override; | 59 void OnKeyEvent(ui::KeyEvent* event) override; |
| 60 | 60 |
| 61 // ShellObserver overrides: | 61 // ShellObserver overrides: |
| 62 void OnLoginStateChanged(user::LoginStatus status) override; | 62 void OnLoginStateChanged(LoginStatus status) override; |
| 63 void OnAppTerminating() override; | 63 void OnAppTerminating() override; |
| 64 void OnLockStateChanged(bool locked) override; | 64 void OnLockStateChanged(bool locked) override; |
| 65 | 65 |
| 66 private: | 66 private: |
| 67 Delegate* delegate_; | 67 Delegate* delegate_; |
| 68 | 68 |
| 69 DISALLOW_COPY_AND_ASSIGN(OverlayEventFilter); | 69 DISALLOW_COPY_AND_ASSIGN(OverlayEventFilter); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace ash | 72 } // namespace ash |
| 73 | 73 |
| 74 #endif // ASH_WM_OVERLAY_EVENT_FILTER_H_ | 74 #endif // ASH_WM_OVERLAY_EVENT_FILTER_H_ |
| OLD | NEW |