Index: ash/sticky_keys/sticky_keys_overlay.h |
diff --git a/ash/sticky_keys/sticky_keys_overlay.h b/ash/sticky_keys/sticky_keys_overlay.h |
index 3ab234645f6f91a3518bb9562a84c42b8df56dd0..63917941a4c4bfe872d9b88ca35efa0bc5f69513 100644 |
--- a/ash/sticky_keys/sticky_keys_overlay.h |
+++ b/ash/sticky_keys/sticky_keys_overlay.h |
@@ -51,10 +51,6 @@ |
// 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 @@ |
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_; |
}; |