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

Side by Side Diff: ash/common/system/chromeos/palette/palette_tool.cc

Issue 2140343002: Add palette tool/manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stylus-add-icons
Patch Set: Remove base::Optional, use VECTOR_ICON_NONE instead Created 4 years, 5 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 unified diff | Download patch
OLDNEW
(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 #include "ui/gfx/vector_icons_public.h"
9
10 namespace ash {
11
12 // static
13 void PaletteTool::RegisterToolInstances(PaletteToolManager* tool_manager) {}
14
15 PaletteTool::PaletteTool(Delegate* delegate) : delegate_(delegate) {}
16
17 PaletteTool::~PaletteTool() {}
18
19 void PaletteTool::OnEnable() {
20 enabled_ = true;
21 }
22
23 void PaletteTool::OnDisable() {
24 enabled_ = false;
25 }
26
27 gfx::VectorIconId PaletteTool::GetActiveTrayIcon() {
28 return gfx::VectorIconId::VECTOR_ICON_NONE;
29 }
30
31 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/palette/palette_tool.h ('k') | ash/common/system/chromeos/palette/palette_tool_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698