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

Side by Side Diff: chrome/browser/ui/tabs/dock_info.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_UI_TABS_DOCK_INFO_H_ 5 #ifndef CHROME_BROWSER_UI_TABS_DOCK_INFO_H_
6 #define CHROME_BROWSER_UI_TABS_DOCK_INFO_H_ 6 #define CHROME_BROWSER_UI_TABS_DOCK_INFO_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "chrome/browser/ui/host_desktop.h" 10 #include "chrome/browser/ui/host_desktop.h"
11 #include "ui/gfx/geometry/point.h" 11 #include "ui/gfx/geometry/point.h"
12 #include "ui/gfx/geometry/rect.h"
12 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
13 #include "ui/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
17 // DockInfo whose type indicates the type of dock that should occur based 17 // DockInfo whose type indicates the type of dock that should occur based
18 // on the screen location. As the user drags the mouse around invoke 18 // on the screen location. As the user drags the mouse around invoke
19 // IsValidForPoint, this returns true if the DockInfo is still valid for the 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 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 21 // get the new DockInfo. Use GetNewWindowBounds to get the position to place
22 // the new window at. 22 // the new window at.
23 // 23 //
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void SizeOtherWindowTo(const gfx::Rect& bounds) const; 160 void SizeOtherWindowTo(const gfx::Rect& bounds) const;
161 161
162 Type type_; 162 Type type_;
163 gfx::NativeWindow window_; 163 gfx::NativeWindow window_;
164 gfx::Point hot_spot_; 164 gfx::Point hot_spot_;
165 gfx::Rect monitor_bounds_; 165 gfx::Rect monitor_bounds_;
166 bool in_enable_area_; 166 bool in_enable_area_;
167 }; 167 };
168 168
169 #endif // CHROME_BROWSER_UI_TABS_DOCK_INFO_H_ 169 #endif // CHROME_BROWSER_UI_TABS_DOCK_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/stacked_panel_drag_handler.cc ('k') | chrome/browser/ui/toolbar/wrench_icon_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698