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

Unified Diff: ash/common/system/chromeos/palette/tools/laser_pointer_mode.h

Issue 2204753002: palette-tool-laser-pointer boilerplate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@note-options
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/system/chromeos/palette/tools/laser_pointer_mode.h
diff --git a/ash/common/system/chromeos/palette/tools/laser_pointer_mode.h b/ash/common/system/chromeos/palette/tools/laser_pointer_mode.h
new file mode 100644
index 0000000000000000000000000000000000000000..59a8cb46a39c00c981633c9b4dd3287783836286
--- /dev/null
+++ b/ash/common/system/chromeos/palette/tools/laser_pointer_mode.h
@@ -0,0 +1,31 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_LASER_POINTER_MODE_H_
+#define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_LASER_POINTER_MODE_H_
+
+#include "ash/common/system/chromeos/palette/common_palette_tool.h"
+
+namespace ash {
+
+class LaserPointerMode : public CommonPaletteTool {
+ public:
+ explicit LaserPointerMode(Delegate* delegate);
+ ~LaserPointerMode() override;
+
+ private:
+ // PaletteTool overrides.
+ PaletteGroup GetGroup() const override;
+ PaletteToolId GetToolId() const override;
+ gfx::VectorIconId GetActiveTrayIcon() override;
+
+ // CommonPaletteTool overrides.
+ gfx::VectorIconId GetPaletteIconId() override;
+
+ DISALLOW_COPY_AND_ASSIGN(LaserPointerMode);
+};
+
+} // namespace ash
+
+#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_LASER_POINTER_MODE_H_
« no previous file with comments | « ash/common/system/chromeos/palette/palette_tool.cc ('k') | ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698