Home | History | Annotate | Download | only in tabs

Lines Matching refs:DockInfo

15 // DockInfo is used to do determine possible dock locations for a dragged
16 // tab. To use DockInfo invoke GetDockInfoAtPoint. This returns a new
17 // DockInfo whose type indicates the type of dock that should occur based
19 // IsValidForPoint, this returns true if the DockInfo is still valid for the
20 // new location. If the DockInfo is not valid, invoke GetDockInfoAtPoint to
21 // get the new DockInfo. Use GetNewWindowBounds to get the position to place
25 class DockInfo {
29 virtual DockInfo GetDockInfoAtPoint(
62 DockInfo() : type_(NONE), window_(NULL), in_enable_area_(false) {}
76 DockInfo::Type type,
86 // Returns the DockInfo for the specified point |screen_point|. |ignore|
91 // DockInfo has a type of NONE.
94 // Factory to determine the DockInfo.
95 static DockInfo GetDockInfoAtPoint(const gfx::Point& screen_point,
104 // Factory to determine the DockInfo.
109 // Returns true if this DockInfo is valid for the specified point. This
146 // Returns true if the drop should result in docking. DockInfo maintains two
161 bool equals(const DockInfo& other) const {