blob: 1a8d36acec18046c7196bd24e4659536fd8f8e3a [file] [log] [blame]
// 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 CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_TYPES_H_
#define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_TYPES_H_
// Enum passed to EndDrag().
enum EndDragReason {
// Complete the drag.
END_DRAG_COMPLETE,
// Cancel/revert the drag.
END_DRAG_CANCEL,
// The drag should end as the result of a capture lost.
END_DRAG_CAPTURE_LOST,
};
// Source of the call to CloseTab().
enum CloseTabSource {
CLOSE_TAB_FROM_MOUSE,
CLOSE_TAB_FROM_TOUCH,
};
#endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_TYPES_H_