| Index: ash/system/palette/palette_utils.h
|
| diff --git a/ash/system/palette/palette_utils.h b/ash/system/palette/palette_utils.h
|
| index 1137f90ef9eec461662498851c188bf0e6bee427..52d179b3333272fc79b1dbaa55f9ba2d6e115efd 100644
|
| --- a/ash/system/palette/palette_utils.h
|
| +++ b/ash/system/palette/palette_utils.h
|
| @@ -22,6 +22,11 @@ ASH_EXPORT bool HasStylusInput();
|
| // Returns true if the palette should be shown on every display.
|
| ASH_EXPORT bool IsPaletteEnabledOnEveryDisplay();
|
|
|
| +// Returns true if the palette should be shown to the user. This happens when:
|
| +// there is a stylus input, there is an internal display, and the user has not
|
| +// disabled it in settings. This can be overridden by passing switches.
|
| +ASH_EXPORT bool ShouldShowPalette();
|
| +
|
| // 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);
|
|
|