Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(828)

Unified Diff: ash/system/palette/palette_utils.h

Issue 2825383003: Fix stylus tools palette. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..152320d31dfffc7ceca4c17c43e5dad06b2eac33 100644
--- a/ash/system/palette/palette_utils.h
+++ b/ash/system/palette/palette_utils.h
@@ -22,6 +22,9 @@ ASH_EXPORT bool HasStylusInput();
// Returns true if the palette should be shown on every display.
ASH_EXPORT bool IsPaletteEnabledOnEveryDisplay();
+// Returns true if we should create palette.
+ASH_EXPORT bool ShouldCreatePalette();
+
// 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);

Powered by Google App Engine
This is Rietveld 408576698