| Index: ash/common/system/chromeos/palette/palette_tray.cc
|
| diff --git a/ash/common/system/chromeos/palette/palette_tray.cc b/ash/common/system/chromeos/palette/palette_tray.cc
|
| index 80ecc3bb8117eda76ff491066ee15d2dd80d69b0..68cd077bbacbd5762762383da9a56a168db942ca 100644
|
| --- a/ash/common/system/chromeos/palette/palette_tray.cc
|
| +++ b/ash/common/system/chromeos/palette/palette_tray.cc
|
| @@ -220,6 +220,13 @@ bool PaletteTray::ShowPalette() {
|
| return true;
|
| }
|
|
|
| +bool PaletteTray::ContainsPointInScreen(const gfx::Point& point) {
|
| + if (icon_ && icon_->GetBoundsInScreen().Contains(point))
|
| + return true;
|
| +
|
| + return bubble_ && bubble_->bubble_view()->GetBoundsInScreen().Contains(point);
|
| +}
|
| +
|
| void PaletteTray::AddToolsToView(views::View* host) {
|
| std::vector<PaletteToolView> views = palette_tool_manager_->CreateViews();
|
| for (const PaletteToolView& view : views)
|
|
|