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 dd7d1db018e02adad737a94f7bde37b0d474e02a..eba1ae2109c2e313a328274e91756bae715729e7 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 ui { |
+class LocatedEvent; |
+} |
+ |
namespace ash { |
// Returns true if the palette feature is enabled. The palette itself may have |
@@ -16,6 +20,10 @@ ASH_EXPORT bool IsPaletteFeatureEnabled(); |
// Are experimental palette features enabled? |
ASH_EXPORT bool ArePaletteExperimentalFeaturesEnabled(); |
+// Returns true if either the palette icon or the palette widget contain the |
+// given point. |
+ASH_EXPORT bool PaletteContainsEvent(ui::LocatedEvent* event); |
+ |
} // namespace ash |
#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_ |