| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ash/common/system/chromeos/palette/palette_tool.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 |
| 9 namespace ash { |
| 10 |
| 11 // static |
| 12 void PaletteTool::RegisterToolInstances(PaletteToolManager* tool_manager) {} |
| 13 |
| 14 PaletteTool::PaletteTool(Delegate* delegate) : delegate_(delegate) {} |
| 15 |
| 16 PaletteTool::~PaletteTool() {} |
| 17 |
| 18 void PaletteTool::OnEnable() { |
| 19 enabled_ = true; |
| 20 } |
| 21 |
| 22 void PaletteTool::OnDisable() { |
| 23 enabled_ = false; |
| 24 } |
| 25 |
| 26 base::Optional<gfx::VectorIconId> PaletteTool::GetActiveTrayIcon() { |
| 27 return base::Optional<gfx::VectorIconId>(); |
| 28 } |
| 29 |
| 30 } // namespace ash |
| OLD | NEW |