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

Unified Diff: ash/common/system/chromeos/palette/palette_ids.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 10 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/palette_ids.h
diff --git a/ash/common/system/chromeos/palette/palette_ids.h b/ash/common/system/chromeos/palette/palette_ids.h
deleted file mode 100644
index a5693f703ae9b6c93d60bf30b6d90491858a5131..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/palette/palette_ids.h
+++ /dev/null
@@ -1,68 +0,0 @@
-// 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_PALETTE_IDS_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_
-
-#include <string>
-
-#include "ash/ash_export.h"
-
-namespace ash {
-
-// Palette tools are grouped into different categories. Each tool corresponds to
-// exactly one group, and at most one tool can be active per group. Actions are
-// actions the user wants to do, such as take a screenshot, and modes generally
-// change OS behavior, like showing a laser pointer instead of a cursor. A mode
-// is active until the user completes the action or disables it.
-enum class PaletteGroup { ACTION, MODE };
-
-enum class PaletteToolId {
- NONE,
- CREATE_NOTE,
- CAPTURE_REGION,
- CAPTURE_SCREEN,
- LASER_POINTER,
- MAGNIFY,
-};
-
-// Usage of each pen palette option. This enum is used to back an UMA histogram
-// and should be treated as append-only.
-enum PaletteTrayOptions {
- PALETTE_CLOSED_NO_ACTION = 0,
- PALETTE_SETTINGS_BUTTON,
- PALETTE_HELP_BUTTON,
- PALETTE_CAPTURE_REGION,
- PALETTE_CAPTURE_SCREEN,
- PALETTE_NEW_NOTE,
- PALETTE_MAGNIFY,
- PALETTE_LASER_POINTER,
- PALETTE_OPTIONS_COUNT
-};
-
-// Type of palette mode cancellation. This enum is used to back an UMA histogram
-// and should be treated as append-only.
-enum PaletteModeCancelType {
- PALETTE_MODE_LASER_POINTER_CANCELLED = 0,
- PALETTE_MODE_LASER_POINTER_SWITCHED,
- PALETTE_MODE_MAGNIFY_CANCELLED,
- PALETTE_MODE_MAGNIFY_SWITCHED,
- PALETTE_MODE_CANCEL_TYPE_COUNT
-};
-
-// Helper functions that convert PaletteToolIds and PaletteGroups to strings.
-ASH_EXPORT std::string PaletteToolIdToString(PaletteToolId tool_id);
-ASH_EXPORT std::string PaletteGroupToString(PaletteGroup group);
-
-// Helper functions that convert PaletteToolIds to PaletteTrayOptions.
-ASH_EXPORT PaletteTrayOptions
-PaletteToolIdToPaletteTrayOptions(PaletteToolId tool_id);
-
-// Helper functions that convert PaletteToolIds to PaletteModeCancelType.
-ASH_EXPORT PaletteModeCancelType
-PaletteToolIdToPaletteModeCancelType(PaletteToolId tool_id, bool is_switched);
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_
« no previous file with comments | « ash/common/system/chromeos/palette/mock_palette_tool_delegate.cc ('k') | ash/common/system/chromeos/palette/palette_ids.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698