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..c8da1683c2640e761597ddf0b2910415a586ae32 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 |
@@ -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 (in screen space). |
+ASH_EXPORT bool PaletteContainsPointInScreen(const gfx::Point& point); |
James Cook
2016/09/06 16:16:32
optional nit: Do you anticipate using this functio
jdufault
2016/09/07 22:39:06
Yep, it will be used by the laser pointer.
|
+ |
} // namespace ash |
#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_UTILS_H_ |