OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_DOCK_INFO_H_ | 5 #ifndef CHROME_BROWSER_UI_TABS_DOCK_INFO_H_ |
6 #define CHROME_BROWSER_DOCK_INFO_H_ | 6 #define CHROME_BROWSER_UI_TABS_DOCK_INFO_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "gfx/native_widget_types.h" | 11 #include "gfx/native_widget_types.h" |
12 #include "gfx/point.h" | 12 #include "gfx/point.h" |
13 #include "gfx/rect.h" | 13 #include "gfx/rect.h" |
14 | 14 |
15 // DockInfo is used to do determine possible dock locations for a dragged | 15 // DockInfo is used to do determine possible dock locations for a dragged |
16 // tab. To use DockInfo invoke GetDockInfoAtPoint. This returns a new | 16 // tab. To use DockInfo invoke GetDockInfoAtPoint. This returns a new |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 gfx::NativeWindow window_; | 180 gfx::NativeWindow window_; |
181 gfx::Point hot_spot_; | 181 gfx::Point hot_spot_; |
182 gfx::Rect monitor_bounds_; | 182 gfx::Rect monitor_bounds_; |
183 bool in_enable_area_; | 183 bool in_enable_area_; |
184 | 184 |
185 // Factory that creates DockInfos. By default this is NULL, which gives the | 185 // Factory that creates DockInfos. By default this is NULL, which gives the |
186 // default behavior. | 186 // default behavior. |
187 static Factory* factory_; | 187 static Factory* factory_; |
188 }; | 188 }; |
189 | 189 |
190 #endif // CHROME_BROWSER_DOCK_INFO_H_ | 190 #endif // CHROME_BROWSER_UI_TABS_DOCK_INFO_H_ |
OLD | NEW |