| Index: ash/common/system/chromeos/palette/palette_tray.h
|
| diff --git a/ash/common/system/chromeos/palette/palette_tray.h b/ash/common/system/chromeos/palette/palette_tray.h
|
| index ad5dd9ecc66edda9425a804b3885bb8130a5861f..a4b929be11f0378706c2dc683a933c626429be19 100644
|
| --- a/ash/common/system/chromeos/palette/palette_tray.h
|
| +++ b/ash/common/system/chromeos/palette/palette_tray.h
|
| @@ -17,6 +17,10 @@
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
|
|
| +namespace gfx {
|
| +class Point;
|
| +}
|
| +
|
| namespace views {
|
| class ImageView;
|
| class Widget;
|
| @@ -65,6 +69,10 @@ class ASH_EXPORT PaletteTray : public TrayBackgroundView,
|
| // was opened.
|
| bool ShowPalette();
|
|
|
| + // Returns true if the palette tray contains the given point. This is useful
|
| + // for determining if an event should be propagated through to the palette.
|
| + bool ContainsPointInScreen(const gfx::Point& point);
|
| +
|
| private:
|
| // views::TrayBubbleView::Delegate:
|
| void BubbleViewDestroyed() override;
|
|
|