diff options
Diffstat (limited to 'ash/sticky_keys/sticky_keys_overlay.h')
-rw-r--r-- | ash/sticky_keys/sticky_keys_overlay.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ash/sticky_keys/sticky_keys_overlay.h b/ash/sticky_keys/sticky_keys_overlay.h index 3ab23464..6391794 100644 --- a/ash/sticky_keys/sticky_keys_overlay.h +++ b/ash/sticky_keys/sticky_keys_overlay.h @@ -51,10 +51,6 @@ class ASH_EXPORT StickyKeysOverlay : public ui::LayerAnimationObserver { // animating, the returned value is the target of the animation. bool is_visible() { return is_visible_; } - // Returns the underlying views::Widget for testing purposes. The returned - // widget is owned by StickyKeysOverlay. - views::Widget* GetWidgetForTesting(); - private: // Returns the current bounds of the overlay, which is based on visibility. gfx::Rect CalculateOverlayBounds(); @@ -66,7 +62,7 @@ class ASH_EXPORT StickyKeysOverlay : public ui::LayerAnimationObserver { bool is_visible_; scoped_ptr<views::Widget> overlay_widget_; - // The |overlay_view_| will be owned by |overlay_widget_|. + // Ownership of |overlay_view_| is passed to the view heirarchy. StickyKeysOverlayView* overlay_view_; gfx::Size widget_size_; }; |