Home | History | Annotate | Download | only in tabs
      1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_TYPES_H_
      6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_TYPES_H_
      7 
      8 // Enum passed to EndDrag().
      9 enum EndDragReason {
     10   // Complete the drag.
     11   END_DRAG_COMPLETE,
     12 
     13   // Cancel/revert the drag.
     14   END_DRAG_CANCEL,
     15 
     16   // The drag should end as the result of a capture lost.
     17   END_DRAG_CAPTURE_LOST,
     18 };
     19 
     20 // Source of the call to CloseTab().
     21 enum CloseTabSource {
     22   CLOSE_TAB_FROM_MOUSE,
     23   CLOSE_TAB_FROM_TOUCH,
     24 };
     25 
     26 #endif  // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_TYPES_H_
     27