Index: ash/shelf/shelf_widget.h |
diff --git a/ash/shelf/shelf_widget.h b/ash/shelf/shelf_widget.h |
index 62856648eca99d842ce1ed3d9b8425d60f04ac08..e7cbcf129bf5d127fce54a3da5f0f755f0ef9ec4 100644 |
--- a/ash/shelf/shelf_widget.h |
+++ b/ash/shelf/shelf_widget.h |
@@ -91,6 +91,10 @@ class ASH_EXPORT ShelfWidget : public views::Widget, |
// no dimmer active, the function will return -1. |
int GetDimmingAlphaForTest(); |
+ // A function to test the bounds of the dimming bar. Returns gfx::Rect() if |
+ // the dimmer is inactive. |
+ gfx::Rect GetDimmerBoundsForTest(); |
+ |
// Disable dimming animations for running tests. |
void DisableDimmingAnimationsForTest(); |