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

Unified Diff: ash/launcher/launcher_button_host.h

Issue 57453002: ash: Rename LauncherButtonHost to ShelfButtonHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/shelf/alternate_app_list_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_button_host.h
diff --git a/ash/launcher/launcher_button_host.h b/ash/launcher/launcher_button_host.h
deleted file mode 100644
index 46f2e593a2d11bdace2b260a8762a25d1be2f6bb..0000000000000000000000000000000000000000
--- a/ash/launcher/launcher_button_host.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) 2012 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_LAUNCHER_LAUNCHER_BUTTON_HOST_H_
-#define ASH_LAUNCHER_LAUNCHER_BUTTON_HOST_H_
-
-#include "ash/ash_export.h"
-#include "base/strings/string16.h"
-
-namespace ui {
-class LocatedEvent;
-}
-
-namespace views {
-class View;
-}
-
-namespace ash {
-namespace internal {
-
-// The launcher buttons communicate back to the host by way of this interface.
-// This interface is used to enable reordering the items on the launcher.
-class ASH_EXPORT LauncherButtonHost {
- public:
- enum Pointer {
- NONE,
- DRAG_AND_DROP,
- MOUSE,
- TOUCH,
- };
-
- // Invoked when a pointer device is pressed on a view.
- virtual void PointerPressedOnButton(views::View* view,
- Pointer pointer,
- const ui::LocatedEvent& event) = 0;
-
- // Invoked when a pointer device is dragged over a view.
- virtual void PointerDraggedOnButton(views::View* view,
- Pointer pointer,
- const ui::LocatedEvent& event) = 0;
-
- // Invoked either if a pointer device is released or mouse capture canceled.
- virtual void PointerReleasedOnButton(views::View* view,
- Pointer pointer,
- bool canceled) = 0;
-
- // Invoked when the mouse moves on the item.
- virtual void MouseMovedOverButton(views::View* view) = 0;
-
- // Invoked when the mouse enters the item.
- virtual void MouseEnteredButton(views::View* view) = 0;
-
- // Invoked when the mouse exits the item.
- virtual void MouseExitedButton(views::View* view) = 0;
-
- // Invoked to get the accessible name of the item.
- virtual base::string16 GetAccessibleName(const views::View* view) = 0;
-
- protected:
- virtual ~LauncherButtonHost() {}
-};
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_LAUNCHER_LAUNCHER_BUTTON_HOST_H_
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/shelf/alternate_app_list_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698