| Index: ash/wm/overlay_event_filter.h
|
| diff --git a/ash/wm/overlay_event_filter.h b/ash/wm/overlay_event_filter.h
|
| index 7787c45b1e447b360a69cc5b60e8f72fe90f2d14..c46215300426b7ee91813c1be98fc01d87b97774 100644
|
| --- a/ash/wm/overlay_event_filter.h
|
| +++ b/ash/wm/overlay_event_filter.h
|
| @@ -46,11 +46,14 @@ class ASH_EXPORT OverlayEventFilter : public ui::EventHandler,
|
| void Activate(Delegate* delegate);
|
|
|
| // Ends the filtering of events.
|
| - void Deactivate();
|
| + void Deactivate(Delegate* delegate);
|
|
|
| // Cancels the partial screenshot UI. Do nothing if it's not activated.
|
| void Cancel();
|
|
|
| + // Returns true if it's currently active.
|
| + bool IsActive();
|
| +
|
| // ui::EventHandler overrides:
|
| virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
|
|
|
| @@ -60,6 +63,8 @@ class ASH_EXPORT OverlayEventFilter : public ui::EventHandler,
|
| virtual void OnLockStateChanged(bool locked) OVERRIDE;
|
|
|
| private:
|
| + FRIEND_TEST_ALL_PREFIXES(PartialScreenshotViewTest, DontStartOverOverlay);
|
| +
|
| Delegate* delegate_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(OverlayEventFilter);
|
|
|