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

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

Issue 2269383002: Magnifier border is now more visible on light backgrounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 4 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/capture_region_action.h
diff --git a/ash/common/system/chromeos/palette/tools/capture_region_action.h b/ash/common/system/chromeos/palette/tools/capture_region_action.h
new file mode 100644
index 0000000000000000000000000000000000000000..a40365604811a8e13956f279c345c80d53fa41cf
--- /dev/null
+++ b/ash/common/system/chromeos/palette/tools/capture_region_action.h
@@ -0,0 +1,33 @@
+// 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_CAPTURE_REGION_ACTION_H_
+#define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_REGION_ACTION_H_
+
+#include "ash/ash_export.h"
+#include "ash/common/system/chromeos/palette/common_palette_tool.h"
+
+namespace ash {
+
+class ASH_EXPORT CaptureRegionAction : public CommonPaletteTool {
+ public:
+ explicit CaptureRegionAction(Delegate* delegate);
+ ~CaptureRegionAction() override;
+
+ private:
+ // PaletteTool:
+ PaletteGroup GetGroup() const override;
+ PaletteToolId GetToolId() const override;
+ void OnEnable() override;
+ views::View* CreateView() override;
+
+ // CommonPaletteTool:
+ gfx::VectorIconId GetPaletteIconId() override;
+
+ DISALLOW_COPY_AND_ASSIGN(CaptureRegionAction);
+};
+
+} // namespace ash
+
+#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_REGION_ACTION_H_

Powered by Google App Engine
This is Rietveld 408576698