Index: ash/common/system/chromeos/palette/palette_utils.h |
diff --git a/ash/common/system/chromeos/palette/palette_utils.h b/ash/common/system/chromeos/palette/palette_utils.h |
index f9fde489865b74bcd15e37a8e7b614fac97e6236..47c5bab46102c3de376c50b935b6d99852106523 100644 |
--- a/ash/common/system/chromeos/palette/palette_utils.h |
+++ b/ash/common/system/chromeos/palette/palette_utils.h |
@@ -7,6 +7,10 @@ |
#include "ash/ash_export.h" |
+namespace gfx { |
+class Point; |
+} |
+ |
namespace ash { |
// Returns true if the palette feature is enabled. The palette itself may have |
@@ -19,6 +23,10 @@ ASH_EXPORT bool ArePaletteExperimentalFeaturesEnabled(); |
// Returns true if the palette should be shown on every display. |
ASH_EXPORT bool IsPaletteEnabledOnEveryDisplay(); |
+// Returns true if either the palette icon or the palette widget contain the |
+// given point (in screen space). |
+ASH_EXPORT bool PaletteContainsPointInScreen(const gfx::Point& point); |
+ |
} // namespace ash |
#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_ |